j1-template 2023.9.0 → 2023.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_post.html +19 -49
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +185 -192
- data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -14
- data/_includes/themes/j1/procedures/posts/pager.proc +39 -46
- data/assets/data/speak2me.html +9 -7
- data/assets/themes/j1/adapter/js/navigator.js +5 -2
- data/assets/themes/j1/adapter/js/speak2me.js +181 -46
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +3 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +165 -133
- data/assets/themes/j1/core/js/template.min.js +7 -7
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +6 -4
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +89 -135
- data/lib/starter_web/_data/modules/defaults/speak2me.yml +8 -4
- data/lib/starter_web/_data/modules/navigator_menu.yml +14 -7
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +75 -71
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +110 -84
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +49 -33
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-01-about-j1.adoc +47 -26
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +66 -63
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +76 -77
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +63 -64
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +79 -64
- data/lib/starter_web/pages/public/blog/navigator/index.html +55 -99
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/themes_bootstrap.asciidoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +39 -29
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +0 -3
- data/lib/starter_web/pages/public/learn/roundtrip/highlghter_rouge.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +1 -0
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +1 -0
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +44 -62
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +1 -0
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +24 -13
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +4 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +4 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +632 -595
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +12 -3
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +3093 -3104
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- 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: e9b6f995afde1773f30da8ca14b395b5671e3cf0587bfd455b7a1d2df3fab4d2
|
4
|
+
data.tar.gz: 69c717035879827a595e080097b88cde053923fbd66348f800e94385ad3d9a31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5df11565f6d500fa76cf27e1bd64129cd4356ee0c0f37badd5238938bd3ed960a1cc15d948d0d06ab616e8442638b4897b0935b915cded2f06e43ebc10efd7b4
|
7
|
+
data.tar.gz: fb4582b5cda150586a0970000b7e8c27d1c82a06a1c5fd6716f76d4f6c2f17a0859feb0883d8ce7e212e7fb8b8875f38a0b8f05bb48c6167145fbc23523c31d8
|
@@ -52,17 +52,6 @@
|
|
52
52
|
{% assign rtext_size = 0 %}
|
53
53
|
{% endif %}
|
54
54
|
|
55
|
-
{% comment %} i18n: language detection
|
56
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
57
|
-
{% if site.language == "en" %}
|
58
|
-
{% assign language = "en" %}
|
59
|
-
{% elsif site.language == "de"%}
|
60
|
-
{% assign language = "de" %}
|
61
|
-
{% else %}
|
62
|
-
{% assign language = "en" %}
|
63
|
-
{% endif %}
|
64
|
-
|
65
|
-
|
66
55
|
{% comment %} Main
|
67
56
|
-------------------------------------------------------------------------------- {% endcomment %}
|
68
57
|
<!-- [INFO ] [j1.layout.content_generator_post.html ] [ begin content ] -->
|
@@ -87,47 +76,31 @@
|
|
87
76
|
{% endif %}
|
88
77
|
|
89
78
|
<!-- place blog post HEADLINE -->
|
90
|
-
<div class="post-headline mt-
|
91
|
-
{
|
92
|
-
|
93
|
-
|
94
|
-
{% endif %}
|
95
|
-
{% if language == "de" %}
|
96
|
-
<!-- h1 class="notoc">{{ page.date | localize: "%-d. %B %Y" }}</h1 -->
|
97
|
-
<h1 id="{{1000000 | rand}}">{{ page.date | localize: "%-d. %B %Y" }}</h1>
|
98
|
-
{% endif %}
|
79
|
+
<div class="post-headline mt-5">
|
80
|
+
<h1 id="{{1000000 | rand}}">{{ page.date | localize: "%Y %B, %e" }}</h1>
|
81
|
+
<!-- German date -->
|
82
|
+
<!-- h1 id="{{1000000 | rand}}">{{ page.date | localize: "%-d. %B %Y" }}</h1 -->
|
99
83
|
</div>
|
100
84
|
|
101
|
-
{% comment %} Place Blog post SERIES Navigation
|
85
|
+
{% comment %} Place Blog post SERIES Navigation (BS@5 OffCanvas)
|
102
86
|
-------------------------------------------------------------------------- {% endcomment %}
|
103
87
|
{% if page.series %}
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<ul class="nav navbar-nav">
|
111
|
-
<li class="nav-item">
|
112
|
-
<!-- jadams, 2021-08-04: modified displaying the series name -->
|
113
|
-
<!-- span class="navbar-text">Series: {{page.series}}</span-->
|
114
|
-
<span class="navbar-text mr-3" style="color: #FFF;font-weight: 500;"><b>{{page.series|upcase}}</b></span>
|
115
|
-
</li>
|
116
|
-
</ul>
|
88
|
+
<!-- jadams, 2023-09-18: added bs5 offcanvas -->
|
89
|
+
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasPostSeriesNavigation" aria-labelledby="Post Series Navigation">
|
90
|
+
|
91
|
+
<div class="offcanvas-header">
|
92
|
+
<h5 class="offcanvas-title" id="offcanvasPostSeriesNavigationLabel">Series Elements</h5>
|
93
|
+
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
117
94
|
</div>
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
<!-- jadams, 2021-02-28: disabled header -->
|
126
|
-
<!-- header><a class="navbar-brand mb-3">{{page.title}}</a></header -->
|
127
|
-
<!-- Series Navigator -->
|
128
|
-
{% comment %}{% include {{create_series_header}} page=page post=post readmore=page.readmore %}{% endcomment %}
|
129
|
-
{% include {{create_series_header}} page=page post=post readmore=false %}
|
95
|
+
|
96
|
+
<div class="offcanvas-body">
|
97
|
+
<div class="container content series-navigation">
|
98
|
+
<div class="row">
|
99
|
+
{% include {{create_series_header}} page=page post=post readmore=false %}
|
100
|
+
</div>
|
101
|
+
</div>
|
130
102
|
</div>
|
103
|
+
</div>
|
131
104
|
{% endif %}
|
132
105
|
{% comment %} END SERIES Navigation
|
133
106
|
-------------------------------------------------------------------------- {% endcomment %}
|
@@ -135,13 +108,10 @@
|
|
135
108
|
{% comment %} Inherit CONTENT
|
136
109
|
-------------------------------------------------------------------------- {% endcomment %}
|
137
110
|
<!-- Content placed by post_content.html -->
|
138
|
-
<!-- Additional div container placed for dropcaps used in series -->
|
139
111
|
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content mt-4">
|
140
112
|
{{content}}
|
141
113
|
</main>
|
142
114
|
|
143
|
-
{% if page.series %}</nav>{% endif %}
|
144
|
-
|
145
115
|
</div> <!-- end col-md-12 -->
|
146
116
|
</div> <!-- end row -->
|
147
117
|
|
@@ -56,224 +56,217 @@
|
|
56
56
|
{% assign posts_collate = include.items %}
|
57
57
|
{% assign limit_excerpt = include.limit_excerpt %}
|
58
58
|
{% assign category_blacklist = template_config.posts.category_blacklist %}
|
59
|
+
{% assign readmore_text = "read" %}
|
59
60
|
|
60
|
-
|
61
|
+
|
62
|
+
{% comment %} Main
|
61
63
|
-------------------------------------------------------------------------------- {% endcomment %}
|
62
|
-
{% if site.language == "en" %}
|
63
|
-
{% assign language = "en" %}
|
64
|
-
{% elsif site.language == "de"%}
|
65
|
-
{% assign language = "de" %}
|
66
|
-
{% else %}
|
67
|
-
{% assign language = "en" %}
|
68
|
-
{% endif %}
|
69
64
|
|
70
|
-
{% if
|
71
|
-
|
72
|
-
{% endif %}
|
65
|
+
{% if include.header_title %} {% assign header_title = include.header_title %} {% endif %}
|
66
|
+
{% if include.header_tagline %}{% assign header_tagline = include.header_tagline %}{% endif %}
|
73
67
|
|
74
|
-
{% if
|
75
|
-
|
68
|
+
{% if site.data.j1_config.posts_collate.provider == 'custom' %}
|
69
|
+
<!-- Use custom collator -->
|
70
|
+
{% include themes/{{site.template.name}}/procedures/custom/posts_collate %}
|
71
|
+
{% else %}
|
72
|
+
{% comment %} NOTE: header_title NOT used
|
73
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
74
|
+
<!-- Use j1 blog timeline collator -->
|
75
|
+
{% if header_title %}
|
76
|
+
<div class="row timeline-header-box">
|
77
|
+
<div class="text-center mb-3">
|
78
|
+
<h2 class="title notoc">{{header_title}}</h2>
|
79
|
+
{% if header_tagline %}
|
80
|
+
<div class="tagline">
|
81
|
+
<p>{{header_tagline}}</p>
|
82
|
+
</div>
|
83
|
+
{% endif %}
|
84
|
+
</div>
|
85
|
+
</div>
|
76
86
|
{% endif %}
|
77
87
|
|
78
|
-
|
79
|
-
|
88
|
+
<ul id="timeline" class="timeline">
|
89
|
+
{% for post in posts_collate %}
|
80
90
|
|
81
|
-
{%
|
82
|
-
{%
|
91
|
+
{% assign place_image = false %}
|
92
|
+
{% assign place_icon = false %}
|
83
93
|
|
84
|
-
|
85
|
-
|
86
|
-
|
94
|
+
<!-- Calculate left|right placement -->
|
95
|
+
{% assign indicator = forloop.index | modulo:2 %}
|
96
|
+
{% if indicator != 0 %}
|
97
|
+
{% assign blog_position = '' %}
|
98
|
+
<!-- left -->
|
87
99
|
{% else %}
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
{% if header_title %}
|
92
|
-
<div class="row timeline-header-box">
|
93
|
-
<div class="text-center mb-3">
|
94
|
-
<h2 class="title notoc">{{header_title}}</h2>
|
95
|
-
{% if header_tagline %}
|
96
|
-
<div class="tagline">
|
97
|
-
<p>{{header_tagline}}</p>
|
98
|
-
</div>
|
99
|
-
{% endif %}
|
100
|
-
</div>
|
101
|
-
</div>
|
102
|
-
{% endif %}
|
100
|
+
{% assign blog_position = 'timeline-inverted' %}
|
101
|
+
<!-- right -->
|
102
|
+
{% endif %}
|
103
103
|
|
104
|
-
|
105
|
-
|
104
|
+
<li class="{{blog_position}}">
|
105
|
+
<div class="timeline-badge"><i class="tmicon bg-primary rounded-x hidden-xs"></i></div>
|
106
|
+
<div class="card raised-z0 timeline-panel">
|
106
107
|
|
107
|
-
|
108
|
-
|
108
|
+
{% comment %} jadams, 2021-08-05:
|
109
|
+
NOTE: Changed headerlevel form h3 -> h2
|
110
|
+
---------------------------------------------------------------------- {% endcomment %}
|
111
|
+
<!-- div class="timeline-title" -->
|
112
|
+
<div class="card-header bg-primary pt-3 pb-2">
|
113
|
+
<h3 id="{{1000000 | rand}}" class="md-white notranslate">{{post.title}}</h3>
|
114
|
+
</div>
|
109
115
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
116
|
+
<!-- Collect icon data from frontmatter -->
|
117
|
+
{% if post.icons.category-icon.size > 0 %}
|
118
|
+
{% assign icon_name = post.icons.category-icon %}
|
119
|
+
{% assign icon_family = post.icons.family | strip | downcase %}
|
120
|
+
{% assign icon_size = post.icons.size %}
|
121
|
+
{% assign icon_color = post.icons.color %}
|
122
|
+
{% if icon_name %}
|
123
|
+
<!-- Set category icon: "{{icon_name}}" -->
|
124
|
+
{% assign place_icon = true %}
|
125
|
+
<!-- Flags: place_image = "{{place_image}}", place_icon = "{{place_icon}}" -->
|
126
|
+
{% endif %}
|
127
|
+
{% endif %}
|
128
|
+
|
129
|
+
<!-- Collect image data from frontmatter (overload icon data if configured) -->
|
130
|
+
{% if post.images.category-image.size > 0 %}
|
131
|
+
{% assign image_name = post.images.category-image %}
|
132
|
+
{% assign image_path = post.images.dir %}
|
133
|
+
{% capture image %}{{image_path}}/{{image_name}}{% endcapture %}
|
134
|
+
<!-- Set category image: "{{image}}" -->
|
135
|
+
{% assign place_image = true %}
|
136
|
+
{% assign place_icon = false %}
|
137
|
+
<!-- Flags: place_image = "{{place_image}}", place_icon = "{{place_icon}}" -->
|
138
|
+
{% endif %}
|
139
|
+
|
140
|
+
{% if place_icon %}
|
141
|
+
{% if icon_family == 'fontawesome' or icon_family == 'fontawesome5' %}
|
142
|
+
{% assign icon_family = 'fa' %}
|
143
|
+
{% elsif icon_family == 'mdi' %}
|
144
|
+
{% assign icon_family = 'mdi' %}
|
145
|
+
{% else %}
|
146
|
+
{% assign icon_family = 'mdi' %}
|
147
|
+
{% endif %}
|
148
|
+
{% endif %}
|
149
|
+
|
150
|
+
{% if place_icon %}
|
151
|
+
<!-- place_icon: {{icon_name}} -->
|
152
|
+
<div class="timeline-body">
|
153
|
+
<div class="timeline-tagline">
|
154
|
+
<p class="card-subtitle">{{post.tagline}}</p>
|
155
|
+
</div>
|
156
|
+
<!-- place excerpt -->
|
157
|
+
<div class="timeline-excerpt mb-4">
|
158
|
+
{% comment %} {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %} {% endcomment %}
|
159
|
+
{% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...' %}
|
160
|
+
<i class="timeline-icon {{icon_family}} {{icon_family}}-{{icon_name}} {{icon_family}}-{{icon_size}} {{icon_family}}-{{icon_color}}"></i>
|
161
|
+
{{excerpt}}
|
162
|
+
</div>
|
117
163
|
|
118
|
-
|
119
|
-
|
120
|
-
|
164
|
+
<div class="card-footer speak2me-ignore r-text-200 text-lowercase">
|
165
|
+
<a href="{{post.url}}"
|
166
|
+
class="btn btn-secondary btn-flex mb-0">
|
167
|
+
<i class="mdib mdib-eye mdib-lg mr-1" style="color:#FFFFFF;">
|
168
|
+
</i> {{readmore_text}} · {{post.tagline}}
|
169
|
+
</a>
|
170
|
+
</div>
|
121
171
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
172
|
+
</div>
|
173
|
+
{% elsif place_image %}
|
174
|
+
<!-- place_image: "{{image}}" -->
|
175
|
+
<div class="timeline-heading">
|
176
|
+
<img class="img-fluid" src="{{image}}" alt="Category Image">
|
177
|
+
</div>
|
178
|
+
<div class="timeline-body">
|
179
|
+
<div class="timeline-tagline">
|
180
|
+
<p class="card-subtitle">{{post.tagline}}</p>
|
181
|
+
</div>
|
182
|
+
<div class="timeline-excerpt mb-4">
|
183
|
+
{% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %}
|
184
|
+
{{excerpt}}
|
185
|
+
</div>
|
186
|
+
<div class="card-footer speak2me-ignore r-text-200 text-lowercase">
|
187
|
+
<a href="{{post.url}}"
|
188
|
+
class="btn btn-secondary btn-flex mb-0">
|
189
|
+
<i class="mdib mdib-eye mdib-lg mr-1" style="color:#FFFFFF;">
|
190
|
+
</i> {{readmore_text}} · {{post.tagline}}
|
191
|
+
</a>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
{% else %}
|
195
|
+
<!-- !place_icon && !place_image -->
|
196
|
+
<!-- div class="timeline-body" -->
|
197
|
+
<div class="card-body r-text-300 mt-0">
|
198
|
+
<div class="excerpt">
|
199
|
+
{% comment %} {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %} {% endcomment %}
|
200
|
+
{% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...' %}
|
201
|
+
{{excerpt}}
|
202
|
+
</div>
|
203
|
+
</div>
|
204
|
+
{% endif %}
|
129
205
|
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
<!-- Flags: place_image = "{{place_image}}", place_icon = "{{place_icon}}" -->
|
140
|
-
{% endif %}
|
141
|
-
{% endif %}
|
206
|
+
{% comment %} jadams, 2023-09-20: currently NOT used
|
207
|
+
----------------------------------------------------------------------------
|
208
|
+
<!-- Collect comment provider details -->
|
209
|
+
{% for sharing in builder_config.sharing_provider %}
|
210
|
+
{% assign provider = sharing.provider %}
|
211
|
+
{% assign likes_count = sharing.likes_count %}
|
212
|
+
{% assign comment_count = sharing.comment_count %}
|
213
|
+
{% endfor %}
|
214
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
142
215
|
|
143
|
-
|
144
|
-
|
145
|
-
{% assign image_name = post.images.category-image %}
|
146
|
-
{% assign image_path = post.images.dir %}
|
147
|
-
{% capture image %}{{image_path}}/{{image_name}}{% endcapture %}
|
148
|
-
<!-- Set category image: "{{image}}" -->
|
149
|
-
{% assign place_image = true %}
|
150
|
-
{% assign place_icon = false %}
|
151
|
-
<!-- Flags: place_image = "{{place_image}}", place_icon = "{{place_icon}}" -->
|
152
|
-
{% endif %}
|
216
|
+
<div class="card-footer speak2me-ignore r-text-200">
|
217
|
+
<div class="card-footer-text">
|
153
218
|
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
{% elsif icon_family == 'mdi' %}
|
158
|
-
{% assign icon_family = 'mdi' %}
|
159
|
-
{% else %}
|
160
|
-
{% assign icon_family = 'mdi' %}
|
161
|
-
{% endif %}
|
162
|
-
{% endif %}
|
219
|
+
{% if post.date %}
|
220
|
+
<i class="mdib mdib-calendar-blank md-grey-900 mr-2"></i>{{post.date | localize: "%Y %B, %e"}}
|
221
|
+
{% endif %}
|
163
222
|
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
<div class="timeline-excerpt mb-4">
|
172
|
-
{% comment %} {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %} {% endcomment %}
|
173
|
-
{% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...' %}
|
174
|
-
<i class="timeline-icon {{icon_family}} {{icon_family}}-{{icon_name}} {{icon_family}}-{{icon_size}} {{icon_family}}-{{icon_color}}"></i>
|
175
|
-
{{excerpt}}
|
176
|
-
</div>
|
177
|
-
<div class="card-footer speak2me-ignore r-text-200 text-lowercase">
|
223
|
+
{% comment %} jadams, 2023-09-20: currently NOT used
|
224
|
+
--------------------------------------------------------------------------
|
225
|
+
{% if likes_count %}
|
226
|
+
<span class="ml-3">
|
227
|
+
<i class="mdib mdib-heart md-grey-900 mr-0"></i> · {{likes_count}}
|
228
|
+
</span>
|
229
|
+
{% endif %}
|
178
230
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
</div>
|
186
|
-
{% elsif place_image %}
|
187
|
-
<!-- place_image: "{{image}}" -->
|
188
|
-
<div class="timeline-heading">
|
189
|
-
<img class="img-fluid" src="{{image}}" alt="Category Image">
|
190
|
-
</div>
|
191
|
-
<div class="timeline-body">
|
192
|
-
<div class="timeline-tagline">
|
193
|
-
<p class="card-subtitle">{{post.tagline}}</p>
|
194
|
-
</div>
|
195
|
-
<div class="timeline-excerpt mb-4">
|
196
|
-
{% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %}
|
197
|
-
{{excerpt}}
|
198
|
-
</div>
|
199
|
-
<div class="card-footer speak2me-ignore r-text-200 text-lowercase">
|
231
|
+
{% if comment_count %}
|
232
|
+
<span class="ml-3">
|
233
|
+
<i class="mdib mdib-comment md-grey-900 mr-0"></i> · {{comment_count}}
|
234
|
+
</span>
|
235
|
+
{% endif %}
|
236
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
200
237
|
|
201
|
-
|
202
|
-
|
203
|
-
<i class="mdib mdib-eye mdib-lg mr-1" style="color:#FFFFFF;">
|
204
|
-
</i> {{readmore_text}} · {{post.tagline}}
|
205
|
-
</a>
|
206
|
-
</div>
|
207
|
-
</div>
|
208
|
-
{% else %}
|
209
|
-
<!-- !place_icon && !place_image -->
|
210
|
-
<!-- div class="timeline-body" -->
|
211
|
-
<div class="card-body r-text-300 mt-0">
|
212
|
-
<!-- div class="tagline">
|
213
|
-
<p class="card-subtitle">{{post.tagline}}</p>
|
214
|
-
</div -->
|
215
|
-
<div class="excerpt">
|
216
|
-
{% comment %} {% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...'|strip_html %} {% endcomment %}
|
217
|
-
{% assign excerpt = post.excerpt|truncatewords: truncate_words|replace:'...',' ...' %}
|
218
|
-
{{excerpt}}
|
219
|
-
</div>
|
220
|
-
</div>
|
238
|
+
<!-- Cleanup categories by given blacklist -->
|
239
|
+
{% assign my_categories = post.categories | difference: category_blacklist %}
|
221
240
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
{% assign likes_count = sharing.likes_count %}
|
226
|
-
{% assign comment_count = sharing.comment_count %}
|
227
|
-
{% endfor %}
|
241
|
+
<!-- Build element strings -->
|
242
|
+
{% assign categories = my_categories |join: " · " %}
|
243
|
+
{% assign tags = post.tags | join: " · " %}
|
228
244
|
|
229
|
-
|
245
|
+
<p class="result-item-text small mb-3 notranslate">
|
246
|
+
<i class="mdib mdib-tag-text-outline mdib-18px mr-1"></i>
|
247
|
+
<span class="sr-categories">{{categories}}</span>
|
248
|
+
<br>
|
249
|
+
<i class="mdib mdib-tag mdib-18px mr-1"></i>
|
250
|
+
<span class="sr-tags">{{tags}}</span>
|
251
|
+
</p>
|
230
252
|
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
{% endif %}
|
236
|
-
{% if language == "de" %}
|
237
|
-
<i class="mdib mdib-calendar-blank md-grey-900 mr-1"></i>{{post.date | localize: "%-d. %B %Y"}}
|
238
|
-
{% endif %}
|
239
|
-
{% endif %}
|
240
|
-
{% if likes_count %}
|
241
|
-
<span class="font-weight-bold"> · </span>
|
242
|
-
<i class="mdib mdib-heart md-grey-900 mr-1"></i> {{likes_count}}
|
243
|
-
{% endif %}
|
244
|
-
{% if comment_count %}
|
245
|
-
<span class="font-weight-bold"> · </span>
|
246
|
-
<i class="mdib mdib-comment md-grey-900 mr-1"></i> {{comment_count}}
|
247
|
-
{% endif %}
|
253
|
+
<a class="card-link text-lowercase"
|
254
|
+
href="{{post.url}}">
|
255
|
+
{{readmore_text}} · {{post.tagline}}
|
256
|
+
</a>
|
248
257
|
|
249
|
-
|
250
|
-
|
258
|
+
</div>
|
259
|
+
</div>
|
260
|
+
</div>
|
261
|
+
</li>
|
262
|
+
{% endfor %}
|
251
263
|
|
252
|
-
|
253
|
-
|
254
|
-
{% assign tags = post.tags | join: " · " %}
|
264
|
+
<!-- final|last element placed as an empty list item -->
|
265
|
+
<li class="mb-0" style="float: none;"></li>
|
255
266
|
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<br>
|
260
|
-
<i class="mdib mdib-tag mdib-18px mr-1"></i>
|
261
|
-
<span class="sr-tags">{{tags}}</span>
|
262
|
-
</p>
|
263
|
-
<a class="card-link text-lowercase"
|
264
|
-
href="{{post.url}}">
|
265
|
-
{{readmore_text}} · {{post.tagline}}
|
266
|
-
</a>
|
267
|
-
</div>
|
268
|
-
{% endif %}
|
269
|
-
</div>
|
270
|
-
</li>
|
271
|
-
{% endfor %}
|
272
|
-
<!-- final|last element placed as an empty list item -->
|
273
|
-
<li class="clearfix mb-0" style="float: none;"></li>
|
274
|
-
</ul>
|
275
|
-
<!-- End Timeline Collator -->
|
276
|
-
{% endif %}
|
267
|
+
</ul>
|
268
|
+
<!-- End Timeline Collator -->
|
269
|
+
{% endif %}
|
277
270
|
|
278
271
|
<!-- Reset procedure variable -->
|
279
272
|
{% assign posts_collate = nil %}
|
@@ -42,15 +42,6 @@
|
|
42
42
|
{% assign post = include.post %}
|
43
43
|
{% assign readmore = include.readmore %}
|
44
44
|
|
45
|
-
{% comment %} i18n: language detection
|
46
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
47
|
-
{% if site.language == "en" %}
|
48
|
-
{% assign language = "en" %}
|
49
|
-
{% elsif site.language == "de" %}
|
50
|
-
{% assign language = "de" %}
|
51
|
-
{% else %}
|
52
|
-
{% assign language = "en" %}
|
53
|
-
{% endif %}
|
54
45
|
|
55
46
|
{% comment %} Main
|
56
47
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -65,11 +56,7 @@
|
|
65
56
|
<div class="container content series-navigation">
|
66
57
|
<div class="row">
|
67
58
|
<div style="width: calc(100% - 5px)">
|
68
|
-
|
69
|
-
{% assign series_heading = "This is <strong>part <<idx>> </strong> in a <strong><<count>>-part</strong> series:" %}
|
70
|
-
{% elsif site.language == "de" %}
|
71
|
-
{% assign series_heading = "indigenous ist <strong>Teil <<idx>> </strong> einer <strong><<count>>-er</strong> Serie:" %}
|
72
|
-
{% endif %}
|
59
|
+
{% assign series_heading = "This is <strong>part <<idx>> </strong> in a <strong><<count>>-part</strong> series:" %}
|
73
60
|
<!-- series heading -->
|
74
61
|
<h4 id="blog_series_list" class="notoc mt-2 mr-2 mb-4">{{series_heading}}</h4>
|
75
62
|
<ul class="side-nav" style="width: calc(100% - 15px)">
|