more baseurl changes
authorMark Otto <markdotto@gmail.com>
Sun, 19 Apr 2015 05:44:39 +0000 (22:44 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 19 Apr 2015 05:44:39 +0000 (22:44 -0700)
404.html
_layouts/post.html
atom.xml
index.html

index 9703ba819b75698f1260c1c97b3c81356f38cb96..4bf3f7d8fca35a944e38e273e6ff3da2e292d81b 100644 (file)
--- a/404.html
+++ b/404.html
@@ -6,5 +6,5 @@ permalink: 404.html
 
 <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="{{ site.baseurl }}">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>
index 576bba8579931e47237c9ae51243365787765121..e6ce4621bf9b41e141d14527171daa21199595f3 100644 (file)
@@ -14,7 +14,7 @@ layout: default
     {% for post in site.related_posts limit:3 %}
       <li>
         <h3>
-          <a href="{{ site.baseurl }}{{ post.url }}">
+          <a href="{{ site.baseurl }}/{{ post.url }}">
             {{ post.title }}
             <small><time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date_to_string }}</time></small>
           </a>
index 4dde6d8d34ad3cd3a2b8fbaf16e46ef78ec4dc33..c150126d41f46cff25164c40a7d90500b474029e 100644 (file)
--- a/atom.xml
+++ b/atom.xml
@@ -6,8 +6,8 @@ layout: null
 <feed xmlns="http://www.w3.org/2005/Atom">
 
  <title>{{ site.title }}</title>
- <link href="{{ site.url }}{{ site.baseurl }}/atom.xml" rel="self"/>
- <link href="{{ site.url }}{{ site.baseurl }}"/>
+ <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>
@@ -18,7 +18,7 @@ layout: null
  {% for post in site.posts %}
  <entry>
    <title>{{ post.title }}</title>
-   <link href="{{ site.url }}{{ site.baseurl }}/{{ 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>
index 86bca7bcdcf0bdc739814e8451bf0407dce92f06..a41d8c22da15130ff25f095a130c70c6c817babe 100644 (file)
@@ -27,7 +27,7 @@ title: Home
   {% endif %}
   {% if paginator.previous_page %}
     {% if paginator.page == 2 %}
-      <a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
+      <a class="pagination-item newer" href="{{ site.baseurl }}/">Newer</a>
     {% else %}
       <a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">Newer</a>
     {% endif %}