diff --git a/_config.yml b/_config.yml index 2b6437f..05160f3 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,6 @@ -safe: true auto: true -server: true -pygments: true markdown: redcarpet +paginate: 7 +pygments: true +safe: true +server: true diff --git a/_includes/header.html b/_includes/header.html index 7ff20c0..820fa44 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -36,6 +36,7 @@ DPB diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..d4772ba --- /dev/null +++ b/blog/index.html @@ -0,0 +1,18 @@ +--- +title: Blog Summary +layout: default +--- + +{% for post in site.posts %} +
+
+
+ +
+

{{ post.title }}

+ {% if post.description %} +
{{ post.description }}
+ {% endif %} +
+
+{% endfor %} diff --git a/index.html b/index.html index 13e898a..d7741c4 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ layout: default

-{% for post in site.posts %} +{% for post in paginator.posts %}
@@ -24,3 +24,12 @@ layout: default
{% endfor %} + +{% if paginator.next_page %} +
+
+

more posts →

+
See the full list of {{ site.posts.size }} posts.
+
+
+{% endif %}