j1-template 2022.1.0 → 2022.1.1
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_article_navigator.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +4 -5
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +35 -19
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.0.proc +129 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.1.proc +113 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +3 -3
- data/_includes/themes/j1/procedures/global/create_word_cloud.proc +1 -5
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +29 -7
- data/_includes/themes/j1/procedures/posts/pager.proc +2 -3
- data/assets/data/carousel.json +2 -2
- data/assets/data/galleries.json +17 -5
- data/assets/data/gallery_customizer.html +4 -5
- data/assets/data/j1_config.json +42 -0
- data/assets/data/panel.html +17 -0
- data/assets/data/quicklinks.html +4 -4
- data/assets/themes/j1/adapter/js/advertising.js +2 -2
- data/assets/themes/j1/adapter/js/algolia.js +5 -5
- data/assets/themes/j1/adapter/js/analytics.js +1 -1
- data/assets/themes/j1/adapter/js/asciidoctor.js +2 -2
- data/assets/themes/j1/adapter/js/attic.js +5 -5
- data/assets/themes/j1/adapter/js/bmd.js +12 -12
- data/assets/themes/j1/adapter/js/carousel.js +40 -30
- data/assets/themes/j1/adapter/js/clipboard.js +2 -2
- data/assets/themes/j1/adapter/js/comments.js +2 -2
- data/assets/themes/j1/adapter/js/cookieConsent.js +2 -2
- data/assets/themes/j1/adapter/js/customFunctions.js +2 -2
- data/assets/themes/j1/adapter/js/customModule.js +2 -2
- data/assets/themes/j1/adapter/js/dropdowns.js +2 -2
- data/assets/themes/j1/adapter/js/fab.js +4 -4
- data/assets/themes/j1/adapter/js/framer.js +2 -2
- data/assets/themes/j1/adapter/js/j1.js +9 -9
- data/assets/themes/j1/adapter/js/justifiedGallery.js +42 -30
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +126 -113
- data/assets/themes/j1/adapter/js/lightbox.js +34 -30
- data/assets/themes/j1/adapter/js/logger.js +2 -2
- data/assets/themes/j1/adapter/js/{quicksearch.js → lunr.js} +17 -19
- data/assets/themes/j1/adapter/js/mmenu.js +7 -7
- data/assets/themes/j1/adapter/js/navigator.js +5 -5
- data/assets/themes/j1/adapter/js/rangeSlider.js +96 -83
- data/assets/themes/j1/adapter/js/rouge.js +26 -22
- data/assets/themes/j1/adapter/js/rtable.js +2 -2
- data/assets/themes/j1/adapter/js/rtextResizer.js +6 -22
- data/assets/themes/j1/adapter/js/scroller.js +2 -2
- data/assets/themes/j1/adapter/js/themer.js +3 -3
- data/assets/themes/j1/adapter/js/toccer.js +5 -5
- data/assets/themes/j1/adapter/js/translator.js +2 -2
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +19 -6
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/css/vendor.css +2 -3
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +1 -6
- data/assets/themes/j1/core/js/template.min.js +1 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +28 -12
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.js +1 -1
- data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +1 -2
- data/assets/themes/j1/modules/lightbox/css/theme/uno.min.css +1 -11
- data/assets/themes/j1/modules/{lunrSearch/css/quicksearch.css → lunr/css/j1.css} +2 -2
- data/assets/themes/j1/modules/lunr/css/j1.min.css +15 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/dateformat.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.js → lunr/js/j1.js} +11 -8
- data/assets/themes/j1/modules/{lunrSearch/js/quicksearch.min.js → lunr/js/j1.min.js} +1 -1
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.language.support.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/lunr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/mustache.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/js/uri.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ar.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.da.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.de.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.du.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.es.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.fr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.hu.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.it.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ja.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.jp.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.multi.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.nl.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.no.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.pt.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ro.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.ru.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.sv.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.th.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.tr.min.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.js +0 -0
- data/assets/themes/j1/modules/{lunrSearch → lunr}/languages/lunr.vi.min.js +0 -0
- data/assets/themes/j1/modules/mmenuLight/css/mmenu-light.min.css +2 -375
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +14 -5
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +2 -179
- data/assets/themes/j1/modules/msDropdown/css/msDropdown.min.css +1 -12
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.css +3 -1
- data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.min.css +23 -0
- data/assets/themes/j1/modules/videojs/css/video-js.css +6 -2
- data/assets/themes/j1/modules/videojs/css/video-js.min.css +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +68 -95
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +168 -0
- data/lib/starter_web/_data/blocks/panel.yml +2 -0
- data/lib/starter_web/_data/j1_config.yml +33 -1
- data/lib/starter_web/_data/layouts/app.yml +11 -6
- data/lib/starter_web/_data/layouts/article_navigator.yml +8 -3
- data/lib/starter_web/_data/layouts/blog_archive.yml +8 -3
- data/lib/starter_web/_data/layouts/collection.yml +14 -21
- data/lib/starter_web/_data/layouts/default.yml +11 -36
- data/lib/starter_web/_data/layouts/home.yml +14 -22
- data/lib/starter_web/_data/layouts/news_panel_posts.yml +8 -3
- data/lib/starter_web/_data/layouts/page.yml +8 -14
- data/lib/starter_web/_data/layouts/post.yml +8 -3
- data/lib/starter_web/_data/layouts/raw.yml +14 -9
- data/lib/starter_web/_data/{builder → modules}/blog_navigator.yml +4 -4
- data/lib/starter_web/_data/{apps → modules}/carousel.yml +2 -2
- data/lib/starter_web/_data/{builder → modules}/defaults/blog_navigator.yml +4 -5
- data/lib/starter_web/_data/{apps → modules}/defaults/carousel.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/justifiedGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/{quicksearch.yml → lunr.yml} +6 -15
- data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/justifiedGallery.yml +101 -50
- data/lib/starter_web/_data/{apps → modules}/lightGallery.yml +1 -1
- data/lib/starter_web/_data/{apps → modules}/lightbox.yml +2 -2
- data/lib/starter_web/_data/modules/{quicksearch.yml → lunr.yml} +4 -7
- data/lib/starter_web/_data/modules/navigator_menu.yml +1 -1
- data/lib/starter_web/_data/modules/rangeSlider.yml +2 -2
- data/lib/starter_web/_data/resources.yml +20 -21
- data/lib/starter_web/_includes/attributes.asciidoc +16 -3
- data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +6 -4
- data/lib/starter_web/_plugins/filters.rb +53 -0
- data/lib/starter_web/_plugins/lunr_index.rb +11 -6
- data/lib/starter_web/assets/images/modules/attics/joanna-kosinska-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/meditation.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/dailymotion/pilates.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video1.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/html5/video2.mp4 +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/hai.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/vk/otter.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/battle.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/ben.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/constance.jpg +0 -0
- data/lib/starter_web/assets/videos/gallery/voice_kids_de_2021/elisa.jpg +0 -0
- data/lib/starter_web/collections/asciidoc_skeletons/simple-post/{yyyy-mm-dd-your-post-name.adoc → _posts/yyyy-mm-dd-your-post-name.asciidoc} +26 -12
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/2022-02-28-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +2 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/_blog/navigator/archive/categoryview.html +254 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/dateview.html +238 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive/tagview.html +283 -0
- data/lib/starter_web/pages/public/_blog/navigator/archive.html +204 -0
- data/lib/starter_web/pages/public/_blog/navigator/index.html +53 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +2 -4
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +15 -3
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +5 -7
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +5 -7
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +33 -12
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +30 -11
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +28 -11
- data/lib/starter_web/pages/public/blog/navigator/archive.html +29 -11
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +13 -17
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +99 -16
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +74 -74
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +7 -13
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +91 -77
- data/assets/themes/j1/modules/lunrSearch/css/quicksearch.min.css +0 -32
- data/lib/starter_web/_data/layouts/home.ads.yml +0 -262
- data/lib/starter_web/_data/layouts/home.no-ads.yml +0 -262
- data/lib/starter_web/_data/pages/builder.yml +0 -87
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +0 -265
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +0 -237
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +0 -237
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1958eaa48f104acb9e050342f887d318fb0964af15af7941297a611f202aebc5
|
4
|
+
data.tar.gz: c7052e93044d2aac901341ea96c3d607e2f3d6c8366c5c5f7920bcaf610bb8eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9d43dc713f95c9669a23a87201e5fa6b1aec9c3be248267efbcb803bdacca606bca1503c71ce10ebc9a9fc5920b027e356066b2b9d48da7bba749ee50dcf34
|
7
|
+
data.tar.gz: f478370b04a133cce9af5e490c25120f22f50abf91d126f7abc812f721faace4c792dca5c71385a4eb484003fbfc70d6797bbf42a9d0474af70c041e5852cf52
|
@@ -31,13 +31,12 @@
|
|
31
31
|
{% assign template_config = site.data.j1_config %}
|
32
32
|
{% assign blocks = site.data.blocks %}
|
33
33
|
{% assign modules = site.data.modules %}
|
34
|
-
{% assign builder = site.data.builder %}
|
35
34
|
{% assign plugins = site.data.plugins %}
|
36
35
|
|
37
36
|
{% comment %} Set config data
|
38
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
-
{% assign blog_navigator_defaults =
|
40
|
-
{% assign blog_navigator_settings =
|
38
|
+
{% assign blog_navigator_defaults = modules.defaults.blog_navigator.defaults %}
|
39
|
+
{% assign blog_navigator_settings = modules.blog_navigator.settings %}
|
41
40
|
{% assign paginator_defaults = plugins.defaults.paginator.defaults %}
|
42
41
|
{% assign paginator_settings = plugins.paginator.settings %}
|
43
42
|
|
@@ -48,8 +47,8 @@
|
|
48
47
|
|
49
48
|
{% comment %} Variables
|
50
49
|
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
-
{% assign article_navigator =
|
52
|
-
{% assign article_previewer =
|
50
|
+
{% assign article_navigator = blog_navigator_settings.article_navigator %}
|
51
|
+
{% assign article_previewer = blog_navigator_settings.article_previewer %}
|
53
52
|
{% assign article_navigator_description = blog_navigator_options.article_navigator.description %}
|
54
53
|
{% assign article_previewer_description = blog_navigator_options.article_previewer.description %}
|
55
54
|
|
@@ -31,13 +31,12 @@
|
|
31
31
|
{% assign template_config = site.data.j1_config %}
|
32
32
|
{% assign blocks = site.data.blocks %}
|
33
33
|
{% assign modules = site.data.modules %}
|
34
|
-
{% assign builder = site.data.builder %}
|
35
34
|
{% assign plugins = site.data.plugins %}
|
36
35
|
|
37
36
|
{% comment %} Set config data
|
38
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
-
{% assign blog_navigator_defaults =
|
40
|
-
{% assign blog_navigator_settings =
|
38
|
+
{% assign blog_navigator_defaults = modules.defaults.blog_navigator.defaults %}
|
39
|
+
{% assign blog_navigator_settings = modules.blog_navigator.settings %}
|
41
40
|
{% assign paginator_defaults = plugins.defaults.paginator.defaults %}
|
42
41
|
{% assign paginator_settings = plugins.paginator.settings %}
|
43
42
|
|
@@ -48,8 +47,8 @@
|
|
48
47
|
|
49
48
|
{% comment %} Variables
|
50
49
|
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
-
{% assign article_navigator =
|
52
|
-
{% assign article_previewer =
|
50
|
+
{% assign article_navigator = blog_navigator_settings.article_navigator %}
|
51
|
+
{% assign article_previewer = blog_navigator_settings.article_previewer %}
|
53
52
|
{% assign article_navigator_description = blog_navigator_options.article_navigator.description %}
|
54
53
|
{% assign article_previewer_description = blog_navigator_options.article_previewer.description %}
|
55
54
|
|
@@ -26,26 +26,26 @@
|
|
26
26
|
|
27
27
|
{% comment %} Set config files
|
28
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
|
-
{% assign template_config
|
30
|
-
{% assign blocks
|
31
|
-
{% assign modules
|
32
|
-
{% assign builder
|
33
|
-
{% assign plugins
|
29
|
+
{% assign template_config = site.data.j1_config %}
|
30
|
+
{% assign blocks = site.data.blocks %}
|
31
|
+
{% assign modules = site.data.modules %}
|
32
|
+
{% assign builder = site.data.builder %}
|
33
|
+
{% assign plugins = site.data.plugins %}
|
34
34
|
|
35
|
-
{% assign blocks = site.data.blocks %}
|
36
|
-
{% assign panel_config_defaults = blocks.defaults.panel %}
|
37
|
-
{% assign panel_config_settings = blocks.panel %}
|
38
|
-
{% assign bs_config = template_config.bootstrap %}
|
39
35
|
|
40
36
|
{% comment %} Set config data
|
41
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
42
|
-
{% assign
|
43
|
-
{% assign
|
44
|
-
{% assign
|
45
|
-
{% assign paginator_settings = plugins.paginator.settings %}
|
38
|
+
{% assign panel_config_defaults = blocks.defaults.panel %}
|
39
|
+
{% assign panel_config_settings = blocks.panel %}
|
40
|
+
{% assign bs_config = template_config.bootstrap %}
|
46
41
|
|
47
|
-
{% assign
|
48
|
-
{% assign
|
42
|
+
{% assign blog_navigator_defaults = modules.defaults.blog_navigator.defaults %}
|
43
|
+
{% assign blog_navigator_settings = modules.blog_navigator.settings %}
|
44
|
+
{% assign paginator_defaults = plugins.defaults.paginator.defaults %}
|
45
|
+
{% assign paginator_settings = plugins.paginator.settings %}
|
46
|
+
|
47
|
+
{% assign panel_config_defaults = panel_config_defaults.defaults %}
|
48
|
+
{% assign panel_config_settings = panel_config_settings.settings %}
|
49
49
|
|
50
50
|
|
51
51
|
{% comment %} Set config options
|
@@ -55,18 +55,17 @@
|
|
55
55
|
|
56
56
|
{% comment %} Variables
|
57
57
|
-------------------------------------------------------------------------------- {% endcomment %}
|
58
|
-
{% assign article_navigator =
|
59
|
-
{% assign article_previewer =
|
58
|
+
{% assign article_navigator = blog_navigator_settings.article_navigator %}
|
59
|
+
{% assign article_previewer = blog_navigator_settings.article_previewer %}
|
60
60
|
{% assign article_navigator_description = blog_navigator_options.article_navigator.description %}
|
61
61
|
{% assign article_previewer_description = blog_navigator_options.article_previewer.description %}
|
62
62
|
|
63
63
|
{% assign previewer = blog_navigator_options.previewer %}
|
64
64
|
{% assign paginate = paginator_options.pagination.enabled %}
|
65
65
|
|
66
|
+
{% assign truncate_words = site.excerpt_truncate_words %}
|
66
67
|
|
67
68
|
|
68
|
-
{% assign truncate_words = site.excerpt_truncate_words %}
|
69
|
-
|
70
69
|
{% assign production = false %}
|
71
70
|
{% if environment == 'prod' or environment == 'production' %}
|
72
71
|
{% assign production = true %}
|
@@ -307,6 +306,23 @@
|
|
307
306
|
{% if language == "de" %}
|
308
307
|
<i class="mdi mdi-calendar-blank md-grey-900 mr-1"></i>{{post.date | localize: "%-d. %B %Y"}}
|
309
308
|
{% endif %}
|
309
|
+
|
310
|
+
{% assign category_blacklist = panel_settings.category_blacklist %}
|
311
|
+
|
312
|
+
<!-- Cleanup categories by given blacklist -->
|
313
|
+
{% assign my_categories = post.categories | difference: category_blacklist %}
|
314
|
+
|
315
|
+
<!-- Build element strings -->
|
316
|
+
{% assign categories = my_categories |join: " · " %}
|
317
|
+
{% assign tags = post.tags | join: " · " %}
|
318
|
+
|
319
|
+
<p class="result-item-text small text-muted mb-3">
|
320
|
+
<i class="mdi mdi-tag-text-outline mdi-18px mr-1"></i>
|
321
|
+
<span class="sr-categories">{{categories}}</span>
|
322
|
+
<br>
|
323
|
+
<i class="mdi mdi-tag mdi-18px mr-1"></i>
|
324
|
+
<span class="sr-tags">{{tags}}</span>
|
325
|
+
</p>
|
310
326
|
</div>
|
311
327
|
<a class="card-link md-grey-900 text-lowercase"
|
312
328
|
href="{{post.url}}">
|
@@ -0,0 +1,129 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/templates/j1/modules/navigator/procedures/topsearch.proc
|
4
|
+
# Liquid PROCEDURE template to create search input for the quicklinks bar
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2022 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
+
#
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
# Test data:
|
16
|
+
# liquid_var: {{ liquid_var | debug }}
|
17
|
+
# topsearch_options: {{ topsearch_options | debug }}
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
{% endcomment %}
|
20
|
+
|
21
|
+
{% comment %} Liquid procedure parameter|s
|
22
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
23
|
+
{% assign topsearch_options = include.options %}
|
24
|
+
|
25
|
+
|
26
|
+
{% comment %} Liquid procedures
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
29
|
+
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
30
|
+
|
31
|
+
|
32
|
+
{% comment %} Liquid var initialization
|
33
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
+
|
35
|
+
{% comment %} Set config files
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
|
38
|
+
{% comment %} TODO: Params should passed by the generator
|
39
|
+
--------------------------------------------------------------------------------
|
40
|
+
{% assign quick_search_config = site.data.modules.j1_jekyll_search %}
|
41
|
+
{% assign elastic_search_config = site.data.modules.j1_elastic_search %}
|
42
|
+
--------------------------------------------------------------------------------
|
43
|
+
{% endcomment %}
|
44
|
+
|
45
|
+
|
46
|
+
{% comment %} Set quicksearch properties
|
47
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
+
{% assign topsearch_id = topsearch_options.container_id %}
|
49
|
+
{% assign icon_family = topsearch_options.icon_family | downcase %}
|
50
|
+
{% assign placeholder = topsearch_options.placeholder %}
|
51
|
+
{% assign search_heading_lead = topsearch_options.search_heading_lead %}
|
52
|
+
{% assign result_heading_lead = topsearch_options.result_heading_lead %}
|
53
|
+
{% assign search_icon = topsearch_options.search_icon %}
|
54
|
+
{% assign close_icon = topsearch_options.close_icon %}
|
55
|
+
{% assign clear_icon = topsearch_options.clear_icon %}
|
56
|
+
|
57
|
+
{% assign quick_search = true %}
|
58
|
+
{% assign elastic_search = false %}
|
59
|
+
|
60
|
+
{% if topsearch_options.type == 'quick_search' %}
|
61
|
+
{% assign quick_search = true %}
|
62
|
+
{% endif %}
|
63
|
+
|
64
|
+
{% if topsearch_options.type == 'elastic_search' %}
|
65
|
+
{% assign elastic_search = true %}
|
66
|
+
{% assign quick_search = false %}
|
67
|
+
{% endif %}
|
68
|
+
|
69
|
+
{% if topsearch_options.icon_family == 'FontAwesome' or topsearch_options.icon_family == 'FontAwesome4' or topsearch_options.icon_family == 'FontAwesome5' %}
|
70
|
+
{% assign icon_family = 'fa' %}
|
71
|
+
{% elsif topsearch_options.icon_family == 'MDI' or topsearch_options.icon_family == 'Material Design Icons'%}
|
72
|
+
{% assign icon_family = 'mdi' %}
|
73
|
+
{% else %}
|
74
|
+
{% assign icon_family = 'mdi' %}
|
75
|
+
{% endif %}
|
76
|
+
|
77
|
+
{% include {{select_color}} color=topsearch_options.icon_color fallback="#9E9E9E" %}
|
78
|
+
{% capture icon_color %}style="color:{{color}}"{% endcapture %}
|
79
|
+
|
80
|
+
{% include {{select_icon_size}} family=topsearch_options.icon_family size=topsearch_options.icon_size %}
|
81
|
+
{% assign icon_size = size %}
|
82
|
+
|
83
|
+
|
84
|
+
{% comment %} Main
|
85
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
86
|
+
{% if topsearch_options.enabled %}
|
87
|
+
|
88
|
+
{% comment %} lunrSearch engine
|
89
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
90
|
+
{% if quick_search %}
|
91
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ start processing: top search ] -->
|
92
|
+
<div id="{{topsearch_id}}" class="top-search ml-4 mr-4" style="display: none;">
|
93
|
+
<div class="input-group">
|
94
|
+
<span class="input-group-addon"><i class="mdi mdi-magnify mdi-2x" style="color:#9E9E9E"></i></span>
|
95
|
+
<input id="search-query" type="text" name="q" placeholder="QuickSearch" autocomplete="off" class="form-control">
|
96
|
+
<span id="clear-topsearch" class="form-clear form-clear-searcher d-none mt-2"><i class="mdi mdi-format-clear mdi-2x" style="color:#9E9E9E"></i></span>
|
97
|
+
<span class="input-group-addon close-search"><i class="mdi mdi-close mdi-3x" style="color:#9E9E9E"></i></span>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ place: results container ] -->
|
101
|
+
<div class="search-results hide-scrollbar">
|
102
|
+
<section id="search-results" style="display: none"></section>
|
103
|
+
</div>
|
104
|
+
|
105
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ place: mustache template ] -->
|
106
|
+
{% raw %}
|
107
|
+
<script id="search-results-template" type="text/mustache">
|
108
|
+
<ul style="list-style: none; margin-left: .5rem; margin-right: 4.25rem">
|
109
|
+
{{#docs}}
|
110
|
+
<li>
|
111
|
+
<h4 class="result-item"> <a href="{{url}}" target="_blank">{{title}} · {{tagline}}</a> </h4>
|
112
|
+
<p class="result-item-text small text-muted mt-2 mb-0">
|
113
|
+
<i class="mdi mdi-calendar-blank mdi-18px mr-1"></i>{{displaydate}}
|
114
|
+
</p>
|
115
|
+
<p class="result-item-text">{{description}}</p>
|
116
|
+
<p class="result-item-text small text-muted mb-3">
|
117
|
+
<i class="mdi mdi-tag-text-outline mdi-18px mr-1"></i><span class="sr-categories">{{#categories}} {{.}} · {{/categories}}</span>
|
118
|
+
<i class="mdi mdi-tag mdi-18px mr-1 ml-2"></i><span class="sr-tags">{{#tags}} {{.}} · {{/tags}}</span>
|
119
|
+
</p>
|
120
|
+
</li>
|
121
|
+
{{/docs}}
|
122
|
+
<ul>
|
123
|
+
</script>
|
124
|
+
{% endraw %}
|
125
|
+
|
126
|
+
{% endif %}
|
127
|
+
</div>
|
128
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ end processing: top search ] -->
|
129
|
+
{% endif %}
|
@@ -0,0 +1,113 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/templates/j1/modules/navigator/procedures/topsearch.proc
|
4
|
+
# Liquid PROCEDURE template to create search input for the quicklinks bar
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# https://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2022 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
+
#
|
14
|
+
# -----------------------------------------------------------------------------
|
15
|
+
# Test data:
|
16
|
+
# liquid_var: {{ liquid_var | debug }}
|
17
|
+
# search_options: {{ search_options | debug }}
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
{% endcomment %}
|
20
|
+
|
21
|
+
{% comment %} Liquid procedure parameter|s
|
22
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
23
|
+
{% assign top_search_options = include.options %}
|
24
|
+
|
25
|
+
|
26
|
+
{% comment %} Liquid procedures
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
29
|
+
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
30
|
+
|
31
|
+
{% assign modules = site.data.modules %}
|
32
|
+
|
33
|
+
{% comment %} Liquid var initialization
|
34
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
35
|
+
|
36
|
+
{% comment %} Set config files
|
37
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
38
|
+
{% assign search_defaults = modules.defaults.lunr.defaults %}
|
39
|
+
{% assign search_settings = modules.lunr.settings %}
|
40
|
+
|
41
|
+
{% comment %} Set config options
|
42
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
43
|
+
{% assign search_options = search_defaults | merge: search_settings %}
|
44
|
+
|
45
|
+
{% comment %} Set search properties
|
46
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
47
|
+
{% assign topsearch_id = top_search_options.container_id %}
|
48
|
+
{% assign icon_family = top_search_options.icon_family | downcase %}
|
49
|
+
{% assign placeholder = top_search_options.placeholder %}
|
50
|
+
{% assign search_heading_lead = top_search_options.search_heading_lead %}
|
51
|
+
{% assign result_heading_lead = top_search_options.result_heading_lead %}
|
52
|
+
{% assign search_icon = top_search_options.search_icon %}
|
53
|
+
{% assign close_icon = top_search_options.close_icon %}
|
54
|
+
{% assign clear_icon = top_search_options.clear_icon %}
|
55
|
+
|
56
|
+
{% if top_search_options.icon_family == 'FontAwesome' or top_search_options.icon_family == 'FontAwesome4' or top_search_options.icon_family == 'FontAwesome5' %}
|
57
|
+
{% assign icon_family = 'fa' %}
|
58
|
+
{% elsif top_search_options.icon_family == 'MDI' or top_search_options.icon_family == 'Material Design Icons'%}
|
59
|
+
{% assign icon_family = 'mdi' %}
|
60
|
+
{% else %}
|
61
|
+
{% assign icon_family = 'mdi' %}
|
62
|
+
{% endif %}
|
63
|
+
|
64
|
+
{% include {{select_color}} color=top_search_options.icon_color fallback="#9E9E9E" %}
|
65
|
+
{% capture icon_color %}style="color:{{color}}"{% endcapture %}
|
66
|
+
|
67
|
+
{% include {{select_icon_size}} family=search_options.icon_family size=search_options.icon_size %}
|
68
|
+
{% assign icon_size = size %}
|
69
|
+
|
70
|
+
|
71
|
+
{% comment %} Main
|
72
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
73
|
+
{% if search_options.enabled %}
|
74
|
+
|
75
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ start processing: top search ] -->
|
76
|
+
<div id="{{topsearch_id}}" class="top-search ml-4 mr-4" style="display: none;">
|
77
|
+
|
78
|
+
<div class="input-group">
|
79
|
+
<span class="input-group-addon"><i class="mdi mdi-magnify mdi-2x" style="color:#9E9E9E"></i></span>
|
80
|
+
<input id="search-query" type="text" name="q" placeholder="QuickSearch" autocomplete="off" class="form-control">
|
81
|
+
<span id="clear-topsearch" class="form-clear form-clear-searcher d-none mt-2"><i class="mdi mdi-format-clear mdi-2x" style="color:#9E9E9E"></i></span>
|
82
|
+
<span class="input-group-addon close-search"><i class="mdi mdi-close mdi-3x" style="color:#9E9E9E"></i></span>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ place: results container ] -->
|
86
|
+
<div class="search-results hide-scrollbar">
|
87
|
+
<section id="search-results" style="display: none"></section>
|
88
|
+
</div>
|
89
|
+
|
90
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ place: mustache template ] -->
|
91
|
+
{% raw %}
|
92
|
+
<script id="search-results-template" type="text/mustache">
|
93
|
+
<ul style="list-style: none; margin-left: .5rem; margin-right: 4.25rem">
|
94
|
+
{{#docs}}
|
95
|
+
<li>
|
96
|
+
<h4 class="result-item"> <a href="{{url}}" target="_blank">{{title}} · {{tagline}}</a> </h4>
|
97
|
+
<p class="result-item-text small text-muted mt-2 mb-0">
|
98
|
+
<i class="mdi mdi-calendar-blank mdi-18px mr-1"></i>{{displaydate}}
|
99
|
+
</p>
|
100
|
+
<p class="result-item-text">{{description}}</p>
|
101
|
+
<p class="result-item-text small text-muted mb-3">
|
102
|
+
<i class="mdi mdi-tag-text-outline mdi-18px mr-1"></i><span class="sr-categories">{{#categories}} {{.}} · {{/categories}}</span>
|
103
|
+
<i class="mdi mdi-tag mdi-18px mr-1 ml-2"></i><span class="sr-tags">{{#tags}} {{.}} · {{/tags}}</span>
|
104
|
+
</p>
|
105
|
+
</li>
|
106
|
+
{{/docs}}
|
107
|
+
<ul>
|
108
|
+
</script>
|
109
|
+
{% endraw %}
|
110
|
+
|
111
|
+
</div>
|
112
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ end processing: top search ] -->
|
113
|
+
{% endif %}
|
@@ -91,9 +91,9 @@
|
|
91
91
|
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ start processing: top search ] -->
|
92
92
|
<div id="{{topsearch_id}}" class="top-search ml-4 mr-4" style="display: none;">
|
93
93
|
<div class="input-group">
|
94
|
-
<span class="input-group-addon"><i class="mdi mdi-magnify mdi-2x" style="color:#9E9E9E"></i></span>
|
95
|
-
<input id="search-query" type="text" name="q" placeholder="
|
96
|
-
<span id="clear-topsearch" class="form-clear form-clear-searcher d-none
|
94
|
+
<span class="input-group-addon"><i class="mdi mdi-magnify mdi-2x mb-2" style="color:#9E9E9E"></i></span>
|
95
|
+
<input id="search-query" type="text" name="q" placeholder="{{placeholder}}" autocomplete="off" class="form-control">
|
96
|
+
<span id="clear-topsearch" class="form-clear form-clear-searcher d-none" style="margin-top: 0.75rem"><i class="mdi mdi-format-clear mdi-2x" style="color:#9E9E9E"></i></span>
|
97
97
|
<span class="input-group-addon close-search"><i class="mdi mdi-close mdi-3x" style="color:#9E9E9E"></i></span>
|
98
98
|
</div>
|
99
99
|
|
@@ -17,11 +17,8 @@
|
|
17
17
|
# counted against a given SOURCE (how often they are found).
|
18
18
|
# Supported SOURCES are: tags|categories
|
19
19
|
#
|
20
|
-
# If a (second) list of words given by 'skip_words', all words will be
|
21
|
-
# EXCLUDED from the word cloud.
|
22
|
-
#
|
23
20
|
# Usage:
|
24
|
-
# 1) assign the 'source'
|
21
|
+
# 1) assign the 'source' and 'word_list' variables
|
25
22
|
# 2) include the create_word_cloud.proc procedure
|
26
23
|
#
|
27
24
|
# Example:
|
@@ -51,7 +48,6 @@
|
|
51
48
|
{% assign categories = site.categories | sort %}
|
52
49
|
{% endif %}
|
53
50
|
|
54
|
-
|
55
51
|
{% comment %} Main
|
56
52
|
--------------------------------------------------------------------------------
|
57
53
|
jadams, 2020-07-24: style cart creates a unwanted border, removed
|
@@ -40,14 +40,22 @@
|
|
40
40
|
{% comment %} Liquid procedures
|
41
41
|
-------------------------------------------------------------------------------- {% endcomment %}
|
42
42
|
|
43
|
+
{% comment %} Set config files
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
+
{% assign template_config = site.data.j1_config %}
|
46
|
+
{% assign blocks = site.data.blocks %}
|
47
|
+
{% assign modules = site.data.modules %}
|
48
|
+
{% assign plugins = site.data.plugins %}
|
49
|
+
|
43
50
|
{% comment %} Variables
|
44
51
|
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
-
{% assign builder_config
|
46
|
-
{% assign truncate_words
|
47
|
-
{% assign header_title
|
48
|
-
{% assign header_tagline
|
49
|
-
{% assign posts_collate
|
50
|
-
{% assign limit_excerpt
|
52
|
+
{% assign builder_config = modules.blog_navigator.collate_timeline %}
|
53
|
+
{% assign truncate_words = site.excerpt_truncate_words %}
|
54
|
+
{% assign header_title = false %}
|
55
|
+
{% assign header_tagline = false %}
|
56
|
+
{% assign posts_collate = include.items %}
|
57
|
+
{% assign limit_excerpt = include.limit_excerpt %}
|
58
|
+
{% assign category_blacklist = template_config.posts.category_blacklist %}
|
51
59
|
|
52
60
|
{% comment %} language detection
|
53
61
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -237,7 +245,21 @@
|
|
237
245
|
<span class="font-weight-bold"> · </span>
|
238
246
|
<i class="mdi mdi-comment md-grey-900 mr-1"></i> {{comment_count}}
|
239
247
|
{% endif %}
|
240
|
-
|
248
|
+
|
249
|
+
<!-- Cleanup categories by given blacklist -->
|
250
|
+
{% assign my_categories = post.categories | difference: category_blacklist %}
|
251
|
+
|
252
|
+
<!-- Build element strings -->
|
253
|
+
{% assign categories = my_categories |join: " · " %}
|
254
|
+
{% assign tags = post.tags | join: " · " %}
|
255
|
+
|
256
|
+
<p class="result-item-text small text-muted mb-3">
|
257
|
+
<i class="mdi mdi-tag-text-outline mdi-18px mr-1"></i>
|
258
|
+
<span class="sr-categories">{{categories}}</span>
|
259
|
+
<br>
|
260
|
+
<i class="mdi mdi-tag mdi-18px mr-1"></i>
|
261
|
+
<span class="sr-tags">{{tags}}</span>
|
262
|
+
</p>
|
241
263
|
<a class="card-link md-grey-900 text-lowercase"
|
242
264
|
href="{{post.url}}#readmore">
|
243
265
|
{{readmore_text}} · {{post.tagline}}
|
@@ -31,13 +31,12 @@
|
|
31
31
|
{% assign template_config = site.data.j1_config %}
|
32
32
|
{% assign blocks = site.data.blocks %}
|
33
33
|
{% assign modules = site.data.modules %}
|
34
|
-
{% assign builder = site.data.builder %}
|
35
34
|
{% assign plugins = site.data.plugins %}
|
36
35
|
|
37
36
|
{% comment %} Set config data
|
38
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
-
{% assign blog_navigator_defaults =
|
40
|
-
{% assign blog_navigator_settings =
|
38
|
+
{% assign blog_navigator_defaults = modules.defaults.blog_navigator.defaults %}
|
39
|
+
{% assign blog_navigator_settings = modules.blog_navigator.settings %}
|
41
40
|
|
42
41
|
{% comment %} Set config options
|
43
42
|
-------------------------------------------------------------------------------- {% endcomment %}
|
data/assets/data/carousel.json
CHANGED
@@ -49,11 +49,11 @@ exclude_from_search: true
|
|
49
49
|
|
50
50
|
{% comment %} Set config files
|
51
51
|
-------------------------------------------------------------------------------- {% endcomment %}
|
52
|
-
{% assign
|
52
|
+
{% assign modules = site.data.modules %}
|
53
53
|
|
54
54
|
{% comment %} Set config data (carousel settings only)
|
55
55
|
-------------------------------------------------------------------------------- {% endcomment %}
|
56
|
-
{% assign carousel_settings =
|
56
|
+
{% assign carousel_settings = modules.carousel.settings %}
|
57
57
|
|
58
58
|
{
|
59
59
|
{% for item in carousel_settings.carousel %}
|
data/assets/data/galleries.json
CHANGED
@@ -45,14 +45,14 @@ exclude_from_search: true
|
|
45
45
|
|
46
46
|
{% comment %} Set config files
|
47
47
|
-------------------------------------------------------------------------------- {% endcomment %}
|
48
|
-
{% assign
|
48
|
+
{% assign modules = site.data.modules %}
|
49
49
|
|
50
50
|
{% comment %} Set config data
|
51
51
|
-------------------------------------------------------------------------------- {% endcomment %}
|
52
52
|
{% assign environment = site.environment %}
|
53
53
|
|
54
|
-
{% assign jg_config_defaults =
|
55
|
-
{% assign jg_config_settings =
|
54
|
+
{% assign jg_config_defaults = modules.defaults.justifiedGallery.defaults %}
|
55
|
+
{% assign jg_config_settings = modules.justifiedGallery.settings %}
|
56
56
|
|
57
57
|
{% comment %} Set config options
|
58
58
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -95,17 +95,20 @@ exclude_from_search: true
|
|
95
95
|
{% for video in item.gallery.videos %}
|
96
96
|
{% assign image_no = forloop.index %}
|
97
97
|
{
|
98
|
+
"video": "{{ video }}",
|
99
|
+
"image_path": "{{ item.gallery.image_path }}",
|
100
|
+
|
98
101
|
{% if item.gallery.type == "video-html5" %}
|
99
102
|
"video_path": "{{ item.gallery.video_path }}",
|
100
103
|
"video_id": "{{ video | slugify }}",
|
101
104
|
{% endif %}
|
102
|
-
|
105
|
+
|
103
106
|
{% for poster in item.gallery.poster %}
|
104
107
|
{% if forloop.index == image_no %}
|
105
108
|
"poster": "{{ poster }}",
|
106
109
|
{% endif %}
|
107
110
|
{% endfor %}
|
108
|
-
|
111
|
+
|
109
112
|
{% if item.gallery.captions_lightbox %}
|
110
113
|
{% for caption in item.gallery.captions_lightbox %}
|
111
114
|
{% if forloop.index == image_no %}
|
@@ -113,6 +116,15 @@ exclude_from_search: true
|
|
113
116
|
{% endif %}
|
114
117
|
{% endfor %}
|
115
118
|
{% endif %}
|
119
|
+
|
120
|
+
{% if item.gallery.player_params %}
|
121
|
+
{% for params in item.gallery.player_params %}
|
122
|
+
{% if forloop.index == image_no %}
|
123
|
+
"player_params": "{{ params }}",
|
124
|
+
{% endif %}
|
125
|
+
{% endfor %}
|
126
|
+
{% endif %}
|
127
|
+
|
116
128
|
{% if item.gallery.captions_gallery %}
|
117
129
|
{% for caption in item.gallery.captions_gallery %}
|
118
130
|
{% if forloop.index == image_no %}
|
@@ -64,18 +64,17 @@ NOTE: currently NOT used
|
|
64
64
|
-------------------------------------------------------------------------------- {% endcomment %}
|
65
65
|
{% assign language = 'en' %}
|
66
66
|
|
67
|
-
<!-- [INFO ] [
|
67
|
+
<!-- [INFO ] [assets.data.gallery_customizer.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
68
68
|
<head>
|
69
69
|
<meta name="robots" content="noindex, nofollow" />
|
70
70
|
</head>
|
71
71
|
|
72
|
-
<!--
|
73
|
-
<div id="{{customizer_options.xhr_data_element}}">
|
72
|
+
<!-- [INFO ] [assets.data.gallery_customizer.html ] [ Placement of the Gallery container ] -->
|
73
|
+
<div id="{{customizer_options.xhr_data_element}}" style="max-width: {{customizer_options.max_gallery_width}}px;">
|
74
74
|
|
75
75
|
{% comment %} Main
|
76
76
|
------------------------------------------------------------------------------ {% endcomment %}
|
77
|
-
<!-- [INFO ] [
|
78
|
-
|
77
|
+
<!-- [INFO ] [assets.data.gallery_customizer.html ] [Placement of the Drawer] -->
|
79
78
|
<nav class="nav bmd-layout-container custom-size-300 bmd-drawer-f-l">
|
80
79
|
|
81
80
|
<header class="bmd-layout-header">
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
exclude_from_search: true
|
4
|
+
---
|
5
|
+
|
6
|
+
{% capture cache %}
|
7
|
+
|
8
|
+
{% comment %}
|
9
|
+
# ------------------------------------------------------------------------------
|
10
|
+
# ~/assets/data/j1_config.json
|
11
|
+
# The j1_config data used by several J1 components to ...
|
12
|
+
#
|
13
|
+
# Product/Info:
|
14
|
+
# https://jekyll.one
|
15
|
+
#
|
16
|
+
# Copyright (C) 2022 Juergen Adams
|
17
|
+
#
|
18
|
+
# J1 Template is licensed under the MIT License.
|
19
|
+
# See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
|
20
|
+
# ------------------------------------------------------------------------------
|
21
|
+
{% endcomment %}
|
22
|
+
|
23
|
+
{% comment %} Process YML config data
|
24
|
+
================================================================================ {% endcomment %}
|
25
|
+
|
26
|
+
{% comment %} Set config files
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
{% assign data = site.data %}
|
29
|
+
|
30
|
+
{% comment %} Set config data
|
31
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
32
|
+
{% assign j1_config = data.j1_config %}
|
33
|
+
|
34
|
+
|
35
|
+
{% comment %} Write config data as JSON string
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
|
38
|
+
{{ j1_config | json }}
|
39
|
+
|
40
|
+
{% endcapture %}
|
41
|
+
{{ cache | strip_empty_lines }}
|
42
|
+
{% assign cache = nil %}
|