jekyll-theme-endless 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +10 -2
- data/_includes/function_list-posts.html +12 -3
- data/_includes/function_post-in-list-short.html +25 -0
- data/_layouts/page-postlist.html +3 -1
- data/_layouts/page-tag.html +4 -11
- data/lib/jekyll-theme-endless/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c44a8b0b77f57bf3ef8c3107d45d5993590b951bafe7123b7a3d43aff1755e0f
|
4
|
+
data.tar.gz: ec822eb3c232ed9e4bceae9459c9ec6d0dc93c366269bf88ce046a61bc17d49e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eb544cacc56b869f3d57935b580d824b11116649541ae2c4b508bd30f245a8e4a933719946f8c46fdcde7cc782e61a4fbaa6ab52f59b016202696d41a484e7e
|
7
|
+
data.tar.gz: 3a4fd8c1fa675898414c9618d0f4f91dded12bde8bb51e91525a96291b34452fe84f09573dc9c216fd29b1341c54661f3e4ad27916e7693797e0644905b5a938
|
data/README.adoc
CHANGED
@@ -162,6 +162,8 @@ Layout of page-content with a list of blog posts at the end.
|
|
162
162
|
|
163
163
|
|
164
164
|
`_layouts/page-tag.html`::
|
165
|
+
+
|
166
|
+
--
|
165
167
|
Layout of pages containing a list of those posts being tagged with a given tag.
|
166
168
|
This file is required by the `generate-tagpages`-plugin.
|
167
169
|
|
@@ -173,6 +175,7 @@ The content can be for example the following:
|
|
173
175
|
----
|
174
176
|
include::_layouts/page-tag.html[]
|
175
177
|
----
|
178
|
+
--
|
176
179
|
|
177
180
|
|
178
181
|
`_layouts/post.html`::
|
@@ -239,8 +242,13 @@ This can be useful for your 404 page, which should be generated by Jekyll, but n
|
|
239
242
|
|
240
243
|
|
241
244
|
`_includes/function_list-posts.html`::
|
242
|
-
Generates
|
243
|
-
|
245
|
+
Generates a list containing blog posts.
|
246
|
+
|
247
|
+
|
248
|
+
`_includes/function_post-in-list-short.html`::
|
249
|
+
Generates the code to display a single post in the list of blog posts.
|
250
|
+
An entry consists of the title of the blog post linked to the article.
|
251
|
+
If a permalink is configured for the article, this is indicated by an icon.
|
244
252
|
|
245
253
|
|
246
254
|
`_includes/function_tag-cloud.html`::
|
@@ -1,13 +1,22 @@
|
|
1
1
|
{% comment %}
|
2
2
|
List of blog-posts.
|
3
|
+
Expects an array of post objects in the parameter `postlist`.
|
4
|
+
|
5
|
+
Call via:
|
6
|
+
----
|
7
|
+
{% include function_list-posts.html
|
8
|
+
postlist=POSTLIST
|
9
|
+
%}
|
10
|
+
----
|
3
11
|
{% endcomment %}
|
4
12
|
|
5
13
|
<ul>
|
6
|
-
{% for current_post in
|
14
|
+
{% for current_post in include.postlist %}
|
7
15
|
<li>
|
8
|
-
{
|
16
|
+
{% include function_post-in-list-short.html
|
17
|
+
post = current_post
|
18
|
+
%}
|
9
19
|
</li>
|
10
20
|
{% endfor %}
|
11
21
|
</ul>
|
12
22
|
|
13
|
-
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{% comment %}
|
2
|
+
Processes a single post for display in the list of articles.
|
3
|
+
Expects a post object as a parameter.
|
4
|
+
|
5
|
+
Call via:
|
6
|
+
----
|
7
|
+
<li>
|
8
|
+
{% include function_post-in-list-short.html
|
9
|
+
post=current_post
|
10
|
+
%}
|
11
|
+
</li>
|
12
|
+
----
|
13
|
+
{% endcomment %}
|
14
|
+
|
15
|
+
|
16
|
+
{% assign post = include.post %}
|
17
|
+
|
18
|
+
{{ post.date | date: "%Y-%m-%d" }}:
|
19
|
+
{% if post.permalink %}
|
20
|
+
{% comment %}
|
21
|
+
I use permalinks to indicate that an article was at some point considered beeing finished.
|
22
|
+
{% endcomment %}
|
23
|
+
<i class="fa fa-link text-success" title="This article has a permalink."></i>
|
24
|
+
{% endif %}
|
25
|
+
<a href="{{ post.url }}">{{ post.title }}</a>
|
data/_layouts/page-postlist.html
CHANGED
data/_layouts/page-tag.html
CHANGED
@@ -13,14 +13,7 @@ page.tag and page.title are set by the plugin `generate-taglist`.
|
|
13
13
|
Number of posts tagged with "<em>{{ page.tag }}</em>": <strong>{{ site.tags[ page.tag ] | size }}</strong>
|
14
14
|
</p>
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
{{ post.date | date: "%Y-%m-%d" }}: <a href="{{ post.url }}">{{ post.title }}</a>
|
21
|
-
</li>
|
22
|
-
|
23
|
-
{% endfor %}
|
24
|
-
</ul>
|
25
|
-
|
26
|
-
|
16
|
+
{% assign tag_posts = site.tags[page.tag] %}
|
17
|
+
{% include function_list-posts.html
|
18
|
+
postlist=tag_posts
|
19
|
+
%}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-endless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sven Boekhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -38,6 +38,7 @@ files:
|
|
38
38
|
- _includes/content_footer-usernames.html
|
39
39
|
- _includes/function_list-pages.html
|
40
40
|
- _includes/function_list-posts.html
|
41
|
+
- _includes/function_post-in-list-short.html
|
41
42
|
- _includes/function_show-dates.html
|
42
43
|
- _includes/function_show-prev-next-navigation.html
|
43
44
|
- _includes/function_tag-cloud.html
|