j1-template 2021.1.14 → 2021.1.16
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/blocks/footer/boxes/issue.proc +28 -5
- data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +66 -23
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +0 -1
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +16 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +197 -219
- data/_includes/themes/j1/layouts/content_generator_collection.html +3 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +30 -22
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +27 -5
- data/_includes/themes/j1/procedures/posts/pager.proc +123 -0
- data/_layouts/default.html +2 -2
- data/assets/data/cookieconsent.html +0 -2
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu_toc.html +20 -1
- data/assets/data/panel.html +28 -7
- data/assets/themes/j1/adapter/js/cookieConsent.js +5 -3
- data/assets/themes/j1/adapter/js/j1.js +51 -29
- data/assets/themes/j1/adapter/js/themer.js +12 -24
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +4 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/footer.yml +52 -20
- data/lib/starter_web/_data/blocks/panel.yml +4 -4
- data/lib/starter_web/_data/builder/blog_navigator.yml +9 -192
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +389 -0
- data/lib/starter_web/_data/j1_config.yml +5 -2
- data/lib/starter_web/_data/locales/be.yml +269 -0
- data/lib/starter_web/_data/locales/cs.yml +218 -0
- data/lib/starter_web/_data/locales/da.yml +213 -0
- data/lib/starter_web/_data/locales/de.yml +222 -0
- data/lib/starter_web/_data/locales/el.yml +215 -0
- data/lib/starter_web/_data/locales/en.yml +215 -0
- data/lib/starter_web/_data/locales/es.yml +219 -0
- data/lib/starter_web/_data/locales/et.yml +207 -0
- data/lib/starter_web/_data/locales/fi.yml +211 -0
- data/lib/starter_web/_data/locales/fr.yml +219 -0
- data/lib/starter_web/_data/locales/hr.yml +240 -0
- data/lib/starter_web/_data/locales/hu.yml +196 -0
- data/lib/starter_web/_data/locales/it.yml +215 -0
- data/lib/starter_web/_data/locales/lv.yml +233 -0
- data/lib/starter_web/_data/locales/nl.yml +213 -0
- data/lib/starter_web/_data/locales/pl.yml +241 -0
- data/lib/starter_web/_data/locales/pt.yml +217 -0
- data/lib/starter_web/_data/locales/readme +4 -0
- data/lib/starter_web/_data/locales/ro.yml +209 -0
- data/lib/starter_web/_data/locales/ru.yml +269 -0
- data/lib/starter_web/_data/locales/sk.yml +211 -0
- data/lib/starter_web/_data/locales/sl.yml +209 -0
- data/lib/starter_web/_data/locales/sv.yml +207 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +0 -1
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -2
- data/lib/starter_web/_data/modules/themer.yml +1 -0
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +7 -6
- data/lib/starter_web/_data/plugins/paginator.yml +3 -0
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/date-i18n.rb +67 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +1 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +76 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +90 -26
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +77 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +91 -37
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +116 -0
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +94 -0
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +320 -0
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +123 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +33 -3
- data/_includes/themes/j1/procedures/global/pager.proc +0 -79
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: j1-template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2021.1.
|
4
|
+
version: 2021.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- juergen_jekyll_one
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -301,7 +301,6 @@ files:
|
|
301
301
|
- _includes/themes/j1/procedures/global/get_documents_dir.proc
|
302
302
|
- _includes/themes/j1/procedures/global/get_page_path.proc
|
303
303
|
- _includes/themes/j1/procedures/global/get_page_url.proc
|
304
|
-
- _includes/themes/j1/procedures/global/pager.proc
|
305
304
|
- _includes/themes/j1/procedures/global/select_color.proc
|
306
305
|
- _includes/themes/j1/procedures/global/select_font_size.proc
|
307
306
|
- _includes/themes/j1/procedures/global/select_icon_size.proc
|
@@ -319,6 +318,7 @@ files:
|
|
319
318
|
- _includes/themes/j1/procedures/posts/collate_timeline.proc
|
320
319
|
- _includes/themes/j1/procedures/posts/create_ad_block.proc
|
321
320
|
- _includes/themes/j1/procedures/posts/create_series_header.proc
|
321
|
+
- _includes/themes/j1/procedures/posts/pager.proc
|
322
322
|
- _layouts/app.html
|
323
323
|
- _layouts/blog_archive.html
|
324
324
|
- _layouts/collection.html
|
@@ -946,6 +946,7 @@ files:
|
|
946
946
|
- lib/starter_web/_data/blocks/footer.yml
|
947
947
|
- lib/starter_web/_data/blocks/panel.yml
|
948
948
|
- lib/starter_web/_data/builder/blog_navigator.yml
|
949
|
+
- lib/starter_web/_data/builder/defaults/blog_navigator.yml
|
949
950
|
- lib/starter_web/_data/categories.yml
|
950
951
|
- lib/starter_web/_data/colors.yml
|
951
952
|
- lib/starter_web/_data/font_sizes.yml
|
@@ -958,6 +959,29 @@ files:
|
|
958
959
|
- lib/starter_web/_data/layouts/page.yml
|
959
960
|
- lib/starter_web/_data/layouts/post.yml
|
960
961
|
- lib/starter_web/_data/layouts/raw.yml
|
962
|
+
- lib/starter_web/_data/locales/be.yml
|
963
|
+
- lib/starter_web/_data/locales/cs.yml
|
964
|
+
- lib/starter_web/_data/locales/da.yml
|
965
|
+
- lib/starter_web/_data/locales/de.yml
|
966
|
+
- lib/starter_web/_data/locales/el.yml
|
967
|
+
- lib/starter_web/_data/locales/en.yml
|
968
|
+
- lib/starter_web/_data/locales/es.yml
|
969
|
+
- lib/starter_web/_data/locales/et.yml
|
970
|
+
- lib/starter_web/_data/locales/fi.yml
|
971
|
+
- lib/starter_web/_data/locales/fr.yml
|
972
|
+
- lib/starter_web/_data/locales/hr.yml
|
973
|
+
- lib/starter_web/_data/locales/hu.yml
|
974
|
+
- lib/starter_web/_data/locales/it.yml
|
975
|
+
- lib/starter_web/_data/locales/lv.yml
|
976
|
+
- lib/starter_web/_data/locales/nl.yml
|
977
|
+
- lib/starter_web/_data/locales/pl.yml
|
978
|
+
- lib/starter_web/_data/locales/pt.yml
|
979
|
+
- lib/starter_web/_data/locales/readme
|
980
|
+
- lib/starter_web/_data/locales/ro.yml
|
981
|
+
- lib/starter_web/_data/locales/ru.yml
|
982
|
+
- lib/starter_web/_data/locales/sk.yml
|
983
|
+
- lib/starter_web/_data/locales/sl.yml
|
984
|
+
- lib/starter_web/_data/locales/sv.yml
|
961
985
|
- lib/starter_web/_data/modules/advertising.yml
|
962
986
|
- lib/starter_web/_data/modules/attics.yml
|
963
987
|
- lib/starter_web/_data/modules/authentication.yml
|
@@ -1012,6 +1036,7 @@ files:
|
|
1012
1036
|
- lib/starter_web/_plugins/asciidoctor-extensions/panel.rb
|
1013
1037
|
- lib/starter_web/_plugins/asciidoctor-extensions/shout-block.rb
|
1014
1038
|
- lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb
|
1039
|
+
- lib/starter_web/_plugins/date-i18n.rb
|
1015
1040
|
- lib/starter_web/_plugins/debug.rb
|
1016
1041
|
- lib/starter_web/_plugins/filters.rb
|
1017
1042
|
- lib/starter_web/_plugins/lorem_inline.rb
|
@@ -1050,6 +1075,7 @@ files:
|
|
1050
1075
|
- lib/starter_web/assets/images/modules/attics/leon-1920x1280.jpg
|
1051
1076
|
- lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg
|
1052
1077
|
- lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg
|
1078
|
+
- lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg
|
1053
1079
|
- lib/starter_web/assets/images/modules/attics/markus-spiske4-1920x1280.jpg
|
1054
1080
|
- lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg
|
1055
1081
|
- lib/starter_web/assets/images/modules/attics/matthew-dockery-1920x1280.jpg
|
@@ -1325,6 +1351,10 @@ files:
|
|
1325
1351
|
- lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc
|
1326
1352
|
- lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc
|
1327
1353
|
- lib/starter_web/pages/public/learn/where_to_go.adoc
|
1354
|
+
- lib/starter_web/pages/public/legal/de/100_copyright.adoc
|
1355
|
+
- lib/starter_web/pages/public/legal/de/100_impress.adoc
|
1356
|
+
- lib/starter_web/pages/public/legal/de/300_privacy.adoc
|
1357
|
+
- lib/starter_web/pages/public/legal/de/400_comment_policy.adoc
|
1328
1358
|
- lib/starter_web/pages/public/legal/en/100_copyright.adoc
|
1329
1359
|
- lib/starter_web/pages/public/legal/en/200_impress.adoc
|
1330
1360
|
- lib/starter_web/pages/public/legal/en/300_privacy.adoc
|
@@ -1,79 +0,0 @@
|
|
1
|
-
{% comment %}
|
2
|
-
# -----------------------------------------------------------------------------
|
3
|
-
# ~/_includes/themes/j1/procedures/global/pager.proc
|
4
|
-
# HTML/Liquid procedure to create a paginator for pages of type "post"
|
5
|
-
#
|
6
|
-
# Product/Info:
|
7
|
-
# http://jekyll.one
|
8
|
-
#
|
9
|
-
# Copyright (C) 2021 Juergen Adams
|
10
|
-
#
|
11
|
-
# J1 Template is licensed under the MIT License.
|
12
|
-
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
-
# -----------------------------------------------------------------------------
|
14
|
-
# NOTE:
|
15
|
-
# This pager reads the "page path" from cookie "cookieUserState". This
|
16
|
-
# data is used to return from a previous (page builder) page.
|
17
|
-
# -----------------------------------------------------------------------------
|
18
|
-
# Test data:
|
19
|
-
# liquid_var: {{ liquid_var | debug }}
|
20
|
-
# -----------------------------------------------------------------------------
|
21
|
-
{% endcomment %}
|
22
|
-
|
23
|
-
|
24
|
-
{% comment %} Variables
|
25
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
26
|
-
|
27
|
-
|
28
|
-
{% comment %} Liquid procedures
|
29
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
-
|
31
|
-
|
32
|
-
{% comment %} Main
|
33
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
-
|
35
|
-
<div class="paginator">
|
36
|
-
<ul class="pagination raised-z0">
|
37
|
-
|
38
|
-
{% comment %} Set PREVIOUS page
|
39
|
-
---------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
{% if page.previous %}
|
41
|
-
<li class="page-item"><a class="page-link" href="{{ base_path }}{{ page.previous.url }}" title="{{ page.previous.title }}">Prev</a></li>
|
42
|
-
{% else %}
|
43
|
-
<li class="page-item disabled"><a class="page-link">Prev</a></li>
|
44
|
-
{% endif %}
|
45
|
-
|
46
|
-
{% comment %} Set BACK page (PagerURL)
|
47
|
-
---------------------------------------------------------------------------- {% endcomment %}
|
48
|
-
<!-- [INFO ] [procedures.global.pager.proc ] [Manage the current pager settings for: {{ builder_path }}] -->
|
49
|
-
<script>
|
50
|
-
var cookie_names = j1.getCookieNames();
|
51
|
-
var user_state_cookie_name = cookie_names.user_session;
|
52
|
-
var user_state = j1.readCookie(user_state_cookie_name);
|
53
|
-
var re = new RegExp('navigator|dateview|tagview|archive');
|
54
|
-
var last_pager = user_state.last_pager;
|
55
|
-
var last_pager_url;
|
56
|
-
|
57
|
-
<!-- [INFO ] [procedures.global.pager.proc ] [Calculate BackURL from User State Cookie for page: {{page.title}}] -->
|
58
|
-
if (re.test(last_pager)) {
|
59
|
-
last_pager_url = '<li class="page-item"><a class="page-link" href="' + last_pager + '" title="Back to Top Page">Back</a></li>';
|
60
|
-
} else {
|
61
|
-
last_pager_url = '<li class="page-item disabled"><a class="page-link" title="Back to Top Page">Back</a></li>';
|
62
|
-
}
|
63
|
-
document.write( last_pager_url );
|
64
|
-
j1.writeCookie({
|
65
|
-
name: user_state_cookie_name,
|
66
|
-
data: user_state
|
67
|
-
});
|
68
|
-
</script>
|
69
|
-
|
70
|
-
{% comment %} Set NEXT page
|
71
|
-
---------------------------------------------------------------------------- {% endcomment %}
|
72
|
-
{% if page.next %}
|
73
|
-
<li class="page-item"><a class="page-link" href="{{ base_path }}{{ page.next.url }}" title="{{ page.next.title }}">Next</a></li>
|
74
|
-
{% else %}
|
75
|
-
<li class="page-item disabled"><a class="page-link" href="#">Next</a></li>
|
76
|
-
{% endif %}
|
77
|
-
|
78
|
-
</ul>
|
79
|
-
</div>
|