j1-template 2021.1.0 → 2021.1.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/layout_metadata_generator.html +54 -39
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +1 -1
- data/_includes/themes/j1/modules/connectors/ads +3 -5
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +9 -5
- data/_includes/themes/j1/modules/connectors/analytics +4 -2
- data/_includes/themes/j1/modules/connectors/comments +7 -6
- data/_includes/themes/j1/modules/connectors/translator +3 -4
- data/_includes/themes/j1/modules/navigator/generator.html +4 -40
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +64 -22
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -10
- data/_layouts/default.html +4 -7
- data/apps/public/cc/index.adoc +13 -4
- data/assets/data/authclient.html +234 -228
- data/assets/data/banner.html +34 -31
- data/assets/data/cookieconsent.html +249 -0
- data/assets/data/fam.html +5 -0
- data/assets/data/footer.html +4 -0
- data/assets/data/gallery_customizer.html +14 -4
- data/assets/data/menu.html +7 -2
- data/assets/data/mmenu.html +6 -2
- data/assets/data/mmenu_sidebar.html +5 -1
- data/assets/data/mmenu_toc.html +4 -0
- data/assets/data/panel.html +23 -15
- data/assets/data/quicklinks.html +24 -17
- 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/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/error_pages/HTTP520.html +2 -1
- data/assets/error_pages/HTTP521.html +2 -1
- data/assets/error_pages/HTTP533.html +2 -1
- data/assets/themes/j1/adapter/js/{cookiebar.js → cookieConsent.js} +102 -54
- data/assets/themes/j1/adapter/js/j1.js +53 -20
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +3 -2
- data/assets/themes/j1/adapter/js/mmenu.js +8 -4
- data/assets/themes/j1/adapter/js/navigator.js +77 -22
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3960 -240
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +3 -9
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +3 -9
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +58 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +778 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +981 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +47 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +10 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +30 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +15 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +262 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +15 -0
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +1362 -0
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +4 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +402 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +8 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +206 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +126 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +101 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +105 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +107 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +478 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +342 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +527 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +5 -0
- data/assets/themes/j1/modules/cookieConsent/LICENSE +21 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +286 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +28 -0
- data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +4 -3
- data/assets/themes/j1/modules/iframeResizer/examples/frame.hover.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.nested.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.textarea.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +4 -2
- data/assets/themes/j1/modules/iframeResizer/examples/index.html +2 -0
- data/assets/themes/j1/modules/iframeResizer/examples/two.html +4 -2
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1368 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.min.js +10 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +344 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +7 -0
- data/assets/themes/j1/modules/util/js/domready.js +146 -0
- data/assets/themes/j1/modules/util/js/gtag-opt-in.js +1 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +74 -77
- data/lib/starter_web/_data/_defaults/resources.yml +11 -8
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +1 -0
- data/lib/starter_web/_data/blocks/banner.yml +30 -24
- data/lib/starter_web/_data/blocks/panel.yml +9 -7
- data/lib/starter_web/_data/builder/blog_navigator.yml +6 -1
- data/lib/starter_web/_data/j1_config.yml +2 -2
- data/lib/starter_web/_data/layouts/blog_archive.yml +9 -0
- data/lib/starter_web/_data/layouts/collection.yml +10 -0
- data/lib/starter_web/_data/layouts/default.yml +25 -59
- data/lib/starter_web/_data/layouts/home.yml +6 -5
- data/lib/starter_web/_data/layouts/page.yml +1 -1
- data/lib/starter_web/_data/modules/{cookiebar.yml → cookieconsent.yml} +4 -4
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +135 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
- data/lib/starter_web/_data/modules/navigator.yml +24 -21
- data/lib/starter_web/_data/modules/navigator_menu.yml +2 -2
- data/lib/starter_web/_data/pages/builder.yml +7 -7
- data/lib/starter_web/_data/private.yml +6 -6
- data/lib/starter_web/_data/resources.yml +13 -8
- data/lib/starter_web/_includes/attributes.asciidoc +10 -1
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/attics/christa-dodoo-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/{cookies-1920x1200-bw.jpg → cookies-1920x1200.jpg} +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +3 -9
- data/lib/starter_web/collections/posts/public/featured/_posts/2020-01-01-about-cookies.adoc +4 -11
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-01-site-generators.adoc +1 -8
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -8
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +2 -8
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +2 -9
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +2 -9
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +2 -9
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +3 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +3 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +3 -1
- data/lib/starter_web/index.html +7 -13
- data/lib/starter_web/package.json +3 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +7 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +5 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +6 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +5 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +6 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +6 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +6 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +40 -24
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +48 -28
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +45 -28
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +41 -13
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -4
- data/lib/starter_web/pages/public/cookieConsent.adoc +93 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +244 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +3 -2
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -18
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +7 -5
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +7 -6
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +111 -214
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +7 -5
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +7 -2
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/rouge.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +74 -14
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics-legacy.html +0 -36
- data/assets/data/cookiebar.html +0 -281
- data/lib/starter_web/_data/_defaults/private.yml +0 -156
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +0 -132
- data/lib/starter_web/_data/private@default.yml +0 -119
- data/lib/starter_web/_data/private@localhost.yml +0 -156
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -37
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/debug_variables.asciidoc +0 -47
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e93fb15ef56819b92a0d748c7e809c7381ac50e69868be5777ce21f01acf066
|
4
|
+
data.tar.gz: 2b710cb4d00181ee1b027fd6ea406a3e2c293a27cae544c3e72d5de055c43833
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88e8c900a10010e9bc600663c22fb7b0f0b292ea71e3bc700022519c3929cdec359b5af9d07bdfafd970fafd70933548fcc819e808a34acfe0b97ddd9ee8485a
|
7
|
+
data.tar.gz: 4edee51b60f67d1066729ef1fce3e1106cd957e9f06fbfbcfbd232aa7bcedb7d173af6955a516f76b52724f22f4d194227826b59083cfe15c752c0ea86f6a624
|
@@ -47,17 +47,17 @@
|
|
47
47
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ start processing: place meta tags (taken from site config|page frontmatter) ] -->
|
48
48
|
|
49
49
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ page|content encoding ] -->
|
50
|
-
<meta http-equiv="Content-Type" content="text/html;charset={{site.coding}}"
|
50
|
+
<meta http-equiv="Content-Type" content="text/html;charset={{site.coding}}" />
|
51
51
|
|
52
52
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ added for MS Edge Browser ] -->
|
53
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge"
|
53
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
54
54
|
|
55
55
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ initial zoom level when the page is first loaded by the browser ] -->
|
56
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0"
|
56
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
57
57
|
|
58
58
|
{% if template_config.translation.enabled %}
|
59
59
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ add google translator meta tag to enable customized translations ] -->
|
60
|
-
<meta name="google-translate-customization"
|
60
|
+
<meta name="google-translate-customization" />
|
61
61
|
{% endif %}
|
62
62
|
|
63
63
|
{% if page.layout == 'home' %}
|
@@ -75,7 +75,7 @@
|
|
75
75
|
{% else %}
|
76
76
|
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ Consider! IMPROVE|INCREASE your site description, recommended: 70-160 characters ] -->
|
77
77
|
{% endif %}
|
78
|
-
<meta name="description" content="{{site.description}}"
|
78
|
+
<meta name="description" content="{{site.description}}" />
|
79
79
|
{% endif %}
|
80
80
|
{% else %}
|
81
81
|
{% if page.description %}
|
@@ -86,76 +86,91 @@
|
|
86
86
|
{% else %}
|
87
87
|
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ Consider! to IMPROVE|INCREASE your page description ] -->
|
88
88
|
{% endif %}
|
89
|
-
<meta name="description" content="{{page.description}}"
|
89
|
+
<meta name="description" content="{{page.description}}" />
|
90
90
|
{% endif %}
|
91
91
|
{% endif %}
|
92
92
|
|
93
93
|
{% if site.favicon.image %}
|
94
|
-
<link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}"
|
94
|
+
<link rel="icon" type="{{site.favicon.type}}" href="{{site.data.j1_config.image_path}}/{{site.favicon.image}}" />
|
95
95
|
{% endif %}
|
96
96
|
|
97
97
|
{% if page.layout == 'home' %}
|
98
98
|
{% if page.author %}
|
99
|
-
<meta name="author" content="{{page.author}}"
|
99
|
+
<meta name="author" content="{{page.author}}" />
|
100
100
|
{% else %}
|
101
|
-
<meta name="author" content="{{site.author.name}}"
|
101
|
+
<meta name="author" content="{{site.author.name}}" />
|
102
102
|
{% endif %}
|
103
103
|
{% else %}
|
104
104
|
{% if page.author %}
|
105
|
-
<meta name="author" content="{{page.author}}"
|
105
|
+
<meta name="author" content="{{page.author}}" />
|
106
106
|
{% else %}
|
107
|
-
<meta name="author" content="{{site.author.name}}"
|
107
|
+
<meta name="author" content="{{site.author.name}}" />
|
108
108
|
{% endif %}
|
109
109
|
{% endif %}
|
110
110
|
|
111
111
|
{% if page.layout == 'home' %}
|
112
112
|
{% if page.keywords %}
|
113
|
-
<meta name="keywords" content="{{page.keywords}}"
|
113
|
+
<meta name="keywords" content="{{page.keywords}}" />
|
114
114
|
{% else %}
|
115
115
|
{% if site.keywords %}
|
116
|
-
<meta name="keywords" content="{{site.keywords}}"
|
116
|
+
<meta name="keywords" content="{{site.keywords}}" />
|
117
117
|
{% endif %}
|
118
118
|
{% endif %}
|
119
119
|
{% else %}
|
120
120
|
{% if page.keywords %}
|
121
|
-
<meta name="keywords" content="{{page.keywords}}"
|
121
|
+
<meta name="keywords" content="{{page.keywords}}" />
|
122
122
|
{% else %}
|
123
123
|
{% if site.keywords %}
|
124
|
-
<meta name="keywords" content="{{site.keywords}}"
|
124
|
+
<meta name="keywords" content="{{site.keywords}}" />
|
125
125
|
{% endif %}
|
126
126
|
{% endif %}
|
127
127
|
{% endif %}
|
128
128
|
|
129
|
-
{% comment %} site
|
130
|
-
--------------------------------------------------------------------------------
|
131
|
-
|
132
|
-
|
129
|
+
{% comment %} Check robot settings from site configuration
|
130
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
131
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Check robot settings from SITE configuration ] -->
|
132
|
+
{% if site.robots.index and site.robots.index <> nil %}
|
133
|
+
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_index: {{site.robots.index}} ] -->
|
134
|
+
{% capture robots_index %}<meta name="robots" content="index" />{% endcapture %}
|
133
135
|
{% else %}
|
134
|
-
|
136
|
+
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_index: noindex ] -->
|
137
|
+
{% capture robots_index %}<meta name="robots" content="noindex" />{% endcapture %}
|
135
138
|
{% endif %}
|
136
139
|
|
137
|
-
{% if site.robots.follow %}
|
138
|
-
|
140
|
+
{% if site.robots.follow and site.robots.follow <> nil %}
|
141
|
+
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found SITE configuration robots_follow: {{site.robots.index}} ] -->
|
142
|
+
{% capture robots_follow %}<meta name="robots" content="follow" />{% endcapture %}
|
139
143
|
{% else %}
|
140
|
-
|
144
|
+
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Set DEFAULT configuration robots_follow: nofollow ] -->
|
145
|
+
{% capture robots_follow %}<meta name="robots" content="nofollow" />{% endcapture %}
|
141
146
|
{% endif %}
|
142
|
-
|
147
|
+
|
148
|
+
{% comment %} page.robots.index: {{ page.robots.index | debug }} {% endcomment %}
|
143
149
|
|
144
150
|
{% comment %} Check robot settings from page (or default SCOPE)
|
145
|
-
NOTE: for layout home (home page, the keys are to be set!!!)
|
146
151
|
-------------------------------------------------------------------------------- {% endcomment %}
|
152
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Check robot settings from PAGE configuration ] -->
|
153
|
+
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_index: {{page.robots.index}} ] -->
|
154
|
+
<!-- [DEBUG ] [j1.layout.meta_data_generator.html ] [ Found PAGE configuration robots_follow: {{page.robots.follow}} ] -->
|
147
155
|
{% if page.robots.index %}
|
148
|
-
<meta name="robots" content="index"
|
149
|
-
{%
|
150
|
-
|
156
|
+
{% capture robots_index %}<meta name="robots" content="index" />{% endcapture %}
|
157
|
+
{% endif %}
|
158
|
+
|
159
|
+
{% if page.robots.index == false %}
|
160
|
+
{% capture robots_index %}<meta name="robots" content="noindex" />{% endcapture %}
|
151
161
|
{% endif %}
|
152
162
|
|
153
163
|
{% if page.robots.follow %}
|
154
|
-
<meta name="robots" content="follow"
|
155
|
-
{%
|
156
|
-
|
164
|
+
{% capture robots_follow %}<meta name="robots" content="follow" />{% endcapture %}
|
165
|
+
{% endif %}
|
166
|
+
|
167
|
+
{% if page.robots.follow == false %}
|
168
|
+
{% capture robots_follow %}<meta name="robots" content="nofollow" />{% endcapture %}
|
157
169
|
{% endif %}
|
158
170
|
|
171
|
+
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ Place detected/overloaded meta tags for robots ] -->
|
172
|
+
{{robots_index}}
|
173
|
+
{{robots_follow}}
|
159
174
|
|
160
175
|
{% comment %} SEO settings (optimization)
|
161
176
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -168,7 +183,7 @@ NOTE: for layout home (home page, the keys are to be set!!!)
|
|
168
183
|
{% assign cors = template_config.preload.font.cors %}
|
169
184
|
{% assign fonts = template_config.preload.font.fonts %}
|
170
185
|
{% for font in fonts %}
|
171
|
-
<link rel="preload" as="font" href="{{font}}" {{cors}}
|
186
|
+
<link rel="preload" as="font" href="{{font}}" {{cors}} />
|
172
187
|
{% endfor %}
|
173
188
|
{% else %}
|
174
189
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of fonts: disabled ] -->
|
@@ -183,12 +198,12 @@ NOTE: for layout home (home page, the keys are to be set!!!)
|
|
183
198
|
{% assign css = template_config.preload.css.css %}
|
184
199
|
{% assign files = template_config.preload.css.files %}
|
185
200
|
{% for file in css %}
|
186
|
-
<link rel="preload" as="style" href="{{file}}.{{ext_css}}"
|
201
|
+
<link rel="preload" as="style" href="{{file}}.{{ext_css}}" />
|
187
202
|
{% endfor %}
|
188
203
|
|
189
204
|
{% for file in files %}
|
190
205
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD css as FILE ] -->
|
191
|
-
<link rel="preload" as="style" href="{{file}}"
|
206
|
+
<link rel="preload" as="style" href="{{file}}" />
|
192
207
|
{% endfor %}
|
193
208
|
{% else %}
|
194
209
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of css: disabled ] -->
|
@@ -203,12 +218,12 @@ NOTE: for layout home (home page, the keys are to be set!!!)
|
|
203
218
|
{% assign js = template_config.preload.js.js %}
|
204
219
|
{% assign files = template_config.preload.js.files %}
|
205
220
|
{% for file in js %}
|
206
|
-
<link rel="preload" as="script" href="{{file}}.{{ext_js}}"
|
221
|
+
<link rel="preload" as="script" href="{{file}}.{{ext_js}}" />
|
207
222
|
{% endfor %}
|
208
223
|
|
209
224
|
{% for file in files %}
|
210
225
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD js as FILE ] -->
|
211
|
-
<link rel="preload" as="script" href="{{file}}"
|
226
|
+
<link rel="preload" as="script" href="{{file}}" />
|
212
227
|
{% endfor %}
|
213
228
|
{% else %}
|
214
229
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of js: disabled ] -->
|
@@ -222,7 +237,7 @@ NOTE: for layout home (home page, the keys are to be set!!!)
|
|
222
237
|
<!-- [SEO ] [j1.layout.meta_data_generator.html ] [ request PRELOAD of images to prioritize fetching ] -->
|
223
238
|
{% assign files = template_config.preload.image.files %}
|
224
239
|
{% for file in files %}
|
225
|
-
<link rel="preload" as="image" href="{{file}}"
|
240
|
+
<link rel="preload" as="image" href="{{file}}" />
|
226
241
|
{% endfor %}
|
227
242
|
{% else %}
|
228
243
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRELOAD of images: disabled ] -->
|
@@ -237,8 +252,8 @@ NOTE: for layout home (home page, the keys are to be set!!!)
|
|
237
252
|
{% assign urls = template_config.preconnect.urls %}
|
238
253
|
{% for url in urls %}
|
239
254
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ establish early connection: {{url}} ] -->
|
240
|
-
<link rel="dns-prefetch" href="{{url}}"
|
241
|
-
<link rel="preconnect" href="{{url}}"
|
255
|
+
<link rel="dns-prefetch" href="{{url}}" />
|
256
|
+
<link rel="preconnect" href="{{url}}" />
|
242
257
|
{% endfor %}
|
243
258
|
{% else %}
|
244
259
|
<!-- [INFO ] [j1.layout.meta_data_generator.html ] [ PRECONNECT remote URLs: disabled ] -->
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/_includes/themes/j1/procedures/provider/ad/google-adsense.html
|
4
|
-
# Support of
|
4
|
+
# Support of advertising provider Google Adsense for J1 Template
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# http://jekyll.one
|
@@ -24,16 +24,14 @@
|
|
24
24
|
{% assign advertising = site.data.j1_config.advertising.enabled %}
|
25
25
|
{% assign advertising_provider = site.data.j1_config.advertising.provider %}
|
26
26
|
|
27
|
-
|
28
27
|
{% comment %} Main
|
29
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
-
<!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising (
|
29
|
+
<!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising (j1_config): {{advertising}} ] -->
|
31
30
|
<!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising (page): {{page.advertising}}} ] -->
|
32
|
-
<!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising (provider): {{advertising_provider}}} ] -->
|
33
|
-
<!-- [INFO ] [j1.modules.connectors.ads ] [ start processing load region head, layout: {{page.layout}} ] -->
|
34
31
|
|
35
32
|
{% if advertising and page.advertising %}
|
36
|
-
|
33
|
+
<!-- [INFO ] [j1.modules.connectors.ads ] [ detected advertising provider (j1_config): {{advertising_provider}}} ] -->
|
34
|
+
<!-- [INFO ] [j1.modules.connectors.ads ] [ start processing load region head, layout: {{page.layout}} ] -->
|
37
35
|
{% case advertising_provider %}
|
38
36
|
{% when "google" %}
|
39
37
|
<!-- [INFO ] [j1.modules.connectors.ads ] [ place provider: Google Adsense ] -->
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/_includes/themes/j1/modules/connectors/analytic/google-analytics.html
|
4
|
-
# Support of
|
4
|
+
# Support of analytics provider Google Analytics for J1 Template
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# http://jekyll.one
|
@@ -21,16 +21,20 @@
|
|
21
21
|
|
22
22
|
{% comment %} Variables
|
23
23
|
-------------------------------------------------------------------------------- {% endcomment %}
|
24
|
-
{% assign tracking_id = site.data.j1_config.analytics.google.tracking_id
|
24
|
+
{% assign tracking_id = site.data.j1_config.analytics.google.tracking_id %}
|
25
25
|
|
26
26
|
{% comment %} Main
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
28
|
|
29
|
-
|
29
|
+
|
30
|
+
<!-- Google Analytics: load the GA library -->
|
30
31
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{tracking_id}}"></script>
|
31
|
-
|
32
|
+
<!-- Google Analytics: GA cookies disabled by default -->
|
33
|
+
<!-- GA cookies disabled by default -->
|
34
|
+
<!-- GA depends on the cookie consent and is enabled/disabled on OptIn/Out-->
|
35
|
+
<!--script>
|
32
36
|
window.dataLayer = window.dataLayer || [];
|
33
37
|
function gtag(){dataLayer.push(arguments);}
|
34
38
|
gtag('js', new Date());
|
35
39
|
gtag('config', '{{tracking_id}}');
|
36
|
-
</script
|
40
|
+
</script-->
|
@@ -27,10 +27,12 @@
|
|
27
27
|
|
28
28
|
{% comment %} Main
|
29
29
|
-------------------------------------------------------------------------------- {% endcomment %}
|
30
|
+
<!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics (j1_config): {{analytics}} ] -->
|
31
|
+
<!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics (page): {{page.analytics}}} ] -->
|
30
32
|
|
31
|
-
<!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] -->
|
32
33
|
{% if analytics and page.analytics %}
|
33
|
-
|
34
|
+
<!-- [INFO ] [j1.modules.connectors.analytics ] [ detected analytics provider (j1_config): {{analytics_provider}}} ] -->
|
35
|
+
<!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] -->
|
34
36
|
{% case analytics_provider %}
|
35
37
|
{% when "google" %}
|
36
38
|
<!-- [INFO ] [j1.modules.connectors.analytics ] [ place Google Analytics ] -->
|
@@ -26,21 +26,22 @@
|
|
26
26
|
|
27
27
|
{% comment %} Main
|
28
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ detected comments (j1_config): {{comments}} ] -->
|
30
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ detected comments (page): {{page.comments}}} ] -->
|
29
31
|
|
30
|
-
<!-- [INFO ] [j1.layout.connectors.comments ] [ start processing load region head, layout: {{page.layout}} ] -->
|
31
32
|
{% if comments and page.comments %}
|
32
|
-
|
33
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ start processing load region head, layout: {{page.layout}} ] -->
|
33
34
|
{% case comment_provider %}
|
34
35
|
{% when "disqus" %}
|
35
|
-
<!-- [INFO ] [j1.
|
36
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider DISQUS ] -->
|
36
37
|
{% include themes/{{site.template.name}}/modules/connectors/comment/disqus.html %}
|
37
38
|
{% when "facebook" %}
|
38
|
-
<!-- [INFO ] [j1.
|
39
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider FACEBOOK ] -->
|
39
40
|
{% include themes/{{site.template.name}}/procedures/provider/comment/facebook.html %}
|
40
41
|
{% when "custom" %}
|
41
|
-
<!-- [INFO ] [j1.
|
42
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ place comment provider CUSTOM ] -->
|
42
43
|
{% include themes/{{site.template.name}}/procedures/provider/comment/custom-provider.html %}
|
43
44
|
{% endcase %}
|
44
45
|
|
45
46
|
{% endif %}
|
46
|
-
<!-- [INFO ] [j1.
|
47
|
+
<!-- [INFO ] [j1.modules.connectors.comments ] [ end processing ] -->
|
@@ -24,13 +24,13 @@
|
|
24
24
|
{% assign translation = site.data.j1_config.translation.enabled %}
|
25
25
|
{% assign translation_provider = site.data.j1_config.translation.provider %}
|
26
26
|
|
27
|
-
|
28
27
|
{% comment %} Main
|
29
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
+
<!-- [INFO ] [j1.modules.connectors.translation ] [ detected translation (j1_config): {{translation}} ] -->
|
30
|
+
<!-- [INFO ] [j1.modules.connectors.translation ] [ detected translation (page): {{page.translation}}} ] -->
|
30
31
|
|
31
|
-
<!-- [INFO ] [j1.modules.connectors.translator ] [ start processing load region head, layout: {{page.layout}} ] -->
|
32
32
|
{% if translation %}
|
33
|
-
|
33
|
+
<!-- [INFO ] [j1.modules.connectors.translator ] [ start processing load region head, layout: {{page.layout}} ] -->
|
34
34
|
{% case translation_provider %}
|
35
35
|
{% when "google" %}
|
36
36
|
<!-- [INFO ] [j1.modules.connectors.translator ] [ place Google Translator ] -->
|
@@ -42,4 +42,3 @@
|
|
42
42
|
|
43
43
|
{% endif %}
|
44
44
|
<!-- [INFO ] [j1.modules.connectors.translator ] [ end processing ] -->
|
45
|
-
|
@@ -50,22 +50,8 @@
|
|
50
50
|
{% assign navigator_defaults = site.data.modules.defaults.navigator.defaults %}
|
51
51
|
{% assign navigator_settings = site.data.modules.navigator.settings %}
|
52
52
|
|
53
|
-
{%
|
54
|
-
|
55
|
-
{% assign consent_defaults = site.data.modules.defaults.cookie_consent.defaults %}
|
56
|
-
{% assign consent_settings = site.data.modules.cookie_consent.settings %}
|
57
|
-
{% assign cookie_consent_options = consent_defaults | merge: consent_settings %}
|
58
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
59
|
-
|
60
|
-
{% assign cookiebar_defaults = site.data.modules.defaults.cookiebar.defaults %}
|
61
|
-
{% assign cookiebar_settings = site.data.modules.cookiebar.settings %}
|
62
|
-
|
63
|
-
{% comment %} SSM module NOT used anymore
|
64
|
-
--------------------------------------------------------------------------------
|
65
|
-
{% assign ssm_settings = modules.ssm.settings %}
|
66
|
-
{% assign ssm_defaults = modules.defaults.ssm.defaults %}
|
67
|
-
{% assign ssm_options = ssm_defaults | merge: ssm_settings %}
|
68
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
53
|
+
{% assign consent_defaults = site.data.modules.defaults.cookieconsent.defaults %}
|
54
|
+
{% assign consent_settings = site.data.modules.cookieconsent.settings %}
|
69
55
|
|
70
56
|
{% comment %} Set config data
|
71
57
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -92,7 +78,6 @@
|
|
92
78
|
{% assign auth_manager_options = authentication_options.j1_auth %}
|
93
79
|
{% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
|
94
80
|
|
95
|
-
|
96
81
|
{% comment %} Set navBarOptions
|
97
82
|
-------------------------------------------------------------------------------- {% endcomment %}
|
98
83
|
{% assign brand_position = nav_bar_options.brand_position %}
|
@@ -126,16 +111,7 @@
|
|
126
111
|
{% comment %} Main
|
127
112
|
-------------------------------------------------------------------------------- {% endcomment %}
|
128
113
|
|
129
|
-
{% comment %} Generate
|
130
|
-
--------------------------------------------------------------------------------
|
131
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for ssm ] -->
|
132
|
-
{% if ssm_options.enabled %}
|
133
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place ssm container for AJAX load ] -->
|
134
|
-
<nav id="ssm-container" class="ssm-btns-right ssm-anim-slide no-r-text"></nav>
|
135
|
-
{% endif %}
|
136
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
137
|
-
|
138
|
-
{% comment %} Generate TopSearch container
|
114
|
+
{% comment %} Generate search container
|
139
115
|
-------------------------------------------------------------------------------- {% endcomment %}
|
140
116
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ check for topsearch ] -->
|
141
117
|
{% if topsearch_options.enabled %}
|
@@ -148,19 +124,8 @@
|
|
148
124
|
-------------------------------------------------------------------------------- {% endcomment %}
|
149
125
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: mmenu ] -->
|
150
126
|
{% for item in nav_mmenu_options.menus %}
|
151
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [
|
152
|
-
|
153
|
-
{% comment %} Condition DISABLED for testing
|
154
|
-
--------------------------------------------------------------------------------
|
155
|
-
{% if item.menu.enabled %}
|
156
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
|
127
|
+
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container {{item.menu.xhr_container_id}} for AJAX load ] -->
|
157
128
|
<nav id="{{item.menu.xhr_container_id}}"></nav>
|
158
|
-
{% endif %}
|
159
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
160
|
-
|
161
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
|
162
|
-
<nav id="{{item.menu.xhr_container_id}}"></nav>
|
163
|
-
|
164
129
|
{% endfor %}
|
165
130
|
|
166
131
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: navigation ] -->
|
@@ -168,7 +133,6 @@
|
|
168
133
|
|
169
134
|
{% comment %} Place brand image
|
170
135
|
------------------------------------------------------------------------------ {% endcomment %}
|
171
|
-
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ end processing: sidebar ] -->
|
172
136
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ start processing: main menue ] -->
|
173
137
|
{% if brand_position == "left" %}
|
174
138
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand image to the: left ] -->
|
@@ -45,7 +45,7 @@
|
|
45
45
|
|
46
46
|
{% comment %} Set quicksearch properties
|
47
47
|
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
-
{% assign topsearch_id = topsearch_options.
|
48
|
+
{% assign topsearch_id = topsearch_options.container_id %}
|
49
49
|
{% assign icon_family = topsearch_options.icon_family | downcase %}
|
50
50
|
{% assign placeholder = topsearch_options.placeholder %}
|
51
51
|
{% assign search_heading_lead = topsearch_options.search_heading_lead %}
|
@@ -89,7 +89,7 @@
|
|
89
89
|
------------------------------------------------------------------------------ {% endcomment %}
|
90
90
|
{% if quick_search %}
|
91
91
|
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ start processing: top search ] -->
|
92
|
-
<div id="
|
92
|
+
<div id="{{topsearch_id}}" class="top-search ml-4 mr-4" style="display: none;">
|
93
93
|
<div class="input-group">
|
94
94
|
<span class="input-group-addon"><i class="mdi mdi-magnify mdi-2x" style="color:#9E9E9E"></i></span>
|
95
95
|
<input id="search-query" type="text" name="q" placeholder="QuickSearch" autocomplete="off" class="form-control">
|