Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use everywhere (posts/collections) a category to group them together
- Loading branch information
Showing
20 changed files
with
93 additions
and
93 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% comment %}<!-- | ||
The category include is a display helper for category. | ||
Usage: | ||
1) assign the 'category' variable to a valid category. | ||
2) include category | ||
example: | ||
<ul> | ||
{% assign category = page.category %} | ||
{% include category %} | ||
</ul> | ||
|
||
-->{% endcomment %} | ||
{% assign label_text = category %} | ||
{% assign label_type = 'primary' %} | ||
{% assign label_fa_icon = 'fa-folder' %} | ||
{% include label %} | ||
{% assign category = nil %} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% comment %}<!-- | ||
The doc_category include is a display helper for documentation category. | ||
Usage: | ||
1) assign the 'category' variable to a valid category. | ||
2) include doc_category | ||
example: | ||
<ul> | ||
{% assign category = page.category %} | ||
{% include doc_category %} | ||
</ul> | ||
|
||
-->{% endcomment %} | ||
{% include category %} | ||
{% assign category = nil %} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% comment %}<!-- | ||
The rule_category include is a display helper for rule category. | ||
Usage: | ||
1) assign the 'category' variable to a valid category. | ||
2) include rule_category | ||
example: | ||
<ul> | ||
{% assign category = page.category %} | ||
{% include rule_category %} | ||
</ul> | ||
|
||
-->{% endcomment %} | ||
{% include category %} | ||
{% assign category = nil %} |
This file was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.