]> git.bitcoin.ninja Git - blog/commitdiff
Enable relative permalinks and drop the site.baseurl from post links in index
authorMark Otto <markdotto@gmail.com>
Thu, 25 Sep 2014 17:55:36 +0000 (10:55 -0700)
committerMark Otto <markdotto@gmail.com>
Thu, 25 Sep 2014 17:55:36 +0000 (10:55 -0700)
_config.yml
index.html

index 8bd7786eb5dbb986f769ff8cb74c7517cf22a6df..5febafb761c3cf8ddaf93e7c6e9f81e93fb1a8b8 100644 (file)
@@ -4,6 +4,7 @@ highlighter:      pygments
 
 # Permalinks
 permalink:        pretty
+relative_permalinks: true
 
 # Setup
 title:            Poole
index bdd4f4d7d085cfa0b36fe6c3d6e1390a1b981601..edbc6b1ff9da7e18c5a14341956ca515537f8cea 100644 (file)
@@ -7,7 +7,7 @@ title: Home
   {% for post in paginator.posts %}
   <div class="post">
     <h1 class="post-title">
-      <a href="{{ site.baseurl }}{{ post.url }}">
+      <a href="{{ post.url }}">
         {{ post.title }}
       </a>
     </h1>