no-style-please2 0.7.4.5 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/archive.html +12 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2474095f91956917b41fcc10d0147da50a80547ef3e4c87df38a35be68df4f3
|
4
|
+
data.tar.gz: d94c224978d92b368033cdd60433c54859ab9783831f2cc1f485a518c62a8b59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e3a656dd5634e6fdce8ba2eac363bc6121cf9c910de43ec5483e86b57f227f68aada871e3074f9826e7b3c3c16ce93a1ff87b7dfffd70879d82581d0c10b158
|
7
|
+
data.tar.gz: e5c2df4754b05e29386783db23592bc7211e91c69d54d969545244a27daf905e369d7aa960e242d9fb7a61ef33e8d33ce2f5ced53522f2396eaf1f840bad7244
|
data/_layouts/archive.html
CHANGED
@@ -14,15 +14,25 @@ layout: default
|
|
14
14
|
{% capture archive_date_format %} {{ site.theme_config.archive_date_format | default: "%Y"}}{% endcapture %}
|
15
15
|
|
16
16
|
{% capture archive_date_titleformat %} {{ site.theme_config.archive_title_date_format | default: "%m-%d"}}{% endcapture %}
|
17
|
+
<ul>
|
17
18
|
{%- for post in posts limit: include.limit -%}
|
18
19
|
{% capture ymCur %} {{post.date | date: archive_date_format}} {% endcapture %}
|
19
20
|
{% if ymCur != ymPre %}
|
20
|
-
|
21
|
+
{% if ymPre != "" %}
|
22
|
+
</ul>
|
23
|
+
{% endif %}
|
24
|
+
<li><h2>{{ymCur}}</h2></li>
|
25
|
+
<ul>
|
21
26
|
{% endif %}
|
22
27
|
{% assign ymPre = ymCur %}
|
28
|
+
|
23
29
|
<li>
|
24
30
|
<span>{{- post.date | date: archive_date_titleformat }}</span>
|
25
31
|
<a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a>
|
26
32
|
</li>
|
33
|
+
|
27
34
|
{%- endfor -%}
|
28
|
-
|
35
|
+
</ul>
|
36
|
+
{%- endif -%}
|
37
|
+
|
38
|
+
|