jekyll-theme-endless 0.6.1 → 0.7.0
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/README.adoc +33 -3
- data/_sass/adoc-images.scss +23 -0
- data/_sass/adoc-lists.scss +20 -0
- data/_sass/adoc-quote.scss +48 -0
- data/assets/css/main.scss +3 -0
- data/assets/images/tree-3822149_640.jpg +0 -0
- data/lib/jekyll-theme-endless/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7ff2f4560ea04705b9b3e3449ccaf2546a744971d7858c8ab721258a0438ecc
|
|
4
|
+
data.tar.gz: 28c2b78e998e5c78a686ca828a9ec3be2e20802b45abad00b60deabc911390cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37869a7cd4468fed50f4e1f7ee4e3b2ff5f886faff91993c46b82cd68ac52222d42fea95b1151bec34e343352aae269ead46f3c3b3e86f0b9b336d6f82817477
|
|
7
|
+
data.tar.gz: 9694fd6e67dfd02fea7ef9192ddcfa60edbc4c747b087e96ec3544c3ad9e6e2826e305f577ad435ea2280e103269b5376e4645b5d40ef7c7eedbe977e21eb5a5
|
data/README.adoc
CHANGED
|
@@ -67,9 +67,13 @@ Here I describe available layouts, includes, sass and/or assets here.
|
|
|
67
67
|
=== Layouts
|
|
68
68
|
|
|
69
69
|
`_layouts/html.html`::
|
|
70
|
+
|
|
70
71
|
HTML boilerplate code used for all layouts.
|
|
71
72
|
|
|
73
|
+
|
|
72
74
|
`_layouts/default.html`::
|
|
75
|
+
+
|
|
76
|
+
--
|
|
73
77
|
Default website structure (menue, tag cloud, ...) used for pages and posts.
|
|
74
78
|
|
|
75
79
|
Contains a *navigation bar* with a configurable brand-label.
|
|
@@ -106,15 +110,19 @@ disclaimer: >- # this means to ignore newlines until the next entry
|
|
|
106
110
|
Therefore, many things (e.g. the support of AsciiDoc) are based on personal requirements.
|
|
107
111
|
You are welcome to use the theme (at your own risk) and contribute to the development.
|
|
108
112
|
----
|
|
113
|
+
--
|
|
109
114
|
|
|
110
115
|
|
|
111
116
|
`_layouts/page.html`::
|
|
117
|
+
+
|
|
118
|
+
--
|
|
112
119
|
Layout of page-content.
|
|
113
120
|
|
|
114
121
|
Start a new page in *AsciiDoc* by adding a file ending with `.adoc`.
|
|
115
122
|
Do not forget the `page-`-prefix when setting page variables.
|
|
116
123
|
Jekyll-AsciiDoc has an https://github.com/asciidoctor/jekyll-asciidoc#specifying-a-layout[auto-detection mechanism for the layout].
|
|
117
124
|
Thus, you typically do not have to set the layout to `page` or `post`.
|
|
125
|
+
|
|
118
126
|
[source, AsciiDoc]
|
|
119
127
|
----
|
|
120
128
|
= Page title
|
|
@@ -136,21 +144,27 @@ layout: page
|
|
|
136
144
|
|
|
137
145
|
Content
|
|
138
146
|
----
|
|
147
|
+
--
|
|
139
148
|
|
|
140
149
|
`_layouts/page-postlist.html`::
|
|
141
150
|
Layout of page-content with a list of blog posts at the end.
|
|
142
151
|
|
|
152
|
+
|
|
143
153
|
`_layouts/page-tag.html`::
|
|
144
154
|
Layout of pages containing a list of those posts being tagged with a given tag.
|
|
145
155
|
This file is required by the `generate-tagpages`-plugin.
|
|
146
156
|
|
|
157
|
+
|
|
147
158
|
`_layouts/post.html`::
|
|
159
|
+
+
|
|
160
|
+
--
|
|
148
161
|
Layout of blog-posts.
|
|
149
162
|
|
|
150
163
|
Start a new post in *AsciiDoc* by adding a file ending with `.adoc` to the `_posts/`-folder.
|
|
151
164
|
Do not forget the `page-`-prefix when setting page variables.
|
|
152
165
|
Jekyll-AsciiDoc has an https://github.com/asciidoctor/jekyll-asciidoc#specifying-a-layout[auto-detection mechanism for the layout].
|
|
153
166
|
Thus, you typically do not have to set the layout to `page` or `post`.
|
|
167
|
+
|
|
154
168
|
[source, AsciiDoc]
|
|
155
169
|
----
|
|
156
170
|
= Page title
|
|
@@ -173,12 +187,15 @@ title: Page title
|
|
|
173
187
|
|
|
174
188
|
Content
|
|
175
189
|
----
|
|
190
|
+
--
|
|
176
191
|
|
|
177
192
|
|
|
178
193
|
|
|
179
194
|
=== Includes
|
|
180
195
|
|
|
181
196
|
`_includes/function_list-pages.html`::
|
|
197
|
+
+
|
|
198
|
+
--
|
|
182
199
|
Generates the code containing links to each page.
|
|
183
200
|
The text of the link is the title of the page.
|
|
184
201
|
|
|
@@ -190,15 +207,21 @@ The order of the links can be determined with the help of the page variable `men
|
|
|
190
207
|
Pages with higher numbers appear on the left side of the menu.
|
|
191
208
|
Pages with a negative value for `menu_label` will be hidden from the menu.
|
|
192
209
|
This can be useful for your 404 page, which should be generated by Jekyll, but not visible in the menu.
|
|
210
|
+
--
|
|
211
|
+
|
|
193
212
|
|
|
194
213
|
`_includes/function_list-posts.html`::
|
|
195
214
|
Generates the code containing links to each blog-post.
|
|
196
215
|
The text of the link is the title of the post.
|
|
197
216
|
|
|
217
|
+
|
|
198
218
|
`_includes/function_tag-cloud.html`::
|
|
199
219
|
Generates a tag cloud.
|
|
200
220
|
|
|
221
|
+
|
|
201
222
|
`_includes/content_footer-usernames.html`::
|
|
223
|
+
+
|
|
224
|
+
--
|
|
202
225
|
Creates a list of contact options based on provided usernames and addresses.
|
|
203
226
|
The entries are preceded with the icons of (e.g.) the social network and are linked to the corresponding profile.
|
|
204
227
|
|
|
@@ -212,12 +235,16 @@ username_github: XXXX
|
|
|
212
235
|
username_xing: XXXX
|
|
213
236
|
username_linkedin: XXXX
|
|
214
237
|
----
|
|
238
|
+
--
|
|
239
|
+
|
|
215
240
|
|
|
216
241
|
`_includes/function_tag-list.html`::
|
|
217
242
|
Generates a formatted list of tags.
|
|
218
243
|
This is e.g. used to display the tags of a blog post.
|
|
219
244
|
|
|
220
245
|
`_includes/function_show-dates.html`::
|
|
246
|
+
+
|
|
247
|
+
--
|
|
221
248
|
Show the creation date and (if present) the date a blog post was last edited.
|
|
222
249
|
The date of the last edit can be configured by setting a value for the page-variable `lastedit`.
|
|
223
250
|
|
|
@@ -227,6 +254,8 @@ In AsciiDoc this would be e.g.:
|
|
|
227
254
|
----
|
|
228
255
|
:page-lastedit: 2020-10-29
|
|
229
256
|
----
|
|
257
|
+
--
|
|
258
|
+
|
|
230
259
|
|
|
231
260
|
`_includes/function_show-prev-next-navigation.html`::
|
|
232
261
|
Displays links to the previous and the next post of your blog.
|
|
@@ -235,8 +264,9 @@ Displays links to the previous and the next post of your blog.
|
|
|
235
264
|
|
|
236
265
|
=== Plugins
|
|
237
266
|
|
|
238
|
-
`_plugins/generate-tagpages.rb
|
|
239
|
-
|
|
267
|
+
`_plugins/generate-tagpages.rb`::
|
|
268
|
+
+
|
|
269
|
+
--
|
|
240
270
|
Generates a page for each tag listed in `site.tags`.
|
|
241
271
|
The files created are by default named `tags/<tagname>/index.html`.
|
|
242
272
|
The content is generated using the layout file `_layouts/page-tag.html`
|
|
@@ -253,7 +283,7 @@ tag_dir: post-for-tag
|
|
|
253
283
|
# default: `Tag: `
|
|
254
284
|
tag_title_prefix: "Posts tagged with: "
|
|
255
285
|
----
|
|
256
|
-
|
|
286
|
+
--
|
|
257
287
|
|
|
258
288
|
|
|
259
289
|
=== Styles
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Images.
|
|
3
|
+
*/
|
|
4
|
+
div.imageblock {
|
|
5
|
+
text-align: center;
|
|
6
|
+
|
|
7
|
+
img {
|
|
8
|
+
/* See also `img-fluid` class from Bootstrap. */
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
height: auto;
|
|
11
|
+
background: #fff;
|
|
12
|
+
border: 1px solid #aaa;
|
|
13
|
+
padding: 10px 10px;
|
|
14
|
+
border-radius: 5px;
|
|
15
|
+
}
|
|
16
|
+
.title {
|
|
17
|
+
padding-top: .75rem;
|
|
18
|
+
padding-bottom: .75rem;
|
|
19
|
+
color: #6c757d;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
dl{
|
|
2
|
+
dt {
|
|
3
|
+
margin-bottom: .3125em;
|
|
4
|
+
font-weight: bold;
|
|
5
|
+
}
|
|
6
|
+
dd {
|
|
7
|
+
margin-left: .5em;
|
|
8
|
+
padding-left: .5em;
|
|
9
|
+
margin-bottom: 1.25em;
|
|
10
|
+
border-left: 5px solid #dee2e6;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
li {
|
|
15
|
+
p {
|
|
16
|
+
/* Reduce distance between list entries. */
|
|
17
|
+
margin-bottom: .25rem;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.quoteblock {
|
|
2
|
+
margin: 1em 1.5em;
|
|
3
|
+
font-style: italic;
|
|
4
|
+
color: rgba(0,0,0,.6);
|
|
5
|
+
|
|
6
|
+
& > .title {
|
|
7
|
+
margin-left: -1.5em;
|
|
8
|
+
margin-bottom: .75em;
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
blockquote {
|
|
13
|
+
text-align: center;
|
|
14
|
+
background-color: #f8f8f8;
|
|
15
|
+
|
|
16
|
+
&::before, &::after {
|
|
17
|
+
font-size: 3em;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
line-height: .6em;
|
|
20
|
+
color: #721;
|
|
21
|
+
text-shadow: 0 1px 2px rgba(0,0,0,.1);
|
|
22
|
+
}
|
|
23
|
+
&::before {
|
|
24
|
+
content: "\201c";
|
|
25
|
+
float: left;
|
|
26
|
+
margin-left: -.6em;
|
|
27
|
+
}
|
|
28
|
+
&::after {
|
|
29
|
+
content: "\201d";
|
|
30
|
+
float: right;
|
|
31
|
+
margin-right: -.6em;
|
|
32
|
+
margin-top: -.6em;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.attribution {
|
|
37
|
+
margin-top: .5em;
|
|
38
|
+
margin-right: .5ex;
|
|
39
|
+
text-align: right;
|
|
40
|
+
|
|
41
|
+
cite {
|
|
42
|
+
display: block;
|
|
43
|
+
letter-spacing: -.025em;
|
|
44
|
+
font-size: .75em;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
}
|
data/assets/css/main.scss
CHANGED
|
Binary file
|
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.7.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-
|
|
11
|
+
date: 2020-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -49,6 +49,9 @@ files:
|
|
|
49
49
|
- _layouts/post.html
|
|
50
50
|
- _sass/address.scss
|
|
51
51
|
- _sass/adoc-admonition.scss
|
|
52
|
+
- _sass/adoc-images.scss
|
|
53
|
+
- _sass/adoc-lists.scss
|
|
54
|
+
- _sass/adoc-quote.scss
|
|
52
55
|
- _sass/adoc-tables.scss
|
|
53
56
|
- _sass/adoc.scss
|
|
54
57
|
- _sass/background.scss
|
|
@@ -58,6 +61,7 @@ files:
|
|
|
58
61
|
- _sass/tag-cloud.scss
|
|
59
62
|
- _sass/user.scss
|
|
60
63
|
- assets/css/main.scss
|
|
64
|
+
- assets/images/tree-3822149_640.jpg
|
|
61
65
|
- lib/jekyll-theme-endless.rb
|
|
62
66
|
- lib/jekyll-theme-endless/generate-tagpages.rb
|
|
63
67
|
- lib/jekyll-theme-endless/version.rb
|