X-Git-Url: https://git.ralfj.de/web.git/blobdiff_plain/c3f35ab1622ecb792dba0ece727f148abf6018fb..1f0f3080db6e753e81d3c5cc8efccd2894400d61:/ralf/_layouts/default.html?ds=inline diff --git a/ralf/_layouts/default.html b/ralf/_layouts/default.html index 5d27d6c..721c6f0 100644 --- a/ralf/_layouts/default.html +++ b/ralf/_layouts/default.html @@ -5,13 +5,16 @@ - {% if page.pretitle %}{{ page.pretitle }} • {% endif %}{{ page.title }} - {% if page.excerpt %}{% endif %} + {% assign title = page.title %} + {% assign pretitle = page.pretitle %} + {% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %} - - {% capture canonicalurl %}{{ page.url | replace:'index.html','' }}{% endcapture %} - - {% if page.rss %}{% endif %} + {% if pretitle %}{{ pretitle }} • {% endif %}{{ title }} + {% if page.excerpt %}{% endif %} + + + + {% if page.rss %}{% endif %}
@@ -22,7 +25,23 @@
- {{ content }} + {% 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 %}