j1-template 2021.1.12 → 2021.1.17
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_app.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +197 -219
- data/_includes/themes/j1/layouts/content_generator_collection.html +4 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +4 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +31 -23
- data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +82 -4
- data/_includes/themes/j1/modules/connectors/comment/commento.html +31 -0
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +7 -8
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +12 -54
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +7 -8
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +33 -0
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +31 -0
- data/_includes/themes/j1/modules/connectors/comments +3 -0
- 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 +52 -1
- data/assets/data/cookieconsent.html +0 -2
- data/assets/data/disqus.js +81 -0
- data/assets/data/hyvor.js +72 -0
- data/assets/data/menu.html +1 -1
- data/assets/data/mmenu_toc.html +20 -1
- data/assets/data/panel.html +28 -7
- data/assets/error_pages/HTTP204.html +2 -1
- data/assets/error_pages/HTTP400.html +2 -1
- data/assets/error_pages/HTTP401.html +2 -1
- data/assets/error_pages/HTTP403.html +2 -1
- data/assets/error_pages/HTTP404.html +2 -1
- data/assets/error_pages/HTTP444.html +93 -0
- data/assets/error_pages/HTTP500.html +2 -1
- data/assets/error_pages/HTTP501.html +2 -1
- data/assets/error_pages/HTTP502.html +2 -1
- data/assets/error_pages/HTTP503.html +2 -1
- data/assets/themes/j1/adapter/js/algolia.js +10 -10
- data/assets/themes/j1/adapter/js/asciidoctor.js +6 -6
- data/assets/themes/j1/adapter/js/attic.js +17 -17
- data/assets/themes/j1/adapter/js/bmd.js +6 -6
- data/assets/themes/j1/adapter/js/carousel.js +10 -10
- data/assets/themes/j1/adapter/js/clipboard.js +10 -10
- data/assets/themes/j1/adapter/js/cookieConsent.js +54 -27
- data/assets/themes/j1/adapter/js/fam.js +34 -34
- data/assets/themes/j1/adapter/js/framer.js +6 -6
- data/assets/themes/j1/adapter/js/j1.js +444 -259
- data/assets/themes/j1/adapter/js/justifiedGallery.js +11 -11
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +19 -19
- data/assets/themes/j1/adapter/js/lightbox.js +6 -6
- data/assets/themes/j1/adapter/js/logger.js +7 -7
- data/assets/themes/j1/adapter/js/mmenu.js +25 -25
- data/assets/themes/j1/adapter/js/navigator.js +55 -48
- data/assets/themes/j1/adapter/js/quicksearch.js +6 -6
- data/assets/themes/j1/adapter/js/rouge.js +7 -7
- data/assets/themes/j1/adapter/js/rtable.js +6 -6
- data/assets/themes/j1/adapter/js/themer.js +35 -41
- data/assets/themes/j1/adapter/js/toccer.js +9 -9
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -3
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +27 -20
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +2 -2
- data/assets/themes/j1/modules/lunrSearch/js/quicksearch.js +1 -1
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +74 -55
- data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +75 -57
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +4 -5
- data/lib/starter_web/_config.yml +42 -24
- 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 +66 -41
- 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 +10 -10
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -0
- 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/assets/images/modules/attics/matthew-dockery-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/index.html +3 -3
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +3 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +3 -0
- data/lib/starter_web/pages/public/blog/navigator/archive.html +80 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +94 -26
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +81 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +95 -37
- data/lib/starter_web/pages/public/blog/navigator/index.html +4 -0
- data/lib/starter_web/pages/public/cookieConsent.adoc +3 -0
- data/lib/starter_web/pages/public/learn/quickstart.adoc +473 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +0 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +0 -2
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +0 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +0 -1
- 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/pages/public/legal/en/100_copyright.adoc +3 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +3 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +81 -20
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +34 -16
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +41 -4
- data/_includes/themes/j1/procedures/global/pager.proc +0 -79
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +0 -244
@@ -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/posts/pager.proc{% endcapture %}
|
22
22
|
|
23
23
|
{% comment %} Process YML config data
|
24
24
|
================================================================================ {% endcomment %}
|
@@ -39,6 +39,8 @@
|
|
39
39
|
{% assign toccer_options = toccer_defaults | merge: toccer_settings %}
|
40
40
|
{% assign tocbot_enabled = toccer_options.enabled %}
|
41
41
|
|
42
|
+
{% comment %} Variables
|
43
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
42
44
|
{% assign rtext = template_config.typography.rtext %}
|
43
45
|
{% assign page_rtext = page.rtext %}
|
44
46
|
{% assign page_rtext_size = page.rtext_size %}
|
@@ -70,7 +72,7 @@
|
|
70
72
|
---------------------------------------------------------------------------- {% endcomment %}
|
71
73
|
{% if sidebar == false %}
|
72
74
|
<!-- FULL page - no sidebar for page toc -->
|
73
|
-
<main class="r-text-{{rtext_size}} js-toc-content">
|
75
|
+
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
74
76
|
|
75
77
|
<!-- Include a pager at top position -->
|
76
78
|
{% include {{pager}} %}
|
@@ -30,6 +30,8 @@
|
|
30
30
|
{% comment %} set config data
|
31
31
|
-------------------------------------------------------------------------------- {% endcomment %}
|
32
32
|
{% assign template_config = site.data.j1_config %}
|
33
|
+
{% assign comments = site.data.j1_config.comments.enabled %}
|
34
|
+
|
33
35
|
|
34
36
|
{% comment %} set config options
|
35
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -45,10 +47,11 @@
|
|
45
47
|
{% assign rtext_size = 0 %}
|
46
48
|
{% endif %}
|
47
49
|
|
50
|
+
|
48
51
|
{% comment %} Main
|
49
52
|
-------------------------------------------------------------------------------- {% endcomment %}
|
50
53
|
<!-- [INFO ] [j1.layout.content_generator_page.html ] [ start main for full page ] -->
|
51
|
-
<main class="r-text-{{rtext_size}} js-toc-content">
|
54
|
+
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
52
55
|
<!-- [INFO ] [j1.layout.content_generator_page.html ] [ begin place content ] -->
|
53
56
|
{{content}}
|
54
57
|
<!-- [INFO ] [j1.layout.content_generator_page.html ] [ end place content ] -->
|
@@ -20,7 +20,7 @@
|
|
20
20
|
-------------------------------------------------------------------------------- {% endcomment %}
|
21
21
|
{% capture create_series_header %}themes/{{site.template.name}}/procedures/posts/create_series_header.proc{% endcapture %}
|
22
22
|
{% capture create_ad_block %}themes/{{site.template.name}}/procedures/posts/create_ad_block.proc{% endcapture %}
|
23
|
-
{% capture pager %}themes/{{site.template.name}}/procedures/
|
23
|
+
{% capture pager %}themes/{{site.template.name}}/procedures/posts/pager.proc{% endcapture %}
|
24
24
|
|
25
25
|
{% comment %} Process YML config data
|
26
26
|
================================================================================ {% endcomment %}
|
@@ -30,6 +30,8 @@
|
|
30
30
|
{% assign template_config = site.data.j1_config %}
|
31
31
|
{% assign blocks = site.data.blocks %}
|
32
32
|
{% assign modules = site.data.modules %}
|
33
|
+
{% assign builder = site.data.builder %}
|
34
|
+
{% assign plugins = site.data.plugins %}
|
33
35
|
|
34
36
|
{% comment %} Set config data
|
35
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -37,44 +39,58 @@
|
|
37
39
|
{% comment %} Set config options
|
38
40
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
41
|
|
40
|
-
|
42
|
+
|
43
|
+
{% comment %} Variables
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
+
{% assign rtext = template_config.typography.rtext %}
|
41
46
|
{% assign page_rtext = page.rtext %}
|
42
47
|
{% assign page_rtext_size = page.rtext_size %}
|
43
48
|
|
44
49
|
{% if rtext %}
|
45
|
-
{% assign rtext_size =
|
50
|
+
{% assign rtext_size = template_config.typography.rtext_size %}
|
46
51
|
{% else %}
|
47
52
|
{% assign rtext_size = 0 %}
|
48
53
|
{% endif %}
|
49
54
|
|
55
|
+
{% comment %} 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 %}
|
50
64
|
|
51
65
|
{% comment %} Main
|
52
66
|
-------------------------------------------------------------------------------- {% endcomment %}
|
53
67
|
<!-- [INFO ] [j1.layout.content_generator_post.html ] [ begin content ] -->
|
54
68
|
{% if page.comments %}
|
55
|
-
<!--
|
56
|
-
<!-- no sidebar, mr-* disabled -->
|
69
|
+
<!-- No space between set if comments enabled -->
|
57
70
|
<div class="container mb-0">
|
58
71
|
{% else %}
|
59
|
-
<!--
|
60
|
-
|
61
|
-
<div class="container mb-5"> <!-- Add additional space between end of article and the footer -->
|
72
|
+
<!-- Add additional space between end of article and the footer -->
|
73
|
+
<div class="container mb-5">
|
62
74
|
{% endif %}
|
63
75
|
|
64
76
|
{% comment %} Blog post CONTENT
|
65
77
|
------------------------------------------------------------------------------ {% endcomment %}
|
66
|
-
<!--
|
78
|
+
<!-- Blog post CONTENT -->
|
67
79
|
<div class="row">
|
68
|
-
<main class="r-text-{{rtext_size}} js-toc-content">
|
80
|
+
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
69
81
|
<!-- Include a pager at top position -->
|
70
82
|
{% include {{pager}} %}
|
71
|
-
<!-- div class="featured-headline" -->
|
72
83
|
<div class="post-headline mt-4">
|
73
|
-
|
84
|
+
{% if language == "en" %}
|
85
|
+
<h2 class="notoc">{{ page.date | localize: "%Y %B, %e" }}</h2>
|
86
|
+
{% endif %}
|
87
|
+
{% if language == "de" %}
|
88
|
+
<h2 class="notoc">{{ page.date | localize: "%-d. %B %Y" }}</h2>
|
89
|
+
{% endif %}
|
74
90
|
</div>
|
75
91
|
|
76
92
|
{% comment %} Place Blog post SERIES Navigation
|
77
|
-
|
93
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
78
94
|
{% if page.series %}
|
79
95
|
<header class="bmd-layout-header">
|
80
96
|
<!-- jadams, 2021-02-28 added mb-3 to the navbar -->
|
@@ -103,21 +119,13 @@
|
|
103
119
|
</div>
|
104
120
|
{% endif %}
|
105
121
|
{% comment %} END SERIES Navigation
|
106
|
-
|
122
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
107
123
|
|
108
124
|
{% comment %} Inherit CONTENT
|
109
|
-
|
125
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
110
126
|
<!-- Content placed by post_content.html -->
|
111
|
-
|
112
127
|
{{content}}
|
113
128
|
|
114
|
-
{% comment %} Place additional headline for comments
|
115
|
-
------------------------------------------------------------------------ {% endcomment %}
|
116
|
-
{% if page.comments %}
|
117
|
-
<h2 id="comments_leave_comment"> Leave a comment </h2>
|
118
|
-
{% endif %}
|
119
|
-
<!-- End Content placed by post_content.html -->
|
120
|
-
|
121
129
|
{% if page.series %}</nav>{% endif %}
|
122
130
|
|
123
131
|
</div> <!-- end col-md-12 -->
|
@@ -27,7 +27,7 @@
|
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
28
|
<!-- [INFO ] [j1.layout.content_generator_raw.html ] [ begin content ] -->
|
29
29
|
<!-- main id="raw-content" class="col-md-12" style="padding-left:60px;padding-right:60px;" -->
|
30
|
-
<main id="raw-content" class="col-md-12">
|
30
|
+
<main id="main-content" id="raw-content" class="col-md-12">
|
31
31
|
{{content}}
|
32
32
|
</main>
|
33
33
|
<!-- [INFO ] [j1.layout.content_generator_raw.html ] [ end content] -->
|
@@ -79,14 +79,28 @@
|
|
79
79
|
{% endif %}
|
80
80
|
{% else %}
|
81
81
|
{% if page.description %}
|
82
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ detected content type: PAGE ] -->
|
82
83
|
{% assign size = site.description|size %}
|
83
|
-
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ SIZE of page description: {{size}} ] -->
|
84
|
-
{% if size >=
|
85
|
-
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ GRATULATIONS. Your page description has more than
|
84
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ SIZE of page description: {{size}} chars ] -->
|
85
|
+
{% if size >= 70 %}
|
86
|
+
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ GRATULATIONS. Your page description has more than 70 characters. (Recommended: 70-160 characters) ] -->
|
86
87
|
{% else %}
|
87
|
-
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ Consider
|
88
|
+
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ Consider to IMPROVE|INCREASE your page description! ] -->
|
88
89
|
{% endif %}
|
89
90
|
<meta name="description" content="{{page.description}}" />
|
91
|
+
{% elsif page.excerpt %}
|
92
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ detected content type: POST ] -->
|
93
|
+
{% assign size = page.excerpt|size %}
|
94
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ SIZE of page exerpt: {{size}} chars ] -->
|
95
|
+
{% if size >= 70 %}
|
96
|
+
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ GRATULATIONS. Your page description (exerpt) has more than 70 characters. (Recommended: 70-160 characters) ] -->
|
97
|
+
{% else %}
|
98
|
+
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ Consider to IMPROVE|INCREASE your post excerpt for a valid page description! ] -->
|
99
|
+
{% endif %}
|
100
|
+
<meta name="description" content="{{page.excerpt|strip_html}}" />
|
101
|
+
{% else %}
|
102
|
+
<!-- [WARNING] [j1.layout.meta_data_generator.html ] [ NO page description detected ] -->
|
103
|
+
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ Consider to add a page description! ] -->
|
90
104
|
{% endif %}
|
91
105
|
{% endif %}
|
92
106
|
|
@@ -172,6 +186,70 @@
|
|
172
186
|
{{robots_index}}
|
173
187
|
{{robots_follow}}
|
174
188
|
|
189
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: analytics ] -->
|
190
|
+
{% if page.analytics and site.data.j1_config.analytics.enabled %}
|
191
|
+
{% capture analytics %}<meta name="analytics" content="true" />{% endcapture %}
|
192
|
+
{% else %}
|
193
|
+
{% capture analytics %}<meta name="analytics" content="false" />{% endcapture %}
|
194
|
+
{% endif %}
|
195
|
+
|
196
|
+
{{analytics}}
|
197
|
+
|
198
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: comments ] -->
|
199
|
+
{% if page.comments and site.data.j1_config.comments.enabled %}
|
200
|
+
{% capture comments %}<meta name="comments" content="true" />{% endcapture %}
|
201
|
+
{% else %}
|
202
|
+
{% capture comments %}<meta name="comments" content="false" />{% endcapture %}
|
203
|
+
{% endif %}
|
204
|
+
|
205
|
+
{{comments}}
|
206
|
+
|
207
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
|
208
|
+
{% if page.advertising and site.data.j1_config.advertising.enabled %}
|
209
|
+
{% capture advertising %}<meta name="advertising" content="true" />{% endcapture %}
|
210
|
+
{% else %}
|
211
|
+
{% capture advertising %}<meta name="advertising" content="false" />{% endcapture %}
|
212
|
+
{% endif %}
|
213
|
+
|
214
|
+
{{advertising}}
|
215
|
+
|
216
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
|
217
|
+
{% if page.translation and site.data.j1_config.translation.enabled %}
|
218
|
+
{% capture translation %}<meta name="translation" content="true" />{% endcapture %}
|
219
|
+
{% else %}
|
220
|
+
{% capture translation %}<meta name="translation" content="false" />{% endcapture %}
|
221
|
+
{% endif %}
|
222
|
+
|
223
|
+
{{translation}}
|
224
|
+
|
225
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: youtube ] -->
|
226
|
+
{% if page.youtube %}
|
227
|
+
{% capture youtube %}<meta name="youtube" content="true" />{% endcapture %}
|
228
|
+
{% else %}
|
229
|
+
{% capture youtube %}<meta name="youtube" content="false" />{% endcapture %}
|
230
|
+
{% endif %}
|
231
|
+
|
232
|
+
{{youtube}}
|
233
|
+
|
234
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: vimeo ] -->
|
235
|
+
{% if page.vimeo %}
|
236
|
+
{% capture vimeo %}<meta name="vimeo" content="true" />{% endcapture %}
|
237
|
+
{% else %}
|
238
|
+
{% capture vimeo %}<meta name="vimeo" content="false" />{% endcapture %}
|
239
|
+
{% endif %}
|
240
|
+
|
241
|
+
{{vimeo}}
|
242
|
+
|
243
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for privacy settings: personalization ] -->
|
244
|
+
{% if page.personalization %}
|
245
|
+
{% capture personalization %}<meta name="personalization" content="true" />{% endcapture %}
|
246
|
+
{% else %}
|
247
|
+
{% capture personalization %}<meta name="personalization" content="false" />{% endcapture %}
|
248
|
+
{% endif %}
|
249
|
+
|
250
|
+
{{personalization}}
|
251
|
+
|
252
|
+
|
175
253
|
{% comment %} SEO settings (optimization)
|
176
254
|
-------------------------------------------------------------------------------- {% endcomment %}
|
177
255
|
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/commento.html
|
4
|
+
# Support of commento comment provider for J1 Template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://commento.io/
|
9
|
+
#
|
10
|
+
# Copyright (C) 2021 Juergen Adams
|
11
|
+
#
|
12
|
+
# J1 Template is licensed under the MIT License.
|
13
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
# Test data:
|
16
|
+
# liquid_var: {{ liquid_var | debug }}
|
17
|
+
# -----------------------------------------------------------------------------
|
18
|
+
{% endcomment %}
|
19
|
+
|
20
|
+
{% comment %} Liquid procedures
|
21
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
22
|
+
|
23
|
+
{% comment %} Variables
|
24
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
{% comment %} Main
|
29
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
+
|
31
|
+
<!-- Your code for the custom provider goes here -->
|
@@ -1,15 +1,15 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
#
|
4
|
-
#
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/custom-provider.html
|
4
|
+
# Support of custom comment provider for J1 Template
|
5
5
|
#
|
6
|
-
#
|
7
|
-
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
10
|
#
|
11
|
-
#
|
12
|
-
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
# Test data:
|
15
15
|
# liquid_var: {{ liquid_var | debug }}
|
@@ -28,4 +28,3 @@
|
|
28
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
29
|
|
30
30
|
<!-- Your code for the custom provider goes here -->
|
31
|
-
|
@@ -1,15 +1,15 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
#
|
4
|
-
#
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/disqus.html
|
4
|
+
# Support of comment provider DISQUS for J1 Template
|
5
5
|
#
|
6
|
-
#
|
7
|
-
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
10
|
#
|
11
|
-
#
|
12
|
-
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
# Test data:
|
15
15
|
# liquid_var: {{ liquid_var | debug }}
|
@@ -21,54 +21,12 @@
|
|
21
21
|
|
22
22
|
{% comment %} Variables
|
23
23
|
-------------------------------------------------------------------------------- {% endcomment %}
|
24
|
-
{% assign disqus_short_name = site.data.j1_config.comments.disqus.short_name %}
|
25
24
|
|
26
25
|
|
27
26
|
{% comment %} Main
|
28
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
-
|
30
|
-
<div id="
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
$(document).ready(function() {
|
35
|
-
var dependencies_met_page_finished = setInterval (function () {
|
36
|
-
if (j1.getState() === 'finished') {
|
37
|
-
var disqus_shortname = '{{disqus_short_name}}';
|
38
|
-
// -----------------------------------------------------------------
|
39
|
-
// RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE
|
40
|
-
// SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
|
41
|
-
// LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
|
42
|
-
// https://disqus.com/admin/universalcode/#configuration-variables
|
43
|
-
// -----------------------------------------------------------------
|
44
|
-
//
|
45
|
-
// var disqus_config = function () {
|
46
|
-
// this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
|
47
|
-
// Replace PAGE_IDENTIFIER with your page's unique
|
48
|
-
// identifier variable
|
49
|
-
// this.page.identifier = PAGE_IDENTIFIER;
|
50
|
-
// };
|
51
|
-
//
|
52
|
-
// DON'T EDIT BELOW THIS LINE
|
53
|
-
// -----------------------------------------------------------------
|
54
|
-
(function() {
|
55
|
-
var d = document,
|
56
|
-
s = d.createElement('script');
|
57
|
-
s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
58
|
-
s.setAttribute('data-timestamp', +new Date());
|
59
|
-
(d.head || d.body).appendChild(s);
|
60
|
-
})();
|
61
|
-
clearInterval(dependencies_met_page_finished);
|
62
|
-
}
|
63
|
-
}, 25);
|
64
|
-
});
|
65
|
-
</script>
|
66
|
-
</div>
|
67
|
-
|
68
|
-
<noscript>
|
69
|
-
Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
|
70
|
-
</noscript>
|
71
|
-
|
72
|
-
<script id="dsq-count-scr" src="//{{disqus_short_name}}.disqus.com/count.js" async></script>
|
73
|
-
|
74
|
-
</div>
|
28
|
+
<!-- [INFO ] [j1.modules.connectors.disqus ] [ place the thread container: start ] -->
|
29
|
+
<div id="disqus_thread"></div>
|
30
|
+
<!-- [INFO ] [j1.modules.connectors.disqus ] [ connector depends on the cookie consent (personalization) ] -->
|
31
|
+
<!-- [INFO ] [j1.modules.connectors.disqus ] [ connector (dynamic) JS is enabled/disabled on OptIn/Out ] -->
|
32
|
+
<!-- [INFO ] [j1.modules.connectors.disqus ] [ place the thread container: end ] -->
|
@@ -1,15 +1,15 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
|
-
#
|
4
|
-
#
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/custom-provider.html
|
4
|
+
# Support of comment provider Facebook for J1 Template
|
5
5
|
#
|
6
|
-
#
|
7
|
-
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
10
|
#
|
11
|
-
#
|
12
|
-
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
# Test data:
|
15
15
|
# liquid_var: {{ liquid_var | debug }}
|
@@ -28,4 +28,3 @@
|
|
28
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
29
|
|
30
30
|
<!-- Your code for the custom provider goes here -->
|
31
|
-
|