diff --git a/.bundle/config b/.bundle/config index 57d4641..00ae63b 100644 --- a/.bundle/config +++ b/.bundle/config @@ -1,3 +1,3 @@ --- BUNDLE_PATH: vendor/bundle -BUNDLE_DISABLE_SHARED_GEMS: '1' +BUNDLE_DISABLE_SHARED_GEMS: true diff --git a/_config.yml b/_config.yml index 6924e59..e6ef74f 100644 --- a/_config.yml +++ b/_config.yml @@ -87,7 +87,7 @@ defaults: path: "" type: "posts" values: - layout: "post" + layout: "page" comments: true search: true sidebar: home_sidebar @@ -108,3 +108,7 @@ description: "Intended as a documentation theme based on Jekyll for technical wr # needed for sitemap.xml file only url: http://api-docs.bocco.me + +gems: [jekyll-paginate] +paginate: 5 +paginate_path: "/news/:num/" diff --git a/_data/topnav.yml b/_data/topnav.yml index 026340b..e07f7f0 100644 --- a/_data/topnav.yml +++ b/_data/topnav.yml @@ -19,8 +19,9 @@ topnav: - title: リファレンス url: /reference.html - # - title: ニュース - # url: /news + + - title: ニュース + url: /news - title: フィードバック url: /index.html#feedback diff --git a/_includes/footer.html b/_includes/footer.html index d1d715a..3c1d3a7 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -3,7 +3,7 @@ diff --git a/_includes/head.html b/_includes/head.html index 25be6c7..d803a50 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,25 +4,25 @@ {{ page.title }} | {{ site.site_title }} - - - - - - + + + + + + - + - - + + @@ -33,4 +33,4 @@ - + diff --git a/_includes/topnav.html b/_includes/topnav.html index e603863..23ceeaf 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -8,7 +8,7 @@ -   {{site.topnav_title}} +   {{site.topnav_title}}