From c59344a2ac4c3aa6e53f1d4299e1a29f0568f3a3 Mon Sep 17 00:00:00 2001 From: Nicolas Kuttler Date: Thu, 12 Feb 2015 17:24:03 +0100 Subject: Refactor includes Includes can pass variables after all. The template language is beginning to feel clumsy. --- _layouts/post.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '_layouts/post.html') 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 ---

{{ page.title }}

-{% assign node=page %} -{% include postmeta.html %} +{% include postmeta.html node=page %} {{ page.content | markdownify }} -- cgit v1.2.3