j1-template 2023.0.17 → 2023.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_collection.html +2 -3
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -2
- data/_includes/themes/j1/modules/attics/generator.html +3 -1
- data/_includes/themes/j1/modules/navigator/generator.html +2 -2
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
- data/_layouts/{paginator/autopage_category.html → autopage_category.html} +1 -1
- data/_layouts/{paginator/autopage_collection.html → autopage_collection.html} +1 -6
- data/_layouts/{paginator/autopage_collections_tags.html → autopage_collections_tags.html} +1 -1
- data/_layouts/category.html +67 -0
- data/_layouts/readme +2 -0
- data/assets/data/banner.html +8 -6
- data/assets/data/masonry.html +397 -0
- data/assets/data/panel.html +1 -1
- data/assets/data/quicklinks.html +12 -12
- data/assets/data/slick.html +288 -0
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/attic.js +31 -16
- data/assets/themes/j1/adapter/js/j1.js +55 -21
- data/assets/themes/j1/adapter/js/masonry.js +119 -49
- data/assets/themes/j1/adapter/js/mmenu.js +4 -3
- data/assets/themes/j1/adapter/js/navigator.js +69 -19
- data/assets/themes/j1/adapter/js/slick.js +293 -44
- data/assets/themes/j1/adapter/js/toccer.js +27 -14
- data/assets/themes/j1/adapter/js/waves.js +3 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +294 -364
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/js/template.js +56 -60
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.css +35 -0
- data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +3 -3
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/LICENSE +20 -0
- data/assets/themes/j1/modules/slick/lightbox/README.md +138 -0
- data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.css +128 -0
- data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.min.css +1 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +353 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +2 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +1 -0
- data/assets/themes/j1/modules/slick/{README.md → slider/README.md} +13 -14
- data/assets/themes/j1/modules/slick/{css → slider/css}/slick.css +16 -10
- data/assets/themes/j1/modules/slick/slider/css/slick.min.css +15 -0
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +292 -0
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.svg +14 -14
- data/assets/themes/j1/modules/slick/slider/js/slick.js +3037 -0
- data/assets/themes/j1/modules/translator/css/translator.css +3 -19
- data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/rubyeventmachine.so +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/log4r/yamlconfigurator.rb +41 -41
- data/lib/starter_web/Gemfile +4 -4
- data/lib/starter_web/README.md +142 -143
- data/lib/starter_web/_config.yml +55 -25
- data/lib/starter_web/_data/blocks/banner.yml +45 -46
- data/lib/starter_web/_data/blocks/defaults/banner.yml +4 -4
- data/lib/starter_web/_data/blocks/defaults/panel.yml +11 -11
- data/lib/starter_web/_data/blocks/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +9 -9
- data/lib/starter_web/_data/layouts/collection.yml +9 -0
- data/lib/starter_web/_data/layouts/home.yml +51 -21
- data/lib/starter_web/_data/layouts/page.yml +36 -3
- data/lib/starter_web/_data/layouts/post.yml +36 -3
- data/lib/starter_web/_data/layouts/raw.yml +35 -3
- data/lib/starter_web/_data/modules/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/analytics.yml +1 -2
- data/lib/starter_web/_data/modules/attics.yml +2 -2
- data/lib/starter_web/_data/modules/blog_navigator.yml +1 -2
- data/lib/starter_web/_data/modules/carousel.yml +1 -2
- data/lib/starter_web/_data/modules/comments.yml +1 -2
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -2
- data/lib/starter_web/_data/modules/cookies.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/fab.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/justifiedGallery.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/lightGallery.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +7 -9
- data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/masonry.yml +52 -23
- data/lib/starter_web/_data/modules/defaults/navigator.yml +13 -12
- data/lib/starter_web/_data/modules/defaults/nbinteract.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/particles.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/{scoller.yml → scroller.yml} +8 -2
- data/lib/starter_web/_data/modules/defaults/slick.yml +493 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/toccer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/translator.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/waves.yml +1 -2
- data/lib/starter_web/_data/modules/dropdowns.yml +1 -2
- data/lib/starter_web/_data/modules/fab.yml +1 -2
- data/lib/starter_web/_data/modules/framer.yml +1 -2
- data/lib/starter_web/_data/modules/justifiedGallery.yml +1 -2
- data/lib/starter_web/_data/modules/lightGallery.yml +1 -2
- data/lib/starter_web/_data/modules/lightbox.yml +1 -2
- data/lib/starter_web/_data/modules/log4r.yml +140 -7
- data/lib/starter_web/_data/modules/lunr.yml +1 -2
- data/lib/starter_web/_data/modules/masonry.yml +293 -24
- data/lib/starter_web/_data/modules/masterslider.yml +2 -1
- data/lib/starter_web/_data/modules/navigator.yml +13 -25
- data/lib/starter_web/_data/modules/navigator_menu.yml +632 -560
- data/lib/starter_web/_data/modules/particles.yml +1 -2
- data/lib/starter_web/_data/modules/rangeSlider.yml +1 -2
- data/lib/starter_web/_data/modules/rtable.yml +1 -2
- data/lib/starter_web/_data/modules/scroller.yml +9 -3
- data/lib/starter_web/_data/modules/slick.yml +501 -0
- data/lib/starter_web/_data/modules/themer.yml +1 -2
- data/lib/starter_web/_data/modules/toccer.yml +1 -2
- data/lib/starter_web/_data/modules/translator.yml +1 -2
- data/lib/starter_web/_data/modules/waves.yml +1 -2
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +23 -4
- data/lib/starter_web/_data/plugins/paginator.yml +10 -13
- data/lib/starter_web/_data/puma/config.rb +10 -0
- data/lib/starter_web/_data/resources.yml +36 -29
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +2 -2
- data/lib/starter_web/_data/utilities/util_srv.yml +2 -3
- data/lib/starter_web/_includes/attributes.asciidoc +24 -0
- data/lib/starter_web/_includes/custom/static/readme +1 -1
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
- data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -0
- data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
- data/lib/starter_web/_includes/custom/templates/readme +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +50 -0
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +7 -6
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
- data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +49 -0
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/1.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/2.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/3.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/4.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/5.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/6.jpg +0 -0
- data/lib/starter_web/assets/images/custom/header/avatar.svg +248 -0
- data/lib/starter_web/assets/images/custom/header/family.svg +2209 -0
- data/lib/starter_web/assets/images/icons/controls/close-icon.svg +1 -0
- data/lib/starter_web/assets/images/icons/controls/up.svg +1 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-10.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-11.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-12.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-13.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-6.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-7.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-8.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-9.jpg +0 -0
- data/lib/starter_web/assets/images/posts/post-img.jpg +0 -0
- data/lib/starter_web/assets/images/posts/post-single.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +12 -8
- data/lib/starter_web/collections/_biography/becoming.adoc +11 -8
- data/lib/starter_web/collections/_biography/born-to-run.adoc +11 -8
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +11 -7
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +11 -9
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +11 -7
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +12 -10
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +92 -0
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +92 -0
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +88 -0
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +94 -0
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +88 -0
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +86 -0
- data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +95 -0
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +86 -0
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +97 -0
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +92 -0
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +105 -0
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +92 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +49 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +0 -13
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +117 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +117 -0
- data/lib/starter_web/dot.bundle/config +2 -0
- data/lib/starter_web/index.html +19 -4
- data/lib/starter_web/package.json +9 -9
- data/lib/starter_web/pages/public/about/site.adoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/features/template.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +98 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +86 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +87 -0
- data/lib/starter_web/pages/public/{bookshelf/whats_up.adoc → learn/bookshelf/jekyll_collections.adoc} +31 -23
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +8 -4
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +21 -13
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -1
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +22 -5
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +14 -8
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +61 -5
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +15 -3
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +13 -1
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +10 -3
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +4 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +117 -116
- data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
- data/lib/starter_web/utilsrv/package.json +2 -2
- metadata +120 -38
- data/_layouts/paginator/readme +0 -2
- data/assets/themes/j1/modules/slick/css/slick.min.css +0 -15
- data/assets/themes/j1/modules/slick/js/slick.js +0 -2295
- data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +0 -144
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +0 -103
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +0 -117
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -44
- 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/readme +0 -0
- data/lib/starter_web/pages/public/bookshelf/viewer_biography.adoc +0 -58
- /data/_layouts/{paginator/autopage_tags.html → autopage_tags.html} +0 -0
- /data/assets/themes/j1/modules/slick/{LICENSE → slider/LICENSE} +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.eot +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.ttf +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.woff +0 -0
- /data/assets/themes/j1/modules/slick/{ajax-loader.gif → slider/images/ajax-loader.gif} +0 -0
- /data/assets/themes/j1/modules/slick/{js → slider/js}/slick.min.js +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
data/assets/data/quicklinks.html
CHANGED
@@ -266,17 +266,17 @@ exclude_from_search: true
|
|
266
266
|
|
267
267
|
{% comment %} Link buttons
|
268
268
|
------------------------------------------------------------------------------ {% endcomment %}
|
269
|
-
{% if back_url != "none" %}<li id="quickLinksBackButton" class="nav-item"><a id="page_back_id"
|
270
|
-
{% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="home_id"
|
271
|
-
{% if disqus_url != "none" %}<li id="quickLinksDisqusButton" class="nav-item"><a id="disqus_id"
|
272
|
-
{% if github_url != "none" %}<li id="quickLinksGithubButton" class="nav-item"><a id="github_id"
|
273
|
-
{% if patreon_url != "none" %}<li id="quickLinksPatreonButton" class="nav-item"><a id="patreon_id"
|
274
|
-
{% if facebook_url != "none" %}<li id="quickLinksFacebookButton" class="nav-item"><a id="facebook_id"
|
275
|
-
{% if twitter_url != "none" %}<li id="quickLinksTwitterButton" class="nav-item"><a id="twitter_id"
|
269
|
+
{% if back_url != "none" %}<li id="quickLinksBackButton" class="nav-item"><a id="page_back_id" href="{{back_url}}" aria-label="{{back_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{back_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
270
|
+
{% if home_url != "none" %}<li id="quickLinksHomeButton" class="nav-item"><a id="home_id" href="{{home_url}}" aria-label="{{home_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{home_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
271
|
+
{% if disqus_url != "none" %}<li id="quickLinksDisqusButton" class="nav-item"><a id="disqus_id" href="{{disqus_url}}" aria-label="{{disqus_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{disqus_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
272
|
+
{% if github_url != "none" %}<li id="quickLinksGithubButton" class="nav-item"><a id="github_id" href="{{github_url}}" aria-label="{{github_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{github_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
273
|
+
{% if patreon_url != "none" %}<li id="quickLinksPatreonButton" class="nav-item"><a id="patreon_id" href="{{patreon_url}}" aria-label="{{patreon_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{patreon_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
274
|
+
{% if facebook_url != "none" %}<li id="quickLinksFacebookButton" class="nav-item"><a id="facebook_id" href="{{facebook_url}}" aria-label="{{facebook_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{facebook_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
275
|
+
{% if twitter_url != "none" %}<li id="quickLinksTwitterButton" class="nav-item"><a id="twitter_id" href="{{twitter_url}}" aria-label="{{twitter_label}}" target="blank"><i class="nav-icon {{icon_family}} {{icon_family}}-{{twitter_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
276
276
|
|
277
277
|
{% comment %} Action buttons
|
278
278
|
------------------------------------------------------------------------------ {% endcomment %}
|
279
|
-
{% if show_quicksearch_icon %}<li id="quickLinksSearchButton" class="nav-item {{quicksearch_action}}"><a
|
279
|
+
{% if show_quicksearch_icon %}<li id="quickLinksSearchButton" class="nav-item {{quicksearch_action}}"><a href="#" aria-label="{{quicksearch_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{quicksearch_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
280
280
|
{% if show_auth_manager_icon %}<li id="quickLinksSignInOutButton" class="nav-item sign-inout" style="display: none;"><a class="nav-icon" id="navLinkSignInOut" aria-label="SignOut" href="#" data-bs-toggle="modal" data-bs-target="#{{signin_modal_id}}"><i id="iconSignInOut" class="nav-icon {{icon_family}} {{icon_family}}-{{signin_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
281
281
|
{% if show_cookieconsent_icon %}<li id="quickLinksCookieButton" class="nav-item {{cookies_action}}" style="display: block;"><a href="#" aria-label="{{cookies_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{cookies_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
282
282
|
{% if show_r_text_icon %}<li id="quickLinksRTextButton" class="nav-item {{r_text_action}}" style="display: block;"><a class="nav-icon" href="#" aria-label="{{r_text_label}}" data-bs-toggle="modal" data-bs-target="#fluidModalRTextResizer"><i class="nav-icon {{icon_family}} {{icon_family}}-{{r_text_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
@@ -284,11 +284,11 @@ exclude_from_search: true
|
|
284
284
|
{% if show_notebooks_icon %}<li id="quickLinksNotebookseButton" class="nav-item {{notebooks_action}}" style="display: none;"><a href="#" aria-label="{{translate_label}}"><i class="nav-icon {{icon_family}} {{icon_family}}-{{notebooks_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
285
285
|
|
286
286
|
{% comment %} Unused
|
287
|
-
|
288
|
-
{% if show_control_center_icon %}<li id="quickLinksControlCenterButton" class="nav-item control-center" style="display: block;"><a class="nav-icon" href="{{control_center_url}}" aria-label="ControlCenter"><i class="{{icon_family}} {{icon_family}}-{{control_center_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
287
|
+
------------------------------------------------------------------------------
|
288
|
+
{% if show_control_center_icon %}<li id="quickLinksControlCenterButton" class="nav-item control-center" style="display: block;"><a class="nav-icon" href="{{control_center_url}}" aria-label="ControlCenter"><i class="nav-icon {{icon_family}} {{icon_family}}-{{control_center_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
289
289
|
{% if show_translator_icon %}<li id="quickLinksLanguageButton" class="nav-item translator"><a class="nav-icon" href="#void" aria-label="Translator"><i class="nav-icon {{icon_family}} {{icon_family}}-{{translator_icon}} {{icon_size}}"></i></a></li>{% endif %}
|
290
|
-
{% if show_google_translate_lang %}<li id="quickLinksTranslateLangButton"
|
291
|
-
|
290
|
+
{% if show_google_translate_lang %}<li id="quickLinksTranslateLangButton" sclass="nav-item" style="display: block;"><a href="javascript:j1.translator.showDialog()" aria-label="Google Translate"><i class="nav-icon flag-icon flag-icon-{{translate_lang}} rectangle size-md"></i></a></li>{% endif %}
|
291
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
292
292
|
|
293
293
|
</ul>
|
294
294
|
|
@@ -0,0 +1,288 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
exclude_from_search: true
|
4
|
+
---
|
5
|
+
|
6
|
+
{% capture cache %}
|
7
|
+
|
8
|
+
{% comment %}
|
9
|
+
# -----------------------------------------------------------------------------
|
10
|
+
# ~/assets/data/slick.html
|
11
|
+
# Liquid procedure to generate the HTML portion for all Slick Carousels
|
12
|
+
# configured
|
13
|
+
#
|
14
|
+
# Product/Info:
|
15
|
+
# https://jekyll.one
|
16
|
+
#
|
17
|
+
# Copyright (C) 2023 Juergen Adams
|
18
|
+
#
|
19
|
+
# J1 Theme is licensed under the MIT License.
|
20
|
+
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
# NOTE: Data loaded dynamically by J1 Master Slider module (AJAX)
|
23
|
+
# -----------------------------------------------------------------------------
|
24
|
+
# Test data:
|
25
|
+
# {{variable | debug}}
|
26
|
+
# -----------------------------------------------------------------------------
|
27
|
+
{% endcomment %}
|
28
|
+
|
29
|
+
{% comment %} Liquid procedures (currently unused)
|
30
|
+
--------------------------------------------------------------------------------
|
31
|
+
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
32
|
+
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
33
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
34
|
+
|
35
|
+
{% comment %} Liquid var initialization
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
|
38
|
+
{% comment %} Set config files
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
+
{% assign template_config = site.data.j1_config %}
|
41
|
+
{% assign modules = site.data.modules %}
|
42
|
+
|
43
|
+
{% comment %} Set config data
|
44
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
45
|
+
{% assign environment = site.environment %}
|
46
|
+
{% assign carousel_defaults = modules.defaults.slick.defaults %}
|
47
|
+
{% assign carousel_settings = modules.slick.settings %}
|
48
|
+
|
49
|
+
{% comment %} Set config options
|
50
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
51
|
+
{% assign carousel_options = carousel_defaults | merge: carousel_settings %}
|
52
|
+
{% assign carousels = carousel_settings.carousels %}
|
53
|
+
|
54
|
+
{% comment %} Configure permalink settings
|
55
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
56
|
+
{% assign ext = '' %}
|
57
|
+
{% if site.permalink == 'none' %}
|
58
|
+
{% assign ext = '.html' %}
|
59
|
+
{% endif %}
|
60
|
+
|
61
|
+
{% comment %} Detect prod mode
|
62
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
63
|
+
{% assign production = false %}
|
64
|
+
{% if environment == 'prod' or environment == 'production' %}
|
65
|
+
{% assign production = true %}
|
66
|
+
{% endif %}
|
67
|
+
|
68
|
+
{% comment %} Main
|
69
|
+
================================================================================ {% endcomment %}
|
70
|
+
<!-- [INFO ] [~/assets/data/slick.html ] [ set meta data (robots) to exclude HTML datafiles from index ] -->
|
71
|
+
<head>
|
72
|
+
<meta name="robots" content="noindex, nofollow" />
|
73
|
+
</head>
|
74
|
+
|
75
|
+
{% comment %} Main
|
76
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
77
|
+
<!-- [INFO ] [~/assets/data/slick.html ] [collect all carousel items] -->
|
78
|
+
{% for carousel in carousels %}
|
79
|
+
{% if carousel.enabled %}
|
80
|
+
|
81
|
+
{% comment %} Set Carousel defaults
|
82
|
+
{% assign carousel.lightbox.enabled = false %}
|
83
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
84
|
+
|
85
|
+
{% comment %} Generate HTML portion for all sliders (enabled)
|
86
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
87
|
+
|
88
|
+
{% comment %} Collect Collection Carousels
|
89
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
90
|
+
{% if carousel.type == 'collection' %}
|
91
|
+
|
92
|
+
{% comment %} Set Collection data
|
93
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
94
|
+
{% assign collection_name = carousel.collection %}
|
95
|
+
|
96
|
+
{% comment %} Collect Collection documents
|
97
|
+
-------------------------------------------------------------------------- {% endcomment %}
|
98
|
+
{% for collection in site.collections %}
|
99
|
+
{% if collection.label contains collection_name %}
|
100
|
+
{% assign articles = collection.docs %}
|
101
|
+
{% assign num_articles = collection.docs | size | minus:4 %}
|
102
|
+
{% break %}
|
103
|
+
{% endif %}
|
104
|
+
{% endfor %}
|
105
|
+
|
106
|
+
<!-- Articles -->
|
107
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
108
|
+
|
109
|
+
{% for article in articles %}
|
110
|
+
|
111
|
+
{% if carousel.translate_links %}
|
112
|
+
{% assign translate = "" %}
|
113
|
+
{% else %}
|
114
|
+
{% assign translate = "notranslate" %}
|
115
|
+
{% endif %}
|
116
|
+
|
117
|
+
{% if carousel.link_new_window %}
|
118
|
+
{% assign target = "_blank" %}
|
119
|
+
{% else %}
|
120
|
+
{% assign target = "" %}
|
121
|
+
{% endif %}
|
122
|
+
|
123
|
+
<!-- Article slide -->
|
124
|
+
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0 pr-{{carousel.gutters}}">
|
125
|
+
<div id="{{article.title | downcase | replace: ' ' ,'_'}}" class="card bottom">
|
126
|
+
<img class="{{carousel.image_styles}}" src="{{article.image.path}}" alt="{{article.title}}" />
|
127
|
+
<!-- Article link (caption) -->
|
128
|
+
<div class="caption">
|
129
|
+
<a class="article-link {{translate}}"
|
130
|
+
href="{{article.url}}"
|
131
|
+
target="{{target}}">
|
132
|
+
{{article.tags[0]}} · {{article.title}}
|
133
|
+
</a>
|
134
|
+
</div>
|
135
|
+
<!-- /Article link -->
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
<!-- /Article slide -->
|
139
|
+
|
140
|
+
{% endfor %}
|
141
|
+
|
142
|
+
</div>
|
143
|
+
<!-- /Articles -->
|
144
|
+
{% endif %}
|
145
|
+
|
146
|
+
{% comment %} Collect Post Carousels
|
147
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
148
|
+
{% if carousel.type == 'post' %}
|
149
|
+
|
150
|
+
<!-- Posts -->
|
151
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
152
|
+
{% for post in site.posts %}
|
153
|
+
{% if post.group contains carousel.group %}
|
154
|
+
|
155
|
+
{% if carousel.translate_links %}
|
156
|
+
{% assign translate = "" %}
|
157
|
+
{% else %}
|
158
|
+
{% assign translate = "notranslate" %}
|
159
|
+
{% endif %}
|
160
|
+
|
161
|
+
{% if carousel.link_new_window %}
|
162
|
+
{% assign target = "_blank" %}
|
163
|
+
{% else %}
|
164
|
+
{% assign target = "" %}
|
165
|
+
{% endif %}
|
166
|
+
|
167
|
+
<!-- Collect data only if group matches -->
|
168
|
+
<div class="col-lg-3 col-sm-6 mb-2 mb-lg-0 pr-{{carousel.gutters}}">
|
169
|
+
<article class="card bg-dark text-center text-white border-0 rounded-0 bottom">
|
170
|
+
<img class="card-img {{carousel.image_styles}}" src="{{post.image.path | relative_url}}" alt="{{post.title}}" style="filter: contrast(1) brightness(0.5); height: {{carousel.image_height}}">
|
171
|
+
|
172
|
+
<div class="card-img-overlay">
|
173
|
+
<div class="card-content mt-4">
|
174
|
+
{% if post %}
|
175
|
+
{% assign categories = post.categories %}
|
176
|
+
{% else %}
|
177
|
+
{% assign categories = page.categories %}
|
178
|
+
{% endif %}
|
179
|
+
|
180
|
+
{% comment %} categories: {{categories | debug}}
|
181
|
+
---------------------------------------------------------------- {% endcomment %}
|
182
|
+
|
183
|
+
{% for category in categories %}
|
184
|
+
{% if category contains post.group %}
|
185
|
+
<a class="d-block text-white text-uppercase link-no-decoration {{translate}}"
|
186
|
+
href="/pages/public/blog/navigator/archive/categoryview/#{{category | slugify}}"
|
187
|
+
target="{{target}}"
|
188
|
+
style="font-size: 24px;">{{category}}
|
189
|
+
</a>
|
190
|
+
{% endif %}
|
191
|
+
{% endfor %}
|
192
|
+
|
193
|
+
<ul class="list-inline d-flex justify-content-center mb-3">
|
194
|
+
<li class="list-inline-item">
|
195
|
+
<i class="mdi mdi-account md-gray-400 mdi-24px mr-1" style="margin-right: 8px;"></i>
|
196
|
+
{{site.author.name | split: ' ' | first}} ·
|
197
|
+
</li>
|
198
|
+
<li class="list-inline-item">
|
199
|
+
<i class="mdi mdi-calendar-blank md-gray-400 mdi-24px mr-1"></i>
|
200
|
+
{{post.date | date: '%b %d, %Y'}}
|
201
|
+
</li>
|
202
|
+
</ul>
|
203
|
+
|
204
|
+
<!-- h4 class="card-title notoc">
|
205
|
+
<a class="text-white link-no-decoration {{translate}}"
|
206
|
+
href="{{post.url | relative_url}}"
|
207
|
+
target="{{target}}">{{post.tags[0]}}
|
208
|
+
</a>
|
209
|
+
</h4 -->
|
210
|
+
|
211
|
+
<!-- Post link (caption) -->
|
212
|
+
<div class="caption">
|
213
|
+
<a class="article-link {{translate}}"
|
214
|
+
href="{{post.url}}"
|
215
|
+
target="{{target}}">
|
216
|
+
{{post.tags[0]}}
|
217
|
+
</a>
|
218
|
+
</div>
|
219
|
+
<!-- /Article link -->
|
220
|
+
|
221
|
+
</div>
|
222
|
+
</div>
|
223
|
+
</article>
|
224
|
+
</div>
|
225
|
+
{% endif %}
|
226
|
+
{% endfor %}
|
227
|
+
</div>
|
228
|
+
<!-- /Posts -->
|
229
|
+
{% endif %}
|
230
|
+
|
231
|
+
{% comment %} Collect Example Carousels
|
232
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
233
|
+
{% if carousel.type == 'example' %}
|
234
|
+
|
235
|
+
<!-- Example slider -->
|
236
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
237
|
+
{% for i in (1..carousel.slides) %}
|
238
|
+
<div>
|
239
|
+
<{{carousel.style}} class="slide-item notoc mr-{{carousel.gutters}}" style="line-height: {{carousel.height}};">{{i}}</{{carousel.style}}>
|
240
|
+
</div>
|
241
|
+
{% endfor %}
|
242
|
+
</div>
|
243
|
+
<!-- /Example slider -->
|
244
|
+
|
245
|
+
{% endif %}
|
246
|
+
|
247
|
+
{% comment %} Collect Image Carousels
|
248
|
+
---------------------------------------------------------------------------- {% endcomment %}
|
249
|
+
{% if carousel.type == 'image' %}
|
250
|
+
|
251
|
+
<!-- Image slider -->
|
252
|
+
<div id="{{carousel.id}}" class="{{carousel.id | replace: '_','-' }}">
|
253
|
+
{% for slide in carousel.slides %}
|
254
|
+
<div class="col-sm-6 col-lg-4 pr-{{carousel.gutters}}">
|
255
|
+
<div class="card {{carousel.captions.position}}">
|
256
|
+
{% if carousel.lightbox.enabled %}
|
257
|
+
<a class="card-link" href="{{carousel.image_base_path}}/{{slide.image}}" data-caption="{{slide.caption}}" target="_blank">
|
258
|
+
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="height: {{carousel.image_height}}">
|
259
|
+
</a>
|
260
|
+
{% if carousel.captions.enabled %}
|
261
|
+
<div id="{{carousel.id}}_caption"class="caption">{{slide.caption}}</div>
|
262
|
+
{% endif %}
|
263
|
+
{% else %}
|
264
|
+
<img class="{{carousel.image_styles}}" src="{{carousel.image_base_path}}/{{slide.image}}" alt="{{slide.caption}}" style="height: {{carousel.image_height}}">
|
265
|
+
{% if carousel.captions.enabled %}
|
266
|
+
<div id="{{carousel.id}}_caption"class="caption">{{slide.caption}}</div>
|
267
|
+
{% endif %}
|
268
|
+
{% endif %}
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
{% endfor %}
|
272
|
+
</div>
|
273
|
+
<!-- /Image slider -->
|
274
|
+
|
275
|
+
{% endif %}
|
276
|
+
|
277
|
+
{% endif %}
|
278
|
+
{% endfor %}
|
279
|
+
<!-- [INFO ] [~/assets/data/slick.html ] [end collecting all carousel items] -->
|
280
|
+
|
281
|
+
{% endcapture %}
|
282
|
+
|
283
|
+
{% if production %}
|
284
|
+
{% capture _LINE_FEED %}{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ cache | strip_html_comments }}{% else %}{% capture _content %}{{ cache | strip_html_comments }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ cache | strip_html_comments | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
285
|
+
{% else %}
|
286
|
+
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
287
|
+
{% endif %}
|
288
|
+
{% assign cache = nil %}
|
@@ -89,7 +89,7 @@ sitemap: false
|
|
89
89
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
90
90
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
91
91
|
<meta name="robots" content="noindex, nofollow">
|
92
|
-
|
92
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
93
93
|
<title>{{title}} · {{page.http_error}}</title>
|
94
94
|
<style>
|
95
95
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -86,7 +86,7 @@ sitemap: false
|
|
86
86
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
87
87
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
88
88
|
<meta name="robots" content="noindex, nofollow">
|
89
|
-
|
89
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
90
90
|
<title>{{title}} · {{page.http_error}}</title>
|
91
91
|
<style>
|
92
92
|
.attic {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -86,7 +86,7 @@ sitemap: false
|
|
86
86
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
87
87
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
88
88
|
<meta name="robots" content="noindex, nofollow">
|
89
|
-
|
89
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
90
90
|
<title>{{title}} · {{page.http_error}}</title>
|
91
91
|
<style>
|
92
92
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -86,7 +86,7 @@ sitemap: false
|
|
86
86
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
87
87
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
88
88
|
<meta name="robots" content="noindex, nofollow">
|
89
|
-
|
89
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
90
90
|
<title>{{title}} · {{page.http_error}}</title>
|
91
91
|
<style>
|
92
92
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -85,7 +85,7 @@ sitemap: false
|
|
85
85
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
86
86
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
87
87
|
<meta name="robots" content="noindex, nofollow">
|
88
|
-
|
88
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
89
89
|
<title>{{title}} · {{page.http_error}}</title>
|
90
90
|
<style>
|
91
91
|
body, html {
|
@@ -88,7 +88,7 @@ sitemap: false
|
|
88
88
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
89
89
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
90
90
|
<meta name="robots" content="noindex, nofollow">
|
91
|
-
|
91
|
+
<!-- link rel="icon" type="image/ico" href="{{favicon}}" -->
|
92
92
|
<title>{{title}} · {{page.http_error}}</title>
|
93
93
|
<style>
|
94
94
|
body, html {
|
@@ -56,11 +56,6 @@ regenerate: true
|
|
56
56
|
{% assign production = true %}
|
57
57
|
{% endif %}
|
58
58
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
59
|
/*
|
65
60
|
# -----------------------------------------------------------------------------
|
66
61
|
# ~/assets/themes/j1/adapter/js/attic.js
|
@@ -134,9 +129,7 @@ j1.adapter.attic = (function (j1, window) {
|
|
134
129
|
// create settings object from attic options
|
135
130
|
var atticDefaults = $.extend({}, {{attic_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
|
136
131
|
var atticSettings = $.extend({}, {{attic_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
|
137
|
-
|
138
|
-
// merge all attic options
|
139
|
-
var atticOptions = $.extend({}, atticDefaults, atticSettings, frontmatterOptions);
|
132
|
+
var atticOptions = $.extend(true, {}, atticDefaults, atticSettings, frontmatterOptions);
|
140
133
|
|
141
134
|
// Save frontmatterOptions and atticOptions in the j1 namespace
|
142
135
|
// to be used later by j1.template.init() to load the header
|
@@ -148,18 +141,31 @@ j1.adapter.attic = (function (j1, window) {
|
|
148
141
|
logger.debug('\n' + 'state: ' + _this.getState());
|
149
142
|
logger.info('\n' + 'module is being initialized');
|
150
143
|
|
151
|
-
|
152
|
-
|
144
|
+
var dependencies_met_page_ready = setInterval (function (options) {
|
145
|
+
var pageState = $('#no_flicker').css("display");
|
146
|
+
var pageVisible = (pageState == 'block') ? true: false;
|
147
|
+
if ( j1.getState() === 'finished' && pageVisible ) {
|
148
|
+
{% if attic_options.enabled %}
|
149
|
+
logger.info('\n' + 'create all attics configured');
|
150
|
+
_this.createAllAttics();
|
151
|
+
clearInterval(dependencies_met_page_ready);
|
152
|
+
{% else %}
|
153
|
+
logger.warn('\n' + 'found module attics disabled');
|
154
|
+
// add additional top space
|
155
|
+
$('#content').addClass('mt-5');
|
156
|
+
clearInterval(dependencies_met_page_ready);
|
157
|
+
{% endif %}
|
158
|
+
}
|
159
|
+
}, 25);
|
153
160
|
}, // END init
|
154
161
|
|
155
162
|
// -------------------------------------------------------------------------
|
156
163
|
// Initialize all header supported
|
157
164
|
// -------------------------------------------------------------------------
|
158
|
-
|
165
|
+
createAllAttics: function () {
|
159
166
|
var frontmatterOptions = _this.frontmatterOptions;
|
160
167
|
// merge all attic options
|
161
|
-
var atticOptions = $.extend({}, _this.atticOptions, _this.frontmatterOptions);
|
162
|
-
|
168
|
+
var atticOptions = $.extend(true, {}, _this.atticOptions, _this.frontmatterOptions);
|
163
169
|
|
164
170
|
{% comment %} Load data from header config (yaml data file)
|
165
171
|
-------------------------------------------------------------------------- {% endcomment %}
|
@@ -182,6 +188,8 @@ j1.adapter.attic = (function (j1, window) {
|
|
182
188
|
// Create the SPECIFIC header loader FUNCTION of type: {{attic_id}}
|
183
189
|
function {{attic_id}} (atticOptions) {
|
184
190
|
|
191
|
+
logger.info('\n' + 'initialize attic on id: {{attic_id}}');
|
192
|
+
|
185
193
|
// convert attic filter settings to object to array to string
|
186
194
|
atticFilters = $.extend({}, {{item.attic.filters | replace: 'nil', 'null' | replace: '=>', ':' }});
|
187
195
|
filterArray = [];
|
@@ -216,6 +224,8 @@ j1.adapter.attic = (function (j1, window) {
|
|
216
224
|
loop: atticOptions.loop,
|
217
225
|
mute: atticOptions.mute
|
218
226
|
});
|
227
|
+
} else {
|
228
|
+
logger.warn('\n' + 'no attic container found on id: {{attic_id}}');
|
219
229
|
}
|
220
230
|
|
221
231
|
{% comment %} Add a spinner if configured
|
@@ -379,7 +389,7 @@ j1.adapter.attic = (function (j1, window) {
|
|
379
389
|
|
380
390
|
_this.setState('finished');
|
381
391
|
logger.debug('\n' + 'state: ' + _this.getState());
|
382
|
-
|
392
|
+
logger.info('\n' + 'finished attic on id: {{attic_id}}');
|
383
393
|
}); // END on('backstretch.after')
|
384
394
|
|
385
395
|
} // END if attic_id exists
|
@@ -605,14 +615,19 @@ j1.adapter.attic = (function (j1, window) {
|
|
605
615
|
if (typeof atticOptions.slides != 'undefined') {
|
606
616
|
// Load the image header if the page is ready (visible)
|
607
617
|
$(function() {
|
608
|
-
// logger.
|
609
|
-
logger.debug('\n' + 'Load image header');
|
618
|
+
// logger.info('\n' + 'Load image header on id: {{attic_id}}');
|
610
619
|
{{attic_id}}(atticOptions);
|
611
620
|
_this.setState('completed');
|
612
621
|
logger.debug('\n' + 'state: ' + _this.getState());
|
613
622
|
});
|
614
623
|
}
|
615
624
|
} // END if header id found in page
|
625
|
+
|
626
|
+
{% else %}
|
627
|
+
{% assign attic_id = item.attic.id %}
|
628
|
+
// add additional top space
|
629
|
+
$('#content').addClass('mt-8');
|
630
|
+
logger.info('\n' + 'found attic disabled on id: {{attic_id}}');
|
616
631
|
{% endif %} // END if header enabled
|
617
632
|
{% endfor %} // END for item in header_config.attics
|
618
633
|
|