no-style-please2 0.6.0 → 0.6.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +2 -0
- data/_layouts/archive.html +27 -1
- data/_layouts/tagpage.html +7 -6
- data/_layouts/tags.html +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9be07b2eac5fe89ca9d11576d16b88103072b8d7f272eecf25172af094a47059
|
4
|
+
data.tar.gz: 9e9adb68deea7306b9c719933b425677d95acb61ded9803120ed4057f3400757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd3acafe07bfbae2d424a0e3029a5a482599f776586237d11dfb217bf5a5f33575d5c00dfb6f0f37be5d143a74a4a7e4a8157d0cefba42b7a8de53ce263aff44
|
7
|
+
data.tar.gz: 1795a8305814d55cccc2e22170958954b384d3271603c0cc38dbd6216ca5ee7298eadba88b6e71fc6290068dff82c6376350429c2f32757b1b7e22afa68046ef
|
data/_config.yml
CHANGED
data/_layouts/archive.html
CHANGED
@@ -6,4 +6,30 @@ layout: default
|
|
6
6
|
|
7
7
|
<h1>{{ page.title }}</h1>
|
8
8
|
|
9
|
-
|
9
|
+
|
10
|
+
{%-assign posts = site.posts-%}
|
11
|
+
{%- if posts.size > 0 -%}
|
12
|
+
|
13
|
+
{% assign ymPre = "" %}
|
14
|
+
{% capture archive_date_format %} {{ site.theme_config.archive_date_format | default: "%Y"}}{% endcapture %}
|
15
|
+
|
16
|
+
{% capture archive_date_titleformat %} {{ site.theme_config.archive_title_date_format | default: "%m-%d"}}{% endcapture %}
|
17
|
+
{%- for post in posts limit: include.limit -%}
|
18
|
+
{% capture ymCur %} {{post.date | date: archive_date_format}} {% endcapture %}
|
19
|
+
{% if ymCur != ymPre %}
|
20
|
+
<h3>{{ymCur}}</h3>
|
21
|
+
{% endif %}
|
22
|
+
{% assign ymPre = ymCur %}
|
23
|
+
|
24
|
+
|
25
|
+
<ul>
|
26
|
+
|
27
|
+
|
28
|
+
<li>
|
29
|
+
<span>{{- post.date | date: archive_date_titleformat }}</span>
|
30
|
+
<a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a>
|
31
|
+
</li>
|
32
|
+
|
33
|
+
</ul>
|
34
|
+
{%- endfor -%}
|
35
|
+
{%- endif -%}
|
data/_layouts/tagpage.html
CHANGED
@@ -2,9 +2,8 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
{%-include back_link.html -%}
|
5
|
-
<
|
6
|
-
<h1
|
7
|
-
<li>Tag: {{ page.tag }}</li>
|
5
|
+
<ariticle>
|
6
|
+
<h1>Tag: {{ page.tag }}</h1>
|
8
7
|
|
9
8
|
<ul>
|
10
9
|
{% for post in site.tags[page.tag] %}
|
@@ -12,13 +11,15 @@ layout: default
|
|
12
11
|
{{ post.description }}
|
13
12
|
</li>
|
14
13
|
{% endfor %}
|
15
|
-
|
16
|
-
</div>
|
14
|
+
|
17
15
|
{% if site.theme_config.tag_showall %}
|
18
16
|
<li><a href="{{ site.baseurl }}/{{site.theme_config.all_tags_path | default:'tags' }}.html"> {{site.theme_config.all_tags_title | default:'All Tags' }}</a>
|
19
17
|
</li>
|
20
|
-
|
21
18
|
{% endif %}
|
19
|
+
</ul>
|
22
20
|
|
23
21
|
<hr>
|
22
|
+
|
23
|
+
|
24
|
+
</ariticle>
|
24
25
|
|
data/_layouts/tags.html
CHANGED
@@ -6,11 +6,14 @@ layout: default
|
|
6
6
|
<h1>{{page.title}}</h1>
|
7
7
|
<article>
|
8
8
|
|
9
|
+
<ul>
|
10
|
+
|
9
11
|
{% for item in site.tags %}
|
10
|
-
<
|
12
|
+
<li>
|
11
13
|
<a href ="{{ site['baseurl']}}/tags/{{ item[0]}}.html" ><text>{{ item[0]}}</text></a>
|
12
|
-
|
14
|
+
</li>
|
13
15
|
{% endfor %}
|
16
|
+
<ul>
|
14
17
|
|
15
18
|
</article>
|
16
19
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: no-style-please2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vitock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|