1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 21:53:26 +00:00

Improved the page recognition.

Useful for label localization
This commit is contained in:
Cotes Chung
2020-06-28 23:11:46 +08:00
parent cc4f18a5a2
commit 46c2cfe64e
5 changed files with 7 additions and 7 deletions

View File

@@ -30,7 +30,7 @@
{% elsif page.layout == 'page' %}
{% if page.title == 'Categories' %}
{% if page.type == 'categories' %}
<script src="{{ '/assets/js/categories.min.js' | relative_url }}" async></script>
{% else %}
<script src="{{ '/assets/js/page.min.js' | relative_url }}" async></script>