Skip to content

Commit 216c579

Browse files
authored
Merge pull request #76 from puppylpg/tag-append-error
reverse tags sequence for appending
2 parents d65a7f9 + 8a28c86 commit 216c579

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Critical items to know are:
1414
- changed behaviour
1515

1616
## [master](https://github.com/vsoch/docsy-jekyll/tree/master)
17+
- bug that site tags and docs tags concating together without a comma (0.0.27)
1718
- added Windows hash for assets (0.0.26)
1819
- adding support for documentation versioning (0.0.25)
1920
- adding more verbose example for subfolders (0.0.24)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.26
1+
0.0.27

pages/tags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<h1 id="tags-index">Tags Index</h1>
77
{% 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 %}
8-
{% assign all_tags = site_tags | append:docs_tags %}{% assign tags_list = all_tags | split:',' | uniq | sort %}
8+
{% assign all_tags = docs_tags | append:site_tags %}{% assign tags_list = all_tags | split:',' | uniq | sort %}
99

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

0 commit comments

Comments
 (0)