diff options
author | Nicolas Kuttler <git@kuttler.eu> | 2015-02-12 17:24:03 +0100 |
---|---|---|
committer | Nicolas Kuttler <git@kuttler.eu> | 2015-02-12 17:24:03 +0100 |
commit | c59344a2ac4c3aa6e53f1d4299e1a29f0568f3a3 (patch) | |
tree | d41d54517cc7dc37c7fd3d003f8d6bfe69d320c2 /_layouts/post.html | |
parent | 8b7b806819af71d57b35505f05c54d8e216bc1d3 (diff) | |
download | irssi.github.io-c59344a2ac4c3aa6e53f1d4299e1a29f0568f3a3.zip |
Refactor includes
Includes can pass variables after all. The template language is
beginning to feel clumsy.
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index d6b9678..5cf11df 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,6 +3,5 @@ layout: default --- <h2>{{ page.title }}</h2> -{% assign node=page %} -{% include postmeta.html %} +{% include postmeta.html node=page %} {{ page.content | markdownify }} |