Update config
[blog] / index.html
index a41d8c22da15130ff25f095a130c70c6c817babe..6e7f0aab24f75c78be4939b3633f48093b7ffdb1 100644 (file)
@@ -5,23 +5,23 @@ title: Home
 
 <div class="posts">
   {% for post in paginator.posts %}
-  <article class="post">
+  <div class="post">
     <h1 class="post-title">
       <a href="{{ site.baseurl }}{{ post.url }}">
         {{ post.title }}
       </a>
     </h1>
 
-    <time datetime="{{ post.date | date_to_xmlschema }}" class="post-date">{{ post.date | date_to_string }}</time>
+    <span class="post-date">{{ post.date | date_to_string }}</span>
 
     {{ post.content }}
-  </article>
+  </div>
   {% endfor %}
 </div>
 
 <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="{{ paginator.next_page_path | prepend: site.baseurl }}">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="{{ paginator.previous_page_path | prepend: site.baseurl }}">Newer</a>
     {% endif %}
   {% else %}
     <span class="pagination-item newer">Newer</span>