jekyll-bear-theme 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_layouts/blog.html +10 -2
- data/_layouts/tagged.html +8 -1
- 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: 9d529cefc2c977264ebad95409313be8d9f34a3cc46f8058d5cba7b68641f460
|
|
4
|
+
data.tar.gz: 6303c49150c763fbabae315319f3e3c4b8687fea183f0c49a6ced4ff7464502b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f04f4f64ac28bddf9db20589949b8e0834c3d911ea9ac4ed504763ddf5db398357d5591e4781d0400968d7d8f962936b27fee64bc4f93eef9394d039f3555d0
|
|
7
|
+
data.tar.gz: b5a5bf1ecfc42e7215a8552b745f4e2972cdcb9dbfd2df61bf886cacbe409684b2274d0afd7ccb9f8aebb0972dc2b85365256166898c256a8f51cfc4e5f5ea7b
|
data/_layouts/blog.html
CHANGED
|
@@ -11,8 +11,14 @@ layout: compress
|
|
|
11
11
|
{{ content }}
|
|
12
12
|
|
|
13
13
|
<ul class="blog-posts">
|
|
14
|
+
{% assign post_list = '' | split: ',' %}
|
|
14
15
|
{% for post in site.posts %}
|
|
15
16
|
{% for tag in post.tags %}
|
|
17
|
+
{% assign post_list = post_list | push: post %}
|
|
18
|
+
{% endfor %}
|
|
19
|
+
{% endfor %}
|
|
20
|
+
{% for post in post_list %}
|
|
21
|
+
{% unless post == previous %}
|
|
16
22
|
<li>
|
|
17
23
|
<span>
|
|
18
24
|
<i>
|
|
@@ -23,7 +29,8 @@ layout: compress
|
|
|
23
29
|
</span>
|
|
24
30
|
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
|
|
25
31
|
</li>
|
|
26
|
-
{%
|
|
32
|
+
{% endunless %}
|
|
33
|
+
{% assign previous = post %}
|
|
27
34
|
{% endfor %}
|
|
28
35
|
|
|
29
36
|
</ul>
|
|
@@ -35,7 +42,8 @@ layout: compress
|
|
|
35
42
|
{% assign tag_slug = tag | first %}
|
|
36
43
|
{% assign no_of_posts = tag | last | size %}
|
|
37
44
|
|
|
38
|
-
<a href="{{ 'tagged/' | relative_url }}{{ tag_slug }}" title="See all posts by {{ tag_slug }} tag">#{{ tag_slug
|
|
45
|
+
<a href="{{ 'tagged/' | relative_url }}{{ tag_slug }}" title="See all posts by {{ tag_slug }} tag">#{{ tag_slug
|
|
46
|
+
}}</a>
|
|
39
47
|
{% endfor %}
|
|
40
48
|
</small>
|
|
41
49
|
|
data/_layouts/tagged.html
CHANGED
|
@@ -17,8 +17,14 @@ layout: compress
|
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
<ul class="blog-posts">
|
|
20
|
+
{% assign post_list = '' | split: ',' %}
|
|
20
21
|
{% for post in site.tags[page.slug] %}
|
|
21
22
|
{% for tag in post.tags %}
|
|
23
|
+
{% assign post_list = post_list | push: post %}
|
|
24
|
+
{% endfor %}
|
|
25
|
+
{% endfor %}
|
|
26
|
+
{% for post in post_list %}
|
|
27
|
+
{% unless post == previous %}
|
|
22
28
|
<li>
|
|
23
29
|
<span>
|
|
24
30
|
<i>
|
|
@@ -29,7 +35,8 @@ layout: compress
|
|
|
29
35
|
</span>
|
|
30
36
|
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
|
|
31
37
|
</li>
|
|
32
|
-
{%
|
|
38
|
+
{% endunless %}
|
|
39
|
+
{% assign previous = post %}
|
|
33
40
|
{% endfor %}
|
|
34
41
|
|
|
35
42
|
</ul>
|