File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -45,18 +45,22 @@ <h3 data-toc-skip>
45
45
46
46
{% endif %} <!-- site.data.updates -->
47
47
48
+ {% include trending_tags.html %}
49
+
50
+ {% if trending_tags.size > 0 %}
48
51
< div id ="access-tags ">
49
52
< h3 data-toc-skip >
50
53
{{- site.data.label.panel.trending_tags -}}
51
54
</ h3 >
52
55
< div class ="d-flex flex-wrap mt-3 mb-1 mr-3 ">
53
- {% include trending-tags.html %}
56
+
54
57
{% for tag in trending_tags %}
55
58
{% capture url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %}
56
59
< a class ="post-tag " href ="{{ url | relative_url }} "> {{ tag | replace: '-', ' ' }}</ a >
57
60
{% endfor %}
58
61
</ div >
59
62
</ div >
63
+ {% endif %}
60
64
61
65
</ div > <!-- .access -->
62
66
Original file line number Diff line number Diff line change 9
9
< div class ="col-12 col-xl-11 post-content ">
10
10
< div id ="search-hints ">
11
11
< h4 class ="text-muted mb-4 "> {{ site.data.label.panel.trending_tags }}</ h4 >
12
- {% include trending-tags .html %}
12
+ {% include trending_tags .html %}
13
13
{% for tag in trending_tags %}
14
14
{% capture url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %}
15
15
< a class ="post-tag " href ="{{ url | relative_url }} "> {{ tag | replace: '-', ' ' }}</ a >
File renamed without changes.
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ const include = [
65
65
{ % endfor % }
66
66
67
67
/* Trending tags */
68
- { % include trending - tags . html % }
68
+ { % include trending_tags . html % }
69
69
{ % for tag in trending_tags % }
70
70
{ % capture tag_url % } / tags / { { tag | downcase | url_encode } } / { % endcapture % }
71
71
'{{ tag_url | relative_url }}' ,
You can’t perform that action at this time.
0 commit comments