From 21d15c9cf9db00d25e5dabc828d671da7b094d33 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sun, 29 May 2016 20:44:33 -0400 Subject: [PATCH 1/3] Update gems --- Gemfile.lock | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index efc28841..1667e7a8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -15,15 +15,15 @@ GEM colorator (0.1) ethon (0.9.0) ffi (>= 1.3.0) - execjs (2.6.0) + execjs (2.7.0) faraday (0.9.2) multipart-post (>= 1.2, < 3) ffi (1.9.10) ffi (1.9.10-x64-mingw32) gemoji (2.1.0) - github-pages (78) + github-pages (80) github-pages-health-check (= 1.1.0) - jekyll (= 3.0.5) + jekyll (= 3.1.6) jekyll-coffeescript (= 1.0.1) jekyll-feed (= 0.5.1) jekyll-gist (= 1.4.0) @@ -47,11 +47,11 @@ GEM octokit (~> 4.0) public_suffix (~> 1.4) typhoeus (~> 0.7) - html-pipeline (2.4.0) + html-pipeline (2.4.1) activesupport (>= 2, < 5) nokogiri (>= 1.4) i18n (0.7.0) - jekyll (3.0.5) + jekyll (3.1.6) colorator (~> 0.1) jekyll-sass-converter (~> 1.0) jekyll-watch (~> 1.1) @@ -92,7 +92,7 @@ GEM rb-inotify (>= 0.9.7) mercenary (0.3.6) mini_portile2 (2.0.0) - minitest (5.8.4) + minitest (5.9.0) multipart-post (2.0.0) net-dns (0.8.0) nokogiri (1.6.7.2) @@ -117,7 +117,6 @@ GEM ethon (>= 0.8.0) tzinfo (1.2.2) thread_safe (~> 0.1) - wdm (0.1.1) PLATFORMS ruby @@ -125,7 +124,6 @@ PLATFORMS DEPENDENCIES github-pages - wdm (~> 0.1.0) BUNDLED WITH 1.11.2 From 45f3a7a8eef78538518e8aa8bab2c2ec7ca912e9 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sun, 29 May 2016 21:12:24 -0400 Subject: [PATCH 2/3] Rename tag/category archive variables to avoid possible conflicts with site.tags and site.categories - Fixes #329 --- _config.yml | 4 ++-- _includes/category-list.html | 6 +++--- _includes/page__taxonomy.html | 4 ++-- _includes/tag-list.html | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_config.yml b/_config.yml index bc86fcdb..d3932ea6 100644 --- a/_config.yml +++ b/_config.yml @@ -179,10 +179,10 @@ whitelist: # - /tags/my-awesome-tag/index.html ~> path: /tags/ # - path: /categories/ # - path: / -categories: +category_archive: type: liquid path: /categories/ -tags: +tag_archive: type: liquid path: /tags/ # https://github.com/jekyll/jekyll-archives diff --git a/_includes/category-list.html b/_includes/category-list.html index 2347133f..77b13547 100644 --- a/_includes/category-list.html +++ b/_includes/category-list.html @@ -2,14 +2,14 @@ {% include base_path %} -{% case site.categories.type %} +{% case site.category_archive.type %} {% when "liquid" %} {% assign path_type = "#" %} {% when "jekyll-archives" %} {% assign path_type = nil %} {% endcase %} -{% if site.categories.path %} +{% if site.category_archive.path %} {% comment %} @@ -23,7 +23,7 @@ {% for hash in category_hashes %} {% assign keyValue = hash | split: '#' %} {% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} - {% unless forloop.last %}, {% endunless %} + {% unless forloop.last %}, {% endunless %} {% endfor %}

diff --git a/_includes/page__taxonomy.html b/_includes/page__taxonomy.html index 53b5b805..5a0c39fc 100644 --- a/_includes/page__taxonomy.html +++ b/_includes/page__taxonomy.html @@ -1,9 +1,9 @@ {% include base_path %} -{% if site.tags.type and page.tags[0] %} +{% if site.tag_archive.type and page.tags[0] %} {% include tag-list.html %} {% endif %} -{% if site.categories.type and page.categories[0] %} +{% if site.category_archive.type and page.categories[0] %} {% include category-list.html %} {% endif %} \ No newline at end of file diff --git a/_includes/tag-list.html b/_includes/tag-list.html index 96fde1f4..6e801f25 100644 --- a/_includes/tag-list.html +++ b/_includes/tag-list.html @@ -1,13 +1,13 @@ {% include base_path %} -{% case site.tags.type %} +{% case site.tag_archive.type %} {% when "liquid" %} {% assign path_type = "#" %} {% when "jekyll-archives" %} {% assign path_type = nil %} {% endcase %} -{% if site.tags.path %} +{% if site.tag_archive.path %} {% comment %} @@ -21,7 +21,7 @@ {% for hash in tag_hashes %} {% assign keyValue = hash | split: '#' %} {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %} - {% unless forloop.last %}, {% endunless %} + {% unless forloop.last %}, {% endunless %} {% endfor %}

From 9a8eea6e1459ea76f9bd9f516a51cfbece96101b Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Sun, 29 May 2016 21:15:54 -0400 Subject: [PATCH 3/3] Update CHANGELOG --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12b2034b..0cc4e145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [3.2.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.2.0) + +### Bug Fixes + +- Fix missing category/tag links in post footer due to possible conflict with `site.tags` and `site.categories`. [#329](https://github.com/mmistakes/minimal-mistakes/issues/329#issuecomment-222375568) + ## [3.1.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.1.8) ### Bug Fixes