X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/239eb42465f1fd655a2109eb5e6e5a7b548e1e3e..6680e4573ec412349c1203d35190831d5219e4f9:/personal/_layouts/page.html diff --git a/personal/_layouts/page.html b/personal/_layouts/page.html new file mode 100644 index 0000000..a45f67f --- /dev/null +++ b/personal/_layouts/page.html @@ -0,0 +1,52 @@ + + + + + + + + {% assign title = page.title %} + {% assign pretitle = page.pretitle %} + {% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %} + + {% if pretitle %}{{ pretitle }} • {% endif %}{{ title }} + {% if page.excerpt %}{% endif %} + + + + {% if page.rss %} + + {% if page.category %}{% endif %} + {% endif %} + + +
+ + + +
+ {% comment %} Unfortunately, the variables we set above are not preserved for sub-layouts. So, we have to have all the layout here. {% endcomment %} + {% if pretitle %} +
+ {% if page.post %} + {% include post-header.html item=page %} + {% endif %} +

{{ pretitle }}

+
+ {% endif %} + +
+

{{ title }}

+
+ + {{ content }} + + {% if page.post %}

Comments? Drop me a mail!

{% endif %} +
+ +
+ +