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

Optimized update list & fixed sw cache list.

This commit is contained in:
Cotes Chung
2020-07-15 16:49:02 +08:00
parent 9f3619e54a
commit 22115f3797
3 changed files with 12 additions and 11 deletions

View File

@@ -28,12 +28,7 @@
{% if post %}
{% assign url = post.url | relative_url %}
<li><a href="{{ url }}">{{ post.title }}</a></li>
{% assign sum = sum | plus: 1 %}
{% if sum >= MAX_SIZE %} {% break %} {% endif %}
{% endif %}
{% endfor %}