X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/2cedbd920036c821da952ed585c203699fb499f1..2af997a3ebc742057551ac0de6e750fe728326eb:/ralf/_layouts/page.html diff --git a/ralf/_layouts/page.html b/ralf/_layouts/page.html new file mode 100644 index 0000000..a45f67f --- /dev/null +++ b/ralf/_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 %} +
+ +
+ +