j1-template 2021.1.10 → 2021.1.14
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_app.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_collection.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_page.html +4 -1
- data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
- data/_includes/themes/j1/layouts/content_generator_raw.html +1 -1
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +55 -0
- 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/_layouts/default.html +51 -0
- data/assets/data/disqus.js +81 -0
- data/assets/data/hyvor.js +72 -0
- data/assets/error_pages/HTTP204.html +4 -0
- data/assets/error_pages/HTTP400.html +4 -0
- data/assets/error_pages/HTTP401.html +4 -0
- data/assets/error_pages/HTTP403.html +4 -0
- data/assets/error_pages/HTTP404.html +4 -0
- data/assets/error_pages/HTTP444.html +93 -0
- data/assets/error_pages/HTTP500.html +4 -0
- data/assets/error_pages/HTTP501.html +4 -0
- data/assets/error_pages/HTTP502.html +4 -0
- data/assets/error_pages/HTTP503.html +4 -0
- 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 +60 -41
- 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 +537 -237
- 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 +58 -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 +149 -96
- data/assets/themes/j1/adapter/js/toccer.js +9 -9
- data/assets/themes/j1/core/js/template.js +24 -4
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +24 -4
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -3
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +35 -23
- 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 +1 -1
- data/lib/starter_web/_config.yml +42 -24
- data/lib/starter_web/_data/j1_config.yml +22 -11
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +11 -9
- data/lib/starter_web/_data/modules/defaults/themer.yml +2 -0
- data/lib/starter_web/_data/resources.yml +0 -4
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/matthew-dockery-1920x1280.jpg +0 -0
- 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 +4 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +4 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +4 -0
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +5 -1
- 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/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 +10 -8
- data/assets/themes/j1/adapter/js/themer.1.js +0 -326
- data/assets/themes/j1/modules/util/js/js.cookie.js +0 -163
- data/assets/themes/j1/modules/util/js/lite-url.js +0 -203
- data/assets/themes/j1/modules/util/js/lite-url.min.js +0 -7
- data/assets/themes/j1/modules/util/js/platform.js +0 -1260
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +0 -244
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a61d65c241fc1b44dd4a784051991dbaec031f03627fd44d2071e72417a9b77
|
4
|
+
data.tar.gz: 1183eb75312c578769e06b377d5a1d65d8b458fa49d5fb92fd580795d14eea69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90a12b81819c1f04faf679fd8fe944fc28cf6750e7b60ab21b5f9eff697d54ad4d6a1387e576b8c968c845a1d2ef79fd095b14b8e110d5467ec72957f0bbded5
|
7
|
+
data.tar.gz: 3098d620a9bb16025e033f62379d166694976acdfe38ce0c8eb8952d6f40655da4f377c93238f747c24bf8ccc7cd5440fd1657064cddccdf0a5070e6ff9947d1
|
@@ -26,7 +26,7 @@
|
|
26
26
|
{% comment %} Main
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
28
|
<!-- [INFO ] [j1.layout.content_generator_app.html ] [ begin place content ] -->
|
29
|
-
<main id="app-content" class="col-md-12" style="padding-left:60px;padding-right:60px;">
|
29
|
+
<main id="main-content" id="app-content" class="col-md-12" style="padding-left:60px;padding-right:60px;">
|
30
30
|
{{content}}
|
31
31
|
</main>
|
32
32
|
<!-- [INFO ] [j1.layout.content_generator_app.html ] [ end place content] -->
|
@@ -72,7 +72,7 @@
|
|
72
72
|
<!-- div class="row" -->
|
73
73
|
|
74
74
|
<!-- main class="col-md-9 col-xs-12 r-text-{{rtext_size}} js-toc-content" -->
|
75
|
-
<main class="container r-text-{{rtext_size}} js-toc-content mb-5">
|
75
|
+
<main id="main-content" class="container r-text-{{rtext_size}} js-toc-content mb-5">
|
76
76
|
|
77
77
|
{% comment %} Blog Navigator
|
78
78
|
------------------------------------------------------------------------ {% endcomment %}
|
@@ -70,7 +70,7 @@
|
|
70
70
|
---------------------------------------------------------------------------- {% endcomment %}
|
71
71
|
{% if sidebar == false %}
|
72
72
|
<!-- FULL page - no sidebar for page toc -->
|
73
|
-
<main class="r-text-{{rtext_size}} js-toc-content">
|
73
|
+
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
74
74
|
|
75
75
|
<!-- Include a pager at top position -->
|
76
76
|
{% 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 ] -->
|
@@ -65,7 +65,7 @@
|
|
65
65
|
------------------------------------------------------------------------------ {% endcomment %}
|
66
66
|
<!-- FULL page - no sidebar for page toc -->
|
67
67
|
<div class="row">
|
68
|
-
<main class="r-text-{{rtext_size}} js-toc-content">
|
68
|
+
<main id="main-content" class="r-text-{{rtext_size}} js-toc-content">
|
69
69
|
<!-- Include a pager at top position -->
|
70
70
|
{% include {{pager}} %}
|
71
71
|
<!-- div class="featured-headline" -->
|
@@ -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] -->
|
@@ -172,6 +172,61 @@
|
|
172
172
|
{{robots_index}}
|
173
173
|
{{robots_follow}}
|
174
174
|
|
175
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: analytics ] -->
|
176
|
+
{% if page.analytics %}
|
177
|
+
{% capture analytics %}<meta name="analytics" content="true" />{% endcapture %}
|
178
|
+
{% else %}
|
179
|
+
{% capture analytics %}<meta name="analytics" content="false" />{% endcapture %}
|
180
|
+
{% endif %}
|
181
|
+
|
182
|
+
{{analytics}}
|
183
|
+
|
184
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: comments ] -->
|
185
|
+
{% if page.comments %}
|
186
|
+
{% capture comments %}<meta name="comments" content="true" />{% endcapture %}
|
187
|
+
{% else %}
|
188
|
+
{% capture comments %}<meta name="comments" content="false" />{% endcapture %}
|
189
|
+
{% endif %}
|
190
|
+
|
191
|
+
{{comments}}
|
192
|
+
|
193
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: advertising ] -->
|
194
|
+
{% if page.advertising %}
|
195
|
+
{% capture advertising %}<meta name="advertising" content="true" />{% endcapture %}
|
196
|
+
{% else %}
|
197
|
+
{% capture advertising %}<meta name="advertising" content="false" />{% endcapture %}
|
198
|
+
{% endif %}
|
199
|
+
|
200
|
+
{{advertising}}
|
201
|
+
|
202
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: youtube ] -->
|
203
|
+
{% if page.youtube %}
|
204
|
+
{% capture youtube %}<meta name="youtube" content="true" />{% endcapture %}
|
205
|
+
{% else %}
|
206
|
+
{% capture youtube %}<meta name="youtube" content="false" />{% endcapture %}
|
207
|
+
{% endif %}
|
208
|
+
|
209
|
+
{{youtube}}
|
210
|
+
|
211
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for provider APIs: vimeo ] -->
|
212
|
+
{% if page.vimeo %}
|
213
|
+
{% capture vimeo %}<meta name="vimeo" content="true" />{% endcapture %}
|
214
|
+
{% else %}
|
215
|
+
{% capture vimeo %}<meta name="vimeo" content="false" />{% endcapture %}
|
216
|
+
{% endif %}
|
217
|
+
|
218
|
+
{{vimeo}}
|
219
|
+
|
220
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ meta tag for privacy settings: personalization ] -->
|
221
|
+
{% if page.personalization %}
|
222
|
+
{% capture personalization %}<meta name="personalization" content="true" />{% endcapture %}
|
223
|
+
{% else %}
|
224
|
+
{% capture personalization %}<meta name="personalization" content="false" />{% endcapture %}
|
225
|
+
{% endif %}
|
226
|
+
|
227
|
+
{{personalization}}
|
228
|
+
|
229
|
+
|
175
230
|
{% comment %} SEO settings (optimization)
|
176
231
|
-------------------------------------------------------------------------------- {% endcomment %}
|
177
232
|
|
@@ -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
|
-
|
@@ -0,0 +1,33 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/hyvor-talk.html
|
4
|
+
# Support of hyvor talk comment provider for J1 Template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://talk.hyvor.com/
|
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
|
+
{% comment %} Main
|
28
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ place the thread container: start ] -->
|
30
|
+
<div id="hyvor-talk-view"></div>
|
31
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ connector depends on the cookie consent (personalization) ] -->
|
32
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ connector (dynamic) JS is enabled/disabled on OptIn/Out ] -->
|
33
|
+
<!-- [INFO ] [j1.modules.connectors.hyvor ] [ place the thread container: end ] -->
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/comments/just-comments.html
|
4
|
+
# Support of JustComments comment provider for J1 Template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
# https://just-comments.com/
|
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 -->
|
@@ -49,6 +49,9 @@
|
|
49
49
|
{% when "disqus" %}
|
50
50
|
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider DISQUS ] -->
|
51
51
|
{% include themes/{{site.template.name}}/modules/connectors/comment/disqus.html %}
|
52
|
+
{% when "hyvor" %}
|
53
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider HYVOR ] -->
|
54
|
+
{% include themes/{{site.template.name}}/modules/connectors/comment/hyvor.html %}
|
52
55
|
{% when "facebook" %}
|
53
56
|
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider FACEBOOK ] -->
|
54
57
|
{% include themes/{{site.template.name}}/procedures/provider/comment/facebook.html %}
|
data/_layouts/default.html
CHANGED
@@ -154,6 +154,57 @@ layout: compress
|
|
154
154
|
</div>
|
155
155
|
<!-- [INFO ] [j1.layout.default.html ] [ end default writer] -->
|
156
156
|
|
157
|
+
<!-- [INFO ] [j1.layout.default.html ] [ place noscript info|error page ] -->
|
158
|
+
{% assign language = site.language %}
|
159
|
+
{% assign webmaster_email = site.webmaster.email %}
|
160
|
+
{% assign copyright_info = site.copyright %}
|
161
|
+
{% assign http_error = '444' %}
|
162
|
+
{% assign back_url = "about:blank" %}
|
163
|
+
|
164
|
+
{% capture brand_image %}{{images_dir}}/{{brand_image_source}}{% endcapture %}
|
165
|
+
|
166
|
+
{% if language != 'en' or language != 'de' %}
|
167
|
+
{% assign language = 'en' %}
|
168
|
+
{% endif %}
|
169
|
+
|
170
|
+
{% if language == 'en' %}
|
171
|
+
{% assign title = "Javascript disabled" %}
|
172
|
+
{% assign back_url_text = "Cannot continue" %}
|
173
|
+
{% assign reason = "Your current browser settings reject the use of Javascript." %}
|
174
|
+
{% assign contact_issue = "Technical Contact" %}
|
175
|
+
{% endif %}
|
176
|
+
|
177
|
+
{% if language == 'de' %}
|
178
|
+
{% assign title = "Javascript abgeschaltet" %}
|
179
|
+
{% assign back_url_text = "Fortsetzung nicht möglich" %}
|
180
|
+
{% assign reason = "Die aktuellen Einstellungen Ihres Browsers verhindern die Ausführung von Javascript." %}
|
181
|
+
{% assign contact_issue = "Technischer Kontakt" %}
|
182
|
+
{% endif %}
|
183
|
+
|
184
|
+
<noscript>
|
185
|
+
<html lang="{{language}}">
|
186
|
+
<head>
|
187
|
+
<meta charset="utf-8" />
|
188
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
189
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
190
|
+
<meta name="robots" content="noindex, nofollow">
|
191
|
+
<link rel="icon" type="image/ico" href="modules/icons/j1/j1-32x32.ico">
|
192
|
+
<title>{{title}} · {{http_error}}</title>
|
193
|
+
<style> .my { margin-top: 8.5rem !important;} </style>
|
194
|
+
<style type="text/css">/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{cursor: pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{cursor: pointer ;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}body,html{width:100%;height:100%;background-color:#21232a}body{color:#fff;text-align:center;text-shadow:0 2px 4px rgba(0,0,0,.5);padding:0;min-height:100%;-webkit-box-shadow:inset 0 0 100px rgba(0,0,0,.8);box-shadow:inset 0 0 100px rgba(0,0,0,.8);display:table;font-family:"Open Sans",Arial,sans-serif}h1{font-family:inherit;font-weight:500;line-height:1.1;color:inherit;font-size:36px}h1 small{font-size:68%;font-weight:400;line-height:1;color:#777}a{text-decoration:none;color:#fff;font-size:inherit;border-bottom:dotted 1px #707070}.lead{color:silver;font-size:21px;line-height:1.4}.cover{display:table-cell;vertical-align:middle;padding:0 20px}footer{position:fixed;width:100%;height:40px;left:0;bottom:0;color:#a0a0a0;font-size:14px}</style>
|
195
|
+
</head>
|
196
|
+
<body>
|
197
|
+
<div class="header my">
|
198
|
+
<h1>{{title}} <small>{{http_error}}</small></h1>
|
199
|
+
<p class="lead">{{reason}}</p>
|
200
|
+
<div><a href="{{back_url}}">{{back_url_text}}</a></div>
|
201
|
+
</div>
|
202
|
+
<footer>
|
203
|
+
<p>{{copyright_info}} · {{contact_issue}}: <a href="mailto:{{webmaster_email}}?subject={{title}}">{{webmaster_email}}</a></p>
|
204
|
+
</footer>
|
205
|
+
</body>
|
206
|
+
</html>
|
207
|
+
</noscript>
|
157
208
|
</body>
|
158
209
|
|
159
210
|
{% comment %} Place|Initialize module components
|