Skip to content

Commit

Permalink
reverse tags sequence for appending
Browse files Browse the repository at this point in the history
  • Loading branch information
puppylpg committed Feb 20, 2023
1 parent d65a7f9 commit 8a28c86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Critical items to know are:
- changed behaviour

## [master](https://github.com/vsoch/docsy-jekyll/tree/master)
- bug that site tags and docs tags concating together without a comma (0.0.27)
- added Windows hash for assets (0.0.26)
- adding support for documentation versioning (0.0.25)
- adding more verbose example for subfolders (0.0.24)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.26
0.0.27
2 changes: 1 addition & 1 deletion pages/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<h1 id="tags-index">Tags Index</h1>
{% capture site_tags %}{% for tag in site.tags %}{% if tag %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endif %}{% endfor %}{% endcapture %}{% assign docs_tags = "" %}{% for doc in site.docs %}{% assign ttags = doc.tags | join:',' | append:',' %}{% assign docs_tags = docs_tags | append:ttags %}{% endfor %}
{% assign all_tags = site_tags | append:docs_tags %}{% assign tags_list = all_tags | split:',' | uniq | sort %}
{% assign all_tags = docs_tags | append:site_tags %}{% assign tags_list = all_tags | split:',' | uniq | sort %}

{% for tag in tags_list %}{% if tag %}<h3 id="{{ tag | replace: '/', '-' }}" class="linked-section">{{ tag }}</h3>
<div class="post-list" style="margin-bottom:40px">
Expand Down

0 comments on commit 8a28c86

Please sign in to comment.