瀏覽代碼

Add new {{ date }} variable to README

master
Dylan Baker 5 年之前
父節點
當前提交
cc264ed379
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      README.md

+ 1
- 2
README.md 查看文件

84
 |Title                   |Description|
84
 |Title                   |Description|
85
 |------------------------|-----------|
85
 |------------------------|-----------|
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.|
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
 |`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.|
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
 |`post_listing_item.html`|This template determines how each post will appear in the main listing. Variables available include `{{ title }}` and `{{ slug }}`.|
89
 |`post_listing_item.html`|This template determines how each post will appear in the main listing. Variables available include `{{ title }}` and `{{ slug }}`.|

Loading…
取消
儲存