<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
- <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
+ <title>{{ page.title }}</title>
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}">{% endif %}
<link rel="stylesheet" href="/style.css">
{% capture canonicalurl %}{{ page.url | replace:'index.html','' }}{% endcapture %}
<link rel="canonical" href="{{ canonicalurl | prepend: site.url }}">
- {% if page.rss or page.layout == 'post' %}<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.url }}" />{% endif %}
+ {% if page.rss or page.layout == 'post' %}<link rel="alternate" type="application/rss+xml" title="{{ site.blog.title }}" href="/feed.xml" />{% endif %}
</head>
<body><div id="-frame">
<header id="-title">
- <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1>
+ <h1>{{ page.title }}</h1>
</header>
<nav id="-navi">
- {% include menu-level.html menu=site.structure base="" above=true %}
+ {% assign menu = site.html_pages | menu: page.url %}
+ {% include menu-level.html menu=menu %}
</nav>
<article id="-content">
- {{ content }}
+ {{ content }}
</article>
</div></body>