<div class="page">
<h1 class="page-title">404: Page not found</h1>
- <p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="/">Head back home</a> to try finding it again.</p>
+ <p class="lead">Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. <a href="{{ site.baseurl }}/">Head back home</a> to try finding it again.</p>
</div>
</title>
<!-- CSS -->
- <link rel="stylesheet" href="/public/css/poole.css">
- <link rel="stylesheet" href="/public/css/syntax.css">
+ <link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
+ <link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
<!-- Icons -->
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/public/apple-touch-icon-144-precomposed.png">
- <link rel="shortcut icon" href="/public/favicon.ico">
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-144-precomposed.png">
+ <link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
<!-- RSS -->
- <link rel="alternate" type="application/rss+xml" title="RSS" href="/atom.xml">
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/atom.xml">
</head>
<div class="container content">
<div class="masthead">
<h3 class="masthead-title">
- <a href="/" title="Home">{{ site.title }}</a>
+ <a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
<small>{{ site.tagline }}</small>
</h3>
</div>
{% for post in site.related_posts limit:3 %}
<li>
<h3>
- <a href="{{ post.url }}">
+ <a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
<small>{{ post.date | date_to_string }}</small>
</a>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.title }}</title>
- <link href="{{ site.url }}/atom.xml" rel="self"/>
- <link href="{{ site.url }}/"/>
+ <link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/>
+ <link href="{{ site.url }}{{ site.baseurl }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}</id>
<author>
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
- <link href="{{ site.url }}{{ post.url }}"/>
+ <link href="{{ site.url }}{{ site.baseurl }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
- <a href="{{ post.url }}">
+ <a href="{{ site.baseurl }}{{ post.url }}">
{{ post.title }}
</a>
</h1>
<div class="pagination">
{% if paginator.next_page %}
- <a class="pagination-item older" href="/page{{paginator.next_page}}">Older</a>
+ <a class="pagination-item older" href="{{ site.baseurl }}/page{{paginator.next_page}}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
- <a class="pagination-item newer" href="/">Newer</a>
+ <a class="pagination-item newer" href="{{ site.baseurl }}/">Newer</a>
{% else %}
- <a class="pagination-item newer" href="/page{{paginator.previous_page}}">Newer</a>
+ <a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>