6 <meta name="viewport" content="width=device-width">
8 {% assign title = page.title %}
9 {% assign pretitle = page.pretitle %}
10 {% if page.vars %}{% include {{ page.vars | prepend: "vars/" }} %}{% endif %}
12 <title>{% if pretitle %}{{ pretitle }} • {% endif %}{{ title }}</title>
13 {% if page.excerpt %}<meta name="description" content="{{ page.excerpt | newline_to_br | replace:'<br />',' ' | strip_html | strip_newlines | truncate: 192 }}">{% endif %}
15 <link rel="stylesheet" href="{{ site.baseurl }}/style.css">
16 <link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url }}">
18 <link rel="alternate" type="application/atom+xml" title="{{ site.blog.title }}" href="{{ site.baseurl }}/blog/feed.xml" />
19 {% if page.category %}<link rel="alternate" type="application/atom+xml" title="{{ site.blog.title }} • {{ title }}" href="{{ site.baseurl }}{{ page.url | replace: '.html','.xml' }}" />{% endif %}
23 <body><div id="-frame">
26 {% assign menu = site.pages | menu: page.url %}
27 {% include menu-level.html menu=menu %}
30 <article id="-content">
31 {% comment %} Unfortunately, the variables we set above are not preserved for sub-layouts. So, we have to have all the layout here. {% endcomment %}
33 <header class="pretitle">
35 {% include post-header.html item=page %}
37 <h1>{{ pretitle }}</h1>
41 <header class="title">
48 <p class="comment">Comments? <a href="mailto:post-AT-ralfj-DOT-de">Drop me a mail</a>{% if page.reddit %} or <a href="https://www.reddit.com/r{{ page.reddit }}">leave a note on reddit</a>{% endif %}!</p>