X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/6f1497828285bd345256d17f8b43850e09bbd549..dba4b0e942e3323491479bae1389a2957875b2c4:/personal/_layouts/page.html?ds=sidebyside diff --git a/personal/_layouts/page.html b/personal/_layouts/page.html index 4208919..911a35a 100644 --- a/personal/_layouts/page.html +++ b/personal/_layouts/page.html @@ -1,54 +1,9 @@ - - +--- +layout: default +--- - - - +
+

{{ page.title }}

+
- {% 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 %} -
- -
- - +{{ content }}