1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Hide the empty trending tags from panel.

This commit is contained in:
Cotes Chung
2020-06-01 22:59:09 +08:00
parent 75c57d1725
commit b28724b4d4
4 changed files with 7 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ const include = [
{% endfor %}
/* Trending tags */
{% include trending-tags.html %}
{% include trending_tags.html %}
{% for tag in trending_tags %}
{% capture tag_url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %}
'{{ tag_url | relative_url }}',