diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/home.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/_layouts/home.html b/_layouts/home.html index 9a2976a..e0e2187 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -6,6 +6,8 @@ layout: default {% for post in paginator.posts %} <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> + {% assign node=post %} + {% include postmeta.html %} {{ post.content | markdownify }} {% endfor %} diff --git a/_layouts/post.html b/_layouts/post.html index aa390ea..d6b9678 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,4 +3,6 @@ layout: default --- <h2>{{ page.title }}</h2> -{{ page.content|markdownify }} +{% assign node=page %} +{% include postmeta.html %} +{{ page.content | markdownify }} |