diff --git a/Gemfile b/Gemfile index 80b518df..d7d87de2 100644 --- a/Gemfile +++ b/Gemfile @@ -21,5 +21,6 @@ gem "minima", "~> 2.0" # If you have any plugins, put them here! group :jekyll_plugins do gem "jekyll-feed", "~> 0.6" + gem "jekyll-paginate" gem "github-pages", "~> 111" end diff --git a/_config.yml b/_config.yml index a2b32365..98a1c077 100644 --- a/_config.yml +++ b/_config.yml @@ -64,7 +64,7 @@ post-preview-words: 80 big-post-preview-words: 200 excerpt_separator: -#paginate: 5 +paginate: 5 ################################################################################ @@ -87,7 +87,7 @@ exclude: ["LICENSE", "README.md", "CONTRIBUTING", "CONTRIBUTORS", "scripts"] # Pagination path -paginate_path: "blog/page:num/" +paginate_path: "/blog/page:num/" # Enable minification SASS @@ -97,5 +97,5 @@ sass: gems: - github-pages - jekyll-feed - #- jekyll-paginate + - jekyll-paginate #- jemoji diff --git a/_includes/news.html b/_includes/news.html index 47a4ab24..e37b7008 100644 --- a/_includes/news.html +++ b/_includes/news.html @@ -49,7 +49,7 @@

- + More News diff --git a/blog/index.html b/blog/index.html new file mode 100644 index 00000000..3e791d24 --- /dev/null +++ b/blog/index.html @@ -0,0 +1,68 @@ +--- +layout: null +title: Blog +--- + + + + +{% include head.html %} + + + + {% include navigation.html %} + +

+
+
+ + {% for post in paginator.posts %} +

{{post.title}}

+ +
+ {{post.excerpt | markdownify }} +
+ {% endfor %} + + + {% if paginator.total_pages > 1 %} + + {% endif %} +
+
+
+ +