j1-template 2023.0.2 → 2023.0.5
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_collection.html +26 -74
- data/_includes/themes/j1/layouts/content_generator_post.html +8 -2
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +6 -0
- data/_includes/themes/j1/procedures/blocks/footer/boxes/social_media_icons.proc +22 -22
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +64 -19
- data/_includes/themes/j1/procedures/collections/pager.proc +127 -0
- data/_includes/themes/j1/procedures/posts/pager.proc +7 -3
- data/assets/data/banner.html +29 -18
- data/assets/data/panel.html +166 -120
- data/assets/themes/j1/adapter/js/navigator.js +77 -303
- data/assets/themes/j1/adapter/js/themer.js +106 -81
- data/assets/themes/j1/modules/themeSwitcher/js/_unsued/switcher.1.js +454 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +3 -3
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +23 -26
- data/lib/starter_web/_data/blocks/banner.yml +2 -1
- data/lib/starter_web/_data/blocks/panel.yml +7 -2
- data/lib/starter_web/_data/modules/attics.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +2 -2
- data/lib/starter_web/_data/modules/scroller.yml +5 -5
- data/lib/starter_web/_data/modules/themer.yml +0 -1
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/{triangles-bg.png → backgrounds/triangles-bg.png} +0 -0
- data/lib/starter_web/assets/images/icons/scalable/facebook.svg +34 -0
- data/lib/starter_web/assets/images/icons/scalable/google.svg +35 -0
- data/lib/starter_web/assets/images/icons/scalable/ibm.svg +24 -0
- data/lib/starter_web/assets/images/icons/scalable/microsoft.svg +42 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +98 -0
- data/lib/starter_web/collections/_biography/becoming.adoc +89 -0
- data/lib/starter_web/collections/_biography/born-to-run.adoc +92 -0
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +91 -0
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +85 -0
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +88 -0
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +90 -0
- data/lib/starter_web/package.json +2 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -0
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -1
- data/lib/starter_web/pages/public/bookshelf/viewer_biography.adoc +62 -0
- data/lib/starter_web/pages/public/bookshelf/whats_up.adoc +287 -0
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1 -0
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +18 -11
- data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.css +0 -1222
- data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +0 -1
- data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +0 -22307
- data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +0 -1
- data/assets/themes/j1/core/css/icon-fonts/twemoji.css +0 -9499
- data/assets/themes/j1/core/css/icon-fonts/twemoji.min.css +0 -1
- data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.css +0 -8876
- data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.min.css +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7150ba07bf5b44d49e4ba0ea903e645c13544a2a36009e86f257f7887c085f78
|
4
|
+
data.tar.gz: 9b2677bcabb97e8fb2cd7218085bb88f775abf3d5dd67db09ca9c3de0c6660eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba6a7d46596804de68b14e4beec348eadaed9d1fdf9ced5c992846e6f17de0da83ef5dc3fb4f1891ce47337e13596844843233e6b8097aad8e16f124e51c025c
|
7
|
+
data.tar.gz: e60964554a03bd147ed5a466740aa957408b1ef3acf402d888eb82bed6ad09c65671b9d60394145c61bfd158c3e86def0b067b3ff90997fcec3211fdb764a310
|
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
{% comment %} Liquid procedures
|
20
20
|
-------------------------------------------------------------------------------- {% endcomment %}
|
21
|
-
{% capture pager %}themes/{{site.template.name}}/procedures/
|
21
|
+
{% capture pager %}themes/{{site.template.name}}/procedures/collections/pager.proc{% endcapture %}
|
22
22
|
|
23
23
|
{% comment %} Process YML config data
|
24
24
|
================================================================================ {% endcomment %}
|
@@ -31,27 +31,16 @@
|
|
31
31
|
|
32
32
|
{% comment %} Set config data
|
33
33
|
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
-
{% assign toccer_defaults = modules.defaults.toccer.defaults %}
|
35
|
-
{% assign toccer_settings = modules.toccer.settings %}
|
36
34
|
|
37
35
|
{% comment %} Set config options
|
38
36
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
-
{% assign toccer_options = toccer_defaults | merge: toccer_settings %}
|
40
|
-
{% assign tocbot_enabled = toccer_options.enabled %}
|
41
37
|
|
42
38
|
{% comment %} Variables
|
43
39
|
-------------------------------------------------------------------------------- {% endcomment %}
|
44
40
|
{% assign rtext = template_config.typography.rtext %}
|
45
41
|
{% assign page_rtext = page.rtext %}
|
46
42
|
{% assign page_rtext_size = page.rtext_size %}
|
47
|
-
{% assign page_toccer = page.toccer %}
|
48
|
-
{% assign page_toc = page.toc %}
|
49
43
|
|
50
|
-
{% if tocbot_enabled and page_toc or page_toccer %}
|
51
|
-
{% assign sidebar = true %}
|
52
|
-
{% else %}
|
53
|
-
{% assign sidebar = false %}
|
54
|
-
{% endif %}
|
55
44
|
|
56
45
|
{% if rtext %}
|
57
46
|
{% assign rtext_size = site.data.j1_config.typography.rtext_size %}
|
@@ -62,76 +51,39 @@
|
|
62
51
|
|
63
52
|
{% comment %} Main
|
64
53
|
-------------------------------------------------------------------------------- {% endcomment %}
|
65
|
-
<!-- [INFO ] [j1.layout.content_generator_coll.html
|
66
|
-
<!-- div class="container mr-5 mb-5" -->
|
67
|
-
<!-- no sidebar, mr-* disabled -->
|
54
|
+
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ begin content ] -->
|
68
55
|
<div class="container mb-5">
|
69
56
|
<div class="row">
|
70
57
|
|
71
58
|
{% comment %} COLLECTION content
|
72
59
|
---------------------------------------------------------------------------- {% endcomment %}
|
73
|
-
{
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
<
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<!-- SPLIT page. Place a sidebar e.g. for the document toc -->
|
97
|
-
<!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
|
98
|
-
<main class="r-text-{{rtext_size}} js-toc-content">
|
99
|
-
|
100
|
-
<!-- Include a pager at top position -->
|
101
|
-
{% include {{pager}} %}
|
102
|
-
<div class="post-headline mt-4">
|
103
|
-
<h2 id="blog_article_navigator" class="notoc">{{ page.title }}</h2>
|
104
|
-
</div>
|
105
|
-
|
106
|
-
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ begin place content ] -->
|
107
|
-
{{content}}
|
108
|
-
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ end place content ] -->
|
109
|
-
|
110
|
-
{% comment %} CONNECTORS moved to a separate lane
|
111
|
-
------------------------------------------------------------------------ {% endcomment %}
|
112
|
-
<!-- Include the CONNECTOR for supported comment providers -->
|
113
|
-
{% comment %}
|
114
|
-
{% include themes/{{site.template.name}}/procedures/provider/comments %}
|
115
|
-
{% endcomment %}
|
116
|
-
|
117
|
-
</main> <!-- end col-md-9 -->
|
118
|
-
|
119
|
-
{% comment %} Place Sidebar|Tocbot
|
120
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
121
|
-
<!-- NOTE: BS or Tocbot Affix is not used anymore. Replaced by CSS style "sticky" -->
|
122
|
-
{% comment %} tocbot and page_navigation (not used anymore)
|
123
|
-
--------------------------------------------------------------------------
|
124
|
-
<aside class="col-md-3 d-none d-md-block sticky">
|
125
|
-
<div id="sidebar">
|
126
|
-
<div id="j1-toc-mgr" class="toc js-toc"></div>
|
127
|
-
</div>
|
128
|
-
</aside>
|
129
|
-
-------------------------------------------------------------------------- {% endcomment %}
|
130
|
-
{% endif %} <!-- endif page_navigation -->
|
60
|
+
<main class="r-text-{{rtext_size}} js-toc-content">
|
61
|
+
|
62
|
+
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ include a collection pager at the top most position ] -->
|
63
|
+
{% include {{pager}} %}
|
64
|
+
|
65
|
+
<div class="post-headline mt-4">
|
66
|
+
<h2 id="coll_article_navigator" class="notoc">{{ page.title }}</h2>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ begin place content ] -->
|
70
|
+
|
71
|
+
{{content}}
|
72
|
+
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ end place content ] -->
|
73
|
+
|
74
|
+
{% comment %} CONNECTORS moved to a separate lane
|
75
|
+
------------------------------------------------------------------------ {% endcomment %}
|
76
|
+
<!-- -->
|
77
|
+
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ include the CONNECTOR for supported comment providers ] -->
|
78
|
+
{% comment %}
|
79
|
+
{% include themes/{{site.template.name}}/procedures/provider/comments %}
|
80
|
+
{% endcomment %}
|
81
|
+
|
82
|
+
</main>
|
131
83
|
|
132
84
|
{% comment %} END COLLECTION content
|
133
85
|
---------------------------------------------------------------------------- {% endcomment %}
|
134
86
|
|
135
87
|
</div> <!-- end row -->
|
136
88
|
</div> <!-- end container -->
|
137
|
-
<!-- [INFO ] [j1.layout.content_generator_coll.html
|
89
|
+
<!-- [INFO ] [j1.layout.content_generator_coll.html ] [ end content ] -->
|
@@ -79,8 +79,14 @@
|
|
79
79
|
<!-- Blog post CONTENT -->
|
80
80
|
<div class="row">
|
81
81
|
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
82
|
-
|
83
|
-
|
82
|
+
{% if page.page_navigation %}
|
83
|
+
<!-- Include a PAGER (top position) -->
|
84
|
+
{% include {{pager}} %}
|
85
|
+
{% else %}
|
86
|
+
<!-- Skip to include a PAGER -->
|
87
|
+
{% endif %}
|
88
|
+
|
89
|
+
<!-- place blog post HEADLINE -->
|
84
90
|
<div class="post-headline mt-4">
|
85
91
|
{% if language == "en" %}
|
86
92
|
<h1 class="notoc">{{ page.date | localize: "%Y %B, %e" }}</h1>
|
@@ -198,6 +198,12 @@
|
|
198
198
|
{{personalization}}
|
199
199
|
|
200
200
|
|
201
|
+
{% comment %} Load additional fonts from remote
|
202
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
203
|
+
<!-- Google fonts -->
|
204
|
+
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css" />
|
205
|
+
|
206
|
+
|
201
207
|
{% comment %} J1 SEO processing
|
202
208
|
-------------------------------------------------------------------------------- {% endcomment %}
|
203
209
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ start SEO Optimization ] -->
|
@@ -32,28 +32,28 @@
|
|
32
32
|
{% assign key = icon[0] %}
|
33
33
|
{% assign value = icon[1] %}
|
34
34
|
|
35
|
-
{% if key == 'amazon' and value.enabled %}<li><a id="footerAmazonButton" href="{{value.href}}" data-original-title="Amazon" class="rounded-circle social_amazon "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
36
|
-
{% if key == 'behance' and value.enabled %}<li><a id="footerBehanceButton" href="{{value.href}}" data-original-title="Behance" class="rounded-circle social_behance "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
37
|
-
{% if key == 'blogger' and value.enabled %}<li><a id="footerBloggerButton" href="{{value.href}}" data-original-title="Blogger" class="rounded-circle social_blogger "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
38
|
-
{% if key == 'dribbble' and value.enabled %}<li><a id="footerDribbbleButton" href="{{value.href}}" data-original-title="Dribbble" class="rounded-circle social_dribbble "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
39
|
-
{% if key == 'dropbox' and value.enabled %}<li><a id="footerDropboxButton" href="{{value.href}}" data-original-title="Dropbox" class="rounded-circle social_dropbox "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
40
|
-
{% if key == 'evernote' and value.enabled %}<li><a id="footerEvernoteButton" href="{{value.href}}" data-original-title="Evernote" class="rounded-circle social_evernote "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
41
|
-
{% if key == 'facebook' and value.enabled %}<li><a id="footerFacebookButton" href="{{value.href}}" data-original-title="Facebook" class="rounded-circle social_facebook "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
42
|
-
{% if key == 'forrst' and value.enabled %}<li><a id="footerForrstButton" href="{{value.href}}" data-original-title="Forrst" class="rounded-circle social_forrst "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
43
|
-
{% if key == 'github' and value.enabled %}<li><a id="footerGithubButton" href="{{value.href}}" data-original-title="Github" class="rounded-circle social_github "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
44
|
-
{% if key == 'googleplus' and value.enabled %}<li><a id="footerGooglePlusButton" href="{{value.href}}" data-original-title="GooglePlus" class="rounded-circle social_github "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
45
|
-
{% if key == 'instagram' and value.enabled %}<li><a id="footerTnstagramButton" href="{{value.href}}" data-original-title="Instagram" class="rounded-circle social_instagram "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
46
|
-
{% if key == 'linkedin' and value.enabled %}<li><a id="footerLinkedinButton" href="{{value.href}}" data-original-title="linkedin" class="rounded-circle social_linkedin "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
47
|
-
{% if key == 'pintrest' and value.enabled %}<li><a id="footerPintrestButton" href="{{value.href}}" data-original-title="Pintrest" class="rounded-circle social_pintrest "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
48
|
-
{% if key == 'rss' and value.enabled %}<li><a id="footerRssButton" href="{{value.href}}" data-original-title="RSS" class="rounded-circle social_rss "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
49
|
-
{% if key == 'skype' and value.enabled %}<li><a id="footerSkypeButton" href="{{value.href}}" data-original-title="Skype" class="rounded-circle social_skype "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
50
|
-
{% if key == 'spotify' and value.enabled %}<li><a id="footerSpotifyButton" href="{{value.href}}" data-original-title="Spotify" class="rounded-circle social_spotify "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
51
|
-
{% if key == 'twitter' and value.enabled %}<li><a id="footerTwitterButton" href="{{value.href}}" data-original-title="Twitter" class="rounded-circle social_twitter "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
52
|
-
{% if key == 'vimeo' and value.enabled %}<li><a id="footerVimeoButton" href="{{value.href}}" data-original-title="Vimeo" class="rounded-circle social_vimeo "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
53
|
-
{% if key == 'vk' and value.enabled %}<li><a id="footerVkButton" href="{{value.href}}" data-original-title="VK" class="rounded-circle social_vk "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
54
|
-
{% if key == 'xing' and value.enabled %}<li><a id="footerXingButton" href="{{value.href}}" data-original-title="Xing" class="rounded-circle social_xing "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
55
|
-
{% if key == 'yahoo' and value.enabled %}<li><a id="footerYahooButton" href="{{value.href}}" data-original-title="Yahoo" class="rounded-circle social_yahoo "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
56
|
-
{% if key == 'youtube' and value.enabled %}<li><a id="footerYoutubeButton" href="{{value.href}}" data-original-title="Youtube" class="rounded-circle social_youtube "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
35
|
+
{% if key == 'amazon' and value.enabled %}<li><a id="footerAmazonButton" href="{{value.href}}" aria-label="footerAmazonButton" data-original-title="Amazon" class="rounded-circle social_amazon "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
36
|
+
{% if key == 'behance' and value.enabled %}<li><a id="footerBehanceButton" href="{{value.href}}" aria-label="footerBehanceButton" data-original-title="Behance" class="rounded-circle social_behance "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
37
|
+
{% if key == 'blogger' and value.enabled %}<li><a id="footerBloggerButton" href="{{value.href}}" aria-label="footerBloggerButton" data-original-title="Blogger" class="rounded-circle social_blogger "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
38
|
+
{% if key == 'dribbble' and value.enabled %}<li><a id="footerDribbbleButton" href="{{value.href}}" aria-label="footerDribbbleButton" data-original-title="Dribbble" class="rounded-circle social_dribbble "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
39
|
+
{% if key == 'dropbox' and value.enabled %}<li><a id="footerDropboxButton" href="{{value.href}}" aria-label="footerDropboxButton" data-original-title="Dropbox" class="rounded-circle social_dropbox "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
40
|
+
{% if key == 'evernote' and value.enabled %}<li><a id="footerEvernoteButton" href="{{value.href}}" aria-label="footerEvernoteButton" data-original-title="Evernote" class="rounded-circle social_evernote "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
41
|
+
{% if key == 'facebook' and value.enabled %}<li><a id="footerFacebookButton" href="{{value.href}}" aria-label="footerFacebookButton" data-original-title="Facebook" class="rounded-circle social_facebook "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
42
|
+
{% if key == 'forrst' and value.enabled %}<li><a id="footerForrstButton" href="{{value.href}}" aria-label="footerForrstButton" data-original-title="Forrst" class="rounded-circle social_forrst "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
43
|
+
{% if key == 'github' and value.enabled %}<li><a id="footerGithubButton" href="{{value.href}}" aria-label="footerGithubButton" data-original-title="Github" class="rounded-circle social_github "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
44
|
+
{% if key == 'googleplus' and value.enabled %}<li><a id="footerGooglePlusButton" href="{{value.href}}" aria-label="footerGooglePlusButton" data-original-title="GooglePlus" class="rounded-circle social_github "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
45
|
+
{% if key == 'instagram' and value.enabled %}<li><a id="footerTnstagramButton" href="{{value.href}}" aria-label="footerTnstagramButton" data-original-title="Instagram" class="rounded-circle social_instagram "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
46
|
+
{% if key == 'linkedin' and value.enabled %}<li><a id="footerLinkedinButton" href="{{value.href}}" aria-label="footerLinkedinButton" data-original-title="linkedin" class="rounded-circle social_linkedin "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
47
|
+
{% if key == 'pintrest' and value.enabled %}<li><a id="footerPintrestButton" href="{{value.href}}" aria-label="footerPintrestButton" data-original-title="Pintrest" class="rounded-circle social_pintrest "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
48
|
+
{% if key == 'rss' and value.enabled %}<li><a id="footerRssButton" href="{{value.href}}" aria-label="footerRssButton" data-original-title="RSS" class="rounded-circle social_rss "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
49
|
+
{% if key == 'skype' and value.enabled %}<li><a id="footerSkypeButton" href="{{value.href}}" aria-label="footerSkypeButton" data-original-title="Skype" class="rounded-circle social_skype "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
50
|
+
{% if key == 'spotify' and value.enabled %}<li><a id="footerSpotifyButton" href="{{value.href}}" aria-label="footerSpotifyButton" data-original-title="Spotify" class="rounded-circle social_spotify "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
51
|
+
{% if key == 'twitter' and value.enabled %}<li><a id="footerTwitterButton" href="{{value.href}}" aria-label="footerTwitterButton" data-original-title="Twitter" class="rounded-circle social_twitter "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
52
|
+
{% if key == 'vimeo' and value.enabled %}<li><a id="footerVimeoButton" href="{{value.href}}" aria-label="footerVimeoButton" data-original-title="Vimeo" class="rounded-circle social_vimeo "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
53
|
+
{% if key == 'vk' and value.enabled %}<li><a id="footerVkButton" href="{{value.href}}" aria-label="footerVkButton" data-original-title="VK" class="rounded-circle social_vk "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
54
|
+
{% if key == 'xing' and value.enabled %}<li><a id="footerXingButton" href="{{value.href}}" aria-label="footerXingButton" data-original-title="Xing" class="rounded-circle social_xing "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
55
|
+
{% if key == 'yahoo' and value.enabled %}<li><a id="footerYahooButton" href="{{value.href}}" aria-label="footerYahooButton" data-original-title="Yahoo" class="rounded-circle social_yahoo "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
56
|
+
{% if key == 'youtube' and value.enabled %}<li><a id="footerYoutubeButton" href="{{value.href}}" aria-label="footerYoutubeButton" data-original-title="Youtube" class="rounded-circle social_youtube "target="_blank" rel="noopener noreferrer"></a></li>{% endif %}
|
57
57
|
|
58
58
|
{% endfor %}
|
59
59
|
</ul>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
# ~/_includes/themes/j1/procedures/posts/
|
4
|
-
# Liquid PROCEDURE to create a series header for
|
3
|
+
# ~/_includes/themes/j1/procedures/posts/create_collection_article_preview.proc
|
4
|
+
# Liquid PROCEDURE to create a series header for collection articles
|
5
5
|
#
|
6
6
|
# http://jekyll.one
|
7
7
|
#
|
@@ -32,38 +32,83 @@
|
|
32
32
|
# -----------------------------------------------------------------------------
|
33
33
|
{% endcomment %}
|
34
34
|
|
35
|
-
{% comment %}
|
35
|
+
{% comment %} Set config files
|
36
36
|
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
-
|
37
|
+
{% assign template_config = site.data.j1_config %}
|
38
|
+
{% assign blocks = site.data.blocks %}
|
39
|
+
{% assign modules = site.data.modules %}
|
40
|
+
{% assign plugins = site.data.plugins %}
|
38
41
|
|
39
42
|
{% comment %} Variables
|
40
43
|
-------------------------------------------------------------------------------- {% endcomment %}
|
41
|
-
{% assign
|
44
|
+
{% assign category_blacklist = template_config.posts.category_blacklist %}
|
45
|
+
{% assign articles = include.collection %}
|
42
46
|
|
47
|
+
{% comment %} Debug templates
|
48
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
43
49
|
{% comment %} articles: {{ articles | debug }} {% endcomment %}
|
44
50
|
|
51
|
+
|
45
52
|
{% comment %} Main
|
46
53
|
-------------------------------------------------------------------------------- {% endcomment %}
|
47
54
|
{% for article in articles %}
|
48
55
|
|
49
56
|
{% comment %} article_url: {{ article.url | debug }} {% endcomment %}
|
57
|
+
{% comment %} article: {{ article | debug }} {% endcomment %}
|
58
|
+
|
59
|
+
<!-- Cleanup categories by given blacklist -->
|
60
|
+
{% assign my_categories = article.categories | difference: category_blacklist %}
|
50
61
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
{% endif %}
|
61
|
-
</a>
|
62
|
+
<!-- Build element strings -->
|
63
|
+
{% assign categories = my_categories |join: " · " %}
|
64
|
+
{% assign tags = article.tags | join: " · " %}
|
65
|
+
|
66
|
+
<article class="card raised-z0 mb-5">
|
67
|
+
|
68
|
+
<div class="card-header bg-primary">
|
69
|
+
<h3 id="{{100000|rand}}" class="card-header bg-primary notranslate">
|
70
|
+
{{ article.title }}
|
62
71
|
</h3>
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div class="row mx-0">
|
63
75
|
|
76
|
+
<div class="col-md-4 img-bg--fill px-0" style="border-right: 1px dotted rgba(0, 0, 0, 0.25);
|
77
|
+
filter: grayscale(1) contrast(0.8) brightness(0.7);
|
78
|
+
background-image: url( {{article.book.cover}} );">
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<div class="col-md-8 p-0">
|
82
|
+
|
83
|
+
<div class="card-body r-text-300 mt-0">
|
84
|
+
<div class="paragraph dropcap">
|
85
|
+
{{ article.excerpt }}
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
<div class="card-footer not-rounded r-text-200">
|
90
|
+
<div class="card-footer-text">
|
91
|
+
<i class="mdi mdi-calendar-blank md-grey-900 mr-1"></i> {{article.book.published}}</i>
|
92
|
+
|
93
|
+
<!-- Cleanup categories by given blacklist -->
|
94
|
+
<!-- Build element strings -->
|
95
|
+
<p class="result-item-text small mb-3 notranslate">
|
96
|
+
<i class="mdi mdi-tag-text-outline mdi-18px mr-1"></i>
|
97
|
+
<span class="sr-categories">{{categories}}</span>
|
98
|
+
<br>
|
99
|
+
<i class="mdi mdi-tag mdi-18px mr-1"></i>
|
100
|
+
<span class="sr-tags">{{tags}}</span>
|
101
|
+
</p>
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<a class="card-link md-grey-900 text-lowercase" href="{{ article.url }}#readmore">
|
105
|
+
read · {{article.tagline}}
|
106
|
+
</a>
|
107
|
+
</div>
|
108
|
+
|
109
|
+
</div>
|
64
110
|
</div>
|
65
|
-
|
66
|
-
|
67
|
-
</div>
|
111
|
+
|
112
|
+
</article>
|
68
113
|
|
69
114
|
{% endfor %}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/procedures/collections/pager.proc
|
4
|
+
# HTML/Liquid procedure to create a pager for content of type "collection"
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2023 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Theme is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
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
|
+
{% comment %} Liquid procedures
|
24
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
25
|
+
|
26
|
+
{% comment %} Process YML config data
|
27
|
+
================================================================================ {% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Set config files
|
30
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
31
|
+
{% assign template_config = site.data.j1_config %}
|
32
|
+
{% assign blocks = site.data.blocks %}
|
33
|
+
{% assign modules = site.data.modules %}
|
34
|
+
{% assign plugins = site.data.plugins %}
|
35
|
+
|
36
|
+
{% comment %} Set config data
|
37
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
38
|
+
{% assign blog_navigator_defaults = modules.defaults.blog_navigator.defaults %}
|
39
|
+
{% assign blog_navigator_settings = modules.blog_navigator.settings %}
|
40
|
+
|
41
|
+
{% comment %} Set config options
|
42
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
43
|
+
{% assign blog_navigator_options = blog_navigator_defaults | merge: blog_navigator_settings %}
|
44
|
+
|
45
|
+
|
46
|
+
{% comment %} Language detection
|
47
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
+
{% if {{site.language}} == "en" %}
|
49
|
+
{% assign language = "en" %}
|
50
|
+
{% elsif {{site.language}} == "de"%}
|
51
|
+
{% assign language = "de" %}
|
52
|
+
{% else %}
|
53
|
+
{% assign language = "en" %}
|
54
|
+
{% endif %}
|
55
|
+
|
56
|
+
{% comment %} Set language specific button text
|
57
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
58
|
+
{% if language == "en" %}
|
59
|
+
{% assign pager_previous_button_text = blog_navigator_options.button_text.pager.previous.en %}
|
60
|
+
{% assign pager_next_button_text = blog_navigator_options.button_text.pager.next.en %}
|
61
|
+
{% assign pager_back_button_text = blog_navigator_options.button_text.pager.back.en %}
|
62
|
+
{% assign pager_first_button_text = blog_navigator_options.button_text.pager.first.en %}
|
63
|
+
{% assign pager_last_button_text = blog_navigator_options.button_text.pager.last.en %}
|
64
|
+
{% endif %}
|
65
|
+
|
66
|
+
{% if language == "de" %}
|
67
|
+
{% assign pager_previous_button_text = blog_navigator_options.button_text.pager.previous.de %}
|
68
|
+
{% assign pager_next_button_text = blog_navigator_options.button_text.pager.next.de %}
|
69
|
+
{% assign pager_back_button_text = blog_navigator_options.button_text.pager.back.de %}
|
70
|
+
{% assign pager_first_button_text = blog_navigator_options.button_text.pager.first.de %}
|
71
|
+
{% assign pager_last_button_text = blog_navigator_options.button_text.pager.last.de %}
|
72
|
+
{% endif %}
|
73
|
+
|
74
|
+
|
75
|
+
{% comment %} Main
|
76
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
77
|
+
<!-- [INFO ] [procedures.collections.pager.proc ] [ manage the current pager settings ] -->
|
78
|
+
<div class="paginator">
|
79
|
+
<ul class="pagination raised-z0">
|
80
|
+
|
81
|
+
{% comment %} Set HOME page BUTTON (always)
|
82
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
83
|
+
<li class="page-item"><a class="page-link" href="/" title="Home">Home</a></li>
|
84
|
+
|
85
|
+
{% comment %} Set PREVIOUS page BUTTON
|
86
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
87
|
+
{% if page.previous %}
|
88
|
+
<li class="page-item"><a class="page-link" href="{{page.previous.url | absolute_url}}" title="{{page.previous.title}}">{{pager_previous_button_text}}</a></li>
|
89
|
+
{% else %}
|
90
|
+
<li class="page-item disabled"><a class="page-link">{{pager_first_button_text}}</a></li>
|
91
|
+
{% endif %}
|
92
|
+
|
93
|
+
{% comment %} Set NEXT page BUTTON
|
94
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
95
|
+
{% if page.next %}
|
96
|
+
<li class="page-item"><a class="page-link" href="{{page.next.url | absolute_url}}" title="{{page.next.title}}">{{pager_next_button_text}}</a></li>
|
97
|
+
{% else %}
|
98
|
+
<li class="page-item disabled"><a class="page-link" href="#void">{{pager_last_button_text}}</a></li>
|
99
|
+
{% endif %}
|
100
|
+
|
101
|
+
{% comment %} Set BACK page (PagerURL) BUTTON (currently NOT used)
|
102
|
+
----------------------------------------------------------------------------
|
103
|
+
<!-- [INFO ] [procedures.global.pager.proc ] [ manage the current pager settings for: {{builder_path}}] -->
|
104
|
+
<script>
|
105
|
+
var cookie_names = j1.getCookieNames();
|
106
|
+
var user_state_cookie_name = cookie_names.user_session;
|
107
|
+
var user_state = j1.readCookie(user_state_cookie_name);
|
108
|
+
var re = new RegExp('navigator|dateview|tagview|archive');
|
109
|
+
var last_pager = user_state.last_pager;
|
110
|
+
var last_pager_url;
|
111
|
+
|
112
|
+
<!-- [INFO ] [procedures.global.pager.proc ] [ calculate BackURL from User State Cookie for page: {{page.title}}] -->
|
113
|
+
if (re.test(last_pager)) {
|
114
|
+
last_pager_url = '<li class="page-item"><a class="page-link" href="' + last_pager + '" title="Back to {{pager_back_button_text}}">{{pager_back_button_text}}</a></li>';
|
115
|
+
} else {
|
116
|
+
last_pager_url = '<li class="page-item disabled"><a class="page-link" title="Back to {{pager_back_button_text}}">{{pager_back_button_text}}</a></li>';
|
117
|
+
}
|
118
|
+
document.write( last_pager_url );
|
119
|
+
j1.writeCookie({
|
120
|
+
name: user_state_cookie_name,
|
121
|
+
data: user_state
|
122
|
+
});
|
123
|
+
</script>
|
124
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
125
|
+
|
126
|
+
</ul>
|
127
|
+
</div>
|
@@ -78,7 +78,11 @@
|
|
78
78
|
<div class="paginator">
|
79
79
|
<ul class="pagination raised-z0">
|
80
80
|
|
81
|
-
{% comment %} Set
|
81
|
+
{% comment %} Set HOME page BUTTON (always)
|
82
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
83
|
+
<li class="page-item"><a class="page-link" href="/" title="Home">Home</a></li>
|
84
|
+
|
85
|
+
{% comment %} Set PREVIOUS page BUTTON
|
82
86
|
---------------------------------------------------------------------------- {% endcomment %}
|
83
87
|
{% if page.previous %}
|
84
88
|
<li class="page-item"><a class="page-link" href="{{page.previous.url | absolute_url}}" title="{{page.previous.title}}">{{pager_previous_button_text}}</a></li>
|
@@ -86,7 +90,7 @@
|
|
86
90
|
<li class="page-item disabled"><a class="page-link">{{pager_first_button_text}}</a></li>
|
87
91
|
{% endif %}
|
88
92
|
|
89
|
-
{% comment %} Set NEXT page
|
93
|
+
{% comment %} Set NEXT page BUTTON
|
90
94
|
---------------------------------------------------------------------------- {% endcomment %}
|
91
95
|
{% if page.next %}
|
92
96
|
<li class="page-item"><a class="page-link" href="{{page.next.url | absolute_url}}" title="{{page.next.title}}">{{pager_next_button_text}}</a></li>
|
@@ -94,7 +98,7 @@
|
|
94
98
|
<li class="page-item disabled"><a class="page-link" href="#void">{{pager_last_button_text}}</a></li>
|
95
99
|
{% endif %}
|
96
100
|
|
97
|
-
{% comment %} Set BACK page (PagerURL)
|
101
|
+
{% comment %} Set BACK page (PagerURL) BUTTON
|
98
102
|
---------------------------------------------------------------------------- {% endcomment %}
|
99
103
|
<!-- [INFO ] [procedures.global.pager.proc ] [Manage the current pager settings for: {{builder_path}}] -->
|
100
104
|
<script>
|
data/assets/data/banner.html
CHANGED
@@ -177,20 +177,21 @@ exclude_from_search: true
|
|
177
177
|
{% for item in items[1] %}
|
178
178
|
{% assign key = item[0] %}
|
179
179
|
{% assign value = item[1] %}
|
180
|
-
{% if key == 'enabled' %} {% assign card_enabled
|
181
|
-
{% if key == 'width' %} {% assign card_width
|
182
|
-
{% if key == 'type' %} {% assign card_type
|
183
|
-
{% if key == 'icon' %} {% assign icon
|
184
|
-
{% if key == 'icon_size' %} {% assign icon_size
|
185
|
-
{% if key == 'icon_color' %} {% assign icon_color
|
186
|
-
{% if key == 'image_path' %} {% assign card_image_path
|
187
|
-
{% if key == 'description_properties' %} {% assign card_properties
|
188
|
-
{% if key == '
|
189
|
-
{% if key == '
|
190
|
-
{% if key == '
|
191
|
-
{% if key == '
|
192
|
-
{% if key == '
|
193
|
-
{% if key == '
|
180
|
+
{% if key == 'enabled' %} {% assign card_enabled = value %} {% endif %}
|
181
|
+
{% if key == 'width' %} {% assign card_width = value %} {% endif %}
|
182
|
+
{% if key == 'type' %} {% assign card_type = value %} {% endif %}
|
183
|
+
{% if key == 'icon' %} {% assign icon = value %} {% endif %}
|
184
|
+
{% if key == 'icon_size' %} {% assign icon_size = value %} {% endif %}
|
185
|
+
{% if key == 'icon_color' %} {% assign icon_color = value %} {% endif %}
|
186
|
+
{% if key == 'image_path' %} {% assign card_image_path = value %} {% endif %}
|
187
|
+
{% if key == 'description_properties' %} {% assign card_properties = value %} {% endif %}
|
188
|
+
{% if key == 'position' %} {% assign heading_position = value | strip_newlines%} {% endif %}
|
189
|
+
{% if key == 'title' %} {% assign card_title = value | strip_newlines%} {% endif %}
|
190
|
+
{% if key == 'tagline' %} {% assign card_tagline = value | strip_newlines%} {% endif %}
|
191
|
+
{% if key == 'translate_description' %} {% assign card_translate_description = value %} {% endif %}
|
192
|
+
{% if key == 'description' %} {% assign card_description = value | strip_newlines%} {% endif %}
|
193
|
+
{% if key == 'text' %} {% assign card_text = value | strip_newlines%} {% endif %}
|
194
|
+
{% if key == 'buttons' %} {% assign card_buttons = value %} {% endif %}
|
194
195
|
{% endfor %}
|
195
196
|
{% if card_enabled == false %} {% assign card_items = card_items | minus:1 %} {% endif %}
|
196
197
|
{% endfor %}
|
@@ -257,17 +258,27 @@ exclude_from_search: true
|
|
257
258
|
<img
|
258
259
|
class="sticker-image"
|
259
260
|
src="/assets/images/sticker/600x600/sticker-new-version.png"
|
260
|
-
alt="Get new version 2023.0.
|
261
|
-
title="Get new version 2023.0.
|
261
|
+
alt="Get new version 2023.0.5"
|
262
|
+
title="Get new version 2023.0.5"
|
262
263
|
style="width: 140px; height: 120px;"
|
263
264
|
>
|
264
265
|
</a>
|
265
266
|
</div>
|
266
267
|
---------------------------------------------------------------- {% endcomment %}
|
267
268
|
|
268
|
-
|
269
|
-
<
|
269
|
+
{% if heading_position == 'left' %}
|
270
|
+
<h2 class="g-font-weight-500 mb-0 {{card_translate_description}}">{{card_title}}</h2>
|
271
|
+
<p class="tagline mb-0 card_translate_description">{{card_tagline}}</p>
|
270
272
|
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
|
273
|
+
{% endif%}
|
274
|
+
|
275
|
+
{% if heading_position == 'center' %}
|
276
|
+
<div class="text-center mb-2">
|
277
|
+
<h2 class="mb-0 {{card_translate_description}}">{{card_title}}</h2>
|
278
|
+
<p class="h4 mb-0 text-muted card_translate_description"><i>{{card_tagline}}</i></p>
|
279
|
+
<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>
|
280
|
+
</div>
|
281
|
+
{% endif%}
|
271
282
|
|
272
283
|
</div>
|
273
284
|
</div>
|