diff --git a/_includes/header.html b/_includes/header.html index dbd8f1b..3c6f942 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -6,7 +6,7 @@ - Blog + Blog Photos About diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 0000000..04e5ef9 --- /dev/null +++ b/blog/index.html @@ -0,0 +1,32 @@ +--- +layout: default +pagination: + enabled: true + category: blog +--- + +{% assign index = true %} + +{% include header.html %} + + + {% for post in paginator.posts %} + {% assign content = post.content %} + + + {% include index_article.html %} + + {% endfor %} + + + {% if paginator.next_page %} + ← Older + {% endif %} + + {% if paginator.previous_page %} + Newer → + {% endif %} + + + +{% include footer.html %} diff --git a/index.html b/index.html index 04e5ef9..f3d96c7 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,6 @@ layout: default pagination: enabled: true - category: blog --- {% assign index = true %}