summaryrefslogtreecommitdiff
path: root/Blog/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'Blog/index.html')
-rw-r--r--Blog/index.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/Blog/index.html b/Blog/index.html
new file mode 100644
index 0000000..a0c5d1e
--- /dev/null
+++ b/Blog/index.html
@@ -0,0 +1,24 @@
+---
+layout: default
+---
+
+<ul class="posts">
+ {% for post in site.posts %}
+ <li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
+ {{ post.excerpt }}
+ <a href="{{ post.url }}">Read more...</a>
+ {% endfor %}
+
+ <div class="pagination">
+ {% if paginator.previous_page %}
+ <a href="/page{{ paginator.previous_page }}" class="previous">Previous</a>
+ {% endif %}
+
+ {% if paginator.total_pages != 1 %}
+ <span class="page_number ">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
+ {% endif %}
+ {% if paginator.next_page %}
+ <a href="/page{{ paginator.next_page }}" class="next">Next</a>
+ {% endif %}
+ </div>
+</ul>