Fixed URLs based on the guidelines given in Jekyll documentation at
authorPankaj Jangid <pankaj.jangid@gmail.com>
Sun, 9 Nov 2014 16:22:27 +0000 (21:52 +0530)
committerPankaj Jangid <pankaj.jangid@gmail.com>
Sun, 9 Nov 2014 16:22:27 +0000 (21:52 +0530)
http://jekyllrb.com/docs/github-pages/#project-page-url-structure. Some
links were broken due to this.

_config.yml
_includes/head.html
_layouts/default.html
_posts/2014-01-02-introducing-poole.md
atom.xml
index.html

index 276c57ef4fec55ab51acf8866c6e5dc4530c90d1..49fbc1b6a6998924e53817c356f06df8f1295659 100644 (file)
@@ -7,7 +7,7 @@ title:            Poole
 tagline:          The Jekyll Butler
 url:              http://getpoole.com
 paginate:         1
-baseurl:          /
+basename:         ""
 author:
   name:           Mark Otto
   url:            https://twitter.com/mdo
index 71acc2543475cdb772b7206b6ee1a70495753594..f530a7f2eeb7efb49953aa488f6894da22be2b75 100644 (file)
   </title>
 
   <!-- CSS -->
-  <link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
-  <link rel="stylesheet" href="{{ site.baseurl }}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="{{ site.baseurl }}public/apple-touch-icon-precomposed.png">
-  <link rel="shortcut icon" href="{{ site.baseurl }}public/favicon.ico">
+  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/public/apple-touch-icon-precomposed.png">
+  <link rel="shortcut icon" href="{{ site.baseurl }}/public/favicon.ico">
 
   <!-- RSS -->
-  <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}atom.xml">
+  <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ site.baseurl }}/atom.xml">
 </head>
index 62aa2596157b7e96fec80cd05840613812d4a02b..d68e8981e055a4424562e6c673b59461dcdf0f26 100644 (file)
@@ -8,7 +8,7 @@
     <div class="container content">
       <header class="masthead">
         <h3 class="masthead-title">
-          <a href="{{ site.baseurl }}" title="Home">{{ site.title }}</a>
+          <a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
           <small>{{ site.tagline }}</small>
         </h3>
       </header>
index 39be93254eb7e632353143eff68ce7cb2acd33b5..995ad4ec2134cc19fb684e877738ec36c720d508 100644 (file)
@@ -20,7 +20,7 @@ Learn more and contribute on [GitHub](https://github.com/poole).
 \r
 Poole is a streamlined Jekyll site designed and built as a foundation for building more meaningful themes. Poole, and every theme built on it, includes the following:\r
 \r
-* Complete Jekyll setup included (layouts, config, [404](/404.html), [RSS feed](/atom.xml), posts, and [example page](/about))\r
+* Complete Jekyll setup included (layouts, config, [404]({{ site.baseurl }}/404.html), [RSS feed]({{ site.baseurl }}/atom.xml), posts, and [example page]({{ site.baseurl }}/about))\r
 * Mobile friendly design and development\r
 * Easily scalable text and component sizing with `rem` units in the CSS\r
 * Support for a wide gamut of HTML elements\r
index 229c82d3e14512466c24fcfe3dc914c6ad7577da..4dde6d8d34ad3cd3a2b8fbaf16e46ef78ec4dc33 100644 (file)
--- a/atom.xml
+++ b/atom.xml
@@ -6,7 +6,7 @@ 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 }}/atom.xml" rel="self"/>
  <link href="{{ site.url }}{{ site.baseurl }}"/>
  <updated>{{ site.time | date_to_xmlschema }}</updated>
  <id>{{ site.url }}</id>
@@ -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 ff6de99ff908c1645a22bbaff5bdbeb93bbf4bcb..86bca7bcdcf0bdc739814e8451bf0407dce92f06 100644 (file)
@@ -7,7 +7,7 @@ title: Home
   {% for post in paginator.posts %}
   <article class="post">
     <h1 class="post-title">
-      <a href="{{ post.url }}">
+      <a href="{{ site.baseurl }}{{ post.url }}">
         {{ post.title }}
       </a>
     </h1>
@@ -21,7 +21,7 @@ title: Home
 
 <div class="pagination">
   {% if paginator.next_page %}
-    <a class="pagination-item older" href="{{ site.baseurl }}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 %}
@@ -29,7 +29,7 @@ title: Home
     {% if paginator.page == 2 %}
       <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>
+      <a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">Newer</a>
     {% endif %}
   {% else %}
     <span class="pagination-item newer">Newer</span>