Преглед на файлове

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…
Отказ
Запис