{{ site.data.label.panel.trending_tags }}

- {% include trending_tags.html %} + {% include trending-tags.html %} {% for tag in trending_tags %} {% capture url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %} diff --git a/_includes/trending_tags.html b/_includes/trending-tags.html similarity index 100% rename from _includes/trending_tags.html rename to _includes/trending-tags.html diff --git a/_includes/update_list.html b/_includes/update-list.html similarity index 91% rename from _includes/update_list.html rename to _includes/update-list.html index 9500286..9a66fea 100644 --- a/_includes/update_list.html +++ b/_includes/update-list.html @@ -1,5 +1,5 @@ {% comment %} - Get the last 5 post from lastmod list. + Get the last 5 posts from lastmod list. v2.2 https://github.com/cotes2020/jekyll-theme-chirpy © 2020 Cotes Chung diff --git a/assets/js/data/cache-list.js b/assets/js/data/cache-list.js index 3dd3d00..65966bb 100644 --- a/assets/js/data/cache-list.js +++ b/assets/js/data/cache-list.js @@ -52,7 +52,7 @@ const include = [ {% endif %} {% endfor %} - {% include update_list.html %} + {% include update-list.html %} {% for item in update_list %} {% assign url = item | split: "::" | last | prepend: "/posts/" | append: "/" %} {% assign post_list = post_list | push: url %} @@ -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 }}',