Browse Source

Add new {{ date }} variable to README

master
Dylan Baker 4 years ago
parent
commit
cc264ed379
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      README.md

+ 1
- 2
README.md View File

@@ -84,7 +84,6 @@ These include:
84 84
 |Title                   |Description|
85 85
 |------------------------|-----------|
86 86
 |`layout.html`           |The main layout. All page content gets injected into the `{{ contents }}` variable. The title of the page is available in the `{{ page_title }}` variable.|
87
-|`post.html`             |The template for rendering a single post. Variables available include `{{ title }}` and `{{ body }}`.|
88
-|`page.html`             |The template for rendering a single page. Variables available include `{{ title }}` and `{{ body }}`.|
87
+|`post.html`             |The template for rendering a single post. Variables available include `{{ date }}`, `{{ title }}` and `{{ body }}`.|
89 88
 |`post_listing.html`     |This template is for the list of posts on the index page. The `{{ post_listing }}` variable contains the result of compiling the `post_listing_item.html` template against each post.|
90 89
 |`post_listing_item.html`|This template determines how each post will appear in the main listing. Variables available include `{{ title }}` and `{{ slug }}`.|

Loading…
Cancel
Save