forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename tag/category archive variables to avoid possible conflicts wit…
…h site.tags and site.categories - Fixes mmistakes#329
- Loading branch information
1 parent
14848d1
commit 9ed2b71
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters