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: 160 }}">{% endif %}
15 <link rel="stylesheet" href="{{ site.baseurl }}/style.css">
16 <link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url | replace:'index.html','' }}">
17 {% if page.rss %}<link rel="alternate" type="application/rss+xml" title="{{ site.blog.title }}" href="{{ site.baseurl }}/blog/feed.xml" />{% endif %}
20 <body><div id="-frame">
23 {% assign menu = site.pages | menu: page.url %}
24 {% include menu-level.html menu=menu %}
27 <article id="-content">
28 {% comment %} Unfortunately, the variables we set above are not preserved for sub-layouts. So, we have to have all the layout here. {% endcomment %}
30 <header class="pretitle">
32 <div class="side"><a href="{{ site.baseurl }}{{ page.url }}">Permalink</a> • {{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</div>
34 <h1>{{ pretitle }}</h1>
38 <header class="title">