X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/c3f35ab1622ecb792dba0ece727f148abf6018fb..786ba69cf608b89606a8c9264bbcaa2e4d94f535:/ralf/_layouts/page.html diff --git a/ralf/_layouts/page.html b/ralf/_layouts/page.html index 99737e0..4208919 100644 --- a/ralf/_layouts/page.html +++ b/ralf/_layouts/page.html @@ -1,17 +1,54 @@ ---- -layout: default ---- -{% if page.pretitle %} -
- {% if page.date %} -
Permalink • {{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}
- {% endif %} -

{{ page.pretitle }}

-
-{% endif %} - -
-

{{ page.title }}

-
- -{{ content }} + + + + + + + + {% 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{% if page.reddit %} or leave a note on reddit{% endif %}!

+ {% endif %} +
+ +
+ +