j1-template 2020.0.5 → 2020.0.10
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_post.html +2 -2
- data/_includes/themes/j1/modules/navigator/generator.html +8 -8
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +8 -3
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/{lib/starter_web/apps → apps}/public/cc/cc.yml +0 -0
- data/{lib/starter_web/apps → apps}/public/cc/index.adoc +0 -0
- data/assets/data/mmenu.html +1 -1
- data/assets/data/mmenu_sidebar.html +1 -1
- data/assets/data/mmenu_toc.html +1 -1
- data/assets/data/search.yml +32 -10
- data/assets/data/ssm.html +16 -12
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/algolia.js +24 -16
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/attic.js +35 -34
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/carousel.js +34 -23
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/cookie_consent.js +8 -0
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/framer.js +11 -4
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/gallery_customizer.js +16 -8
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/j1.js +87 -139
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/justified_gallery.js +50 -33
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/lightbox.js +9 -1
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/logger.js +12 -4
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/mmenu.js +35 -14
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/navigator.js +77 -75
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/searcher.js +10 -2
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/ssm.js +89 -69
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/themer.js +11 -3
- data/{lib/starter_web/assets → assets}/themes/j1/adapter/js/toccer.js +54 -156
- data/assets/themes/j1/core/css/theme_extensions.css +599 -118
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +609 -118
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +4 -1
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +40 -30
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/carousel_transitions.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/css/theme/uno.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/ajax-loader.gif +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/grabbing.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl-logo.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/images/owl.video.play.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/carousel/js/carousel.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iconify/js/iconify.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/index.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/examples/two.html +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/LICENSE +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/README.md +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/css/theme/uno.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/.csslintrc +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v3.7.0/less/justifiedGallery.less +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/css/theme/uno.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/justifiedGallery.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/css/theme/uno.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/justified_gallery/js/justifiedGallery.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-fb-comment-box.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lg-transitions.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/core/lightgallery.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.eot +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.svg +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.ttf +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/fonts/lg.woff +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/loading.gif +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/video-play.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/vimeo-play.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/img/youtube-play.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/animation-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/customize-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/dynamic-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/facebook-icon.svg +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/googleplus-icon.svg +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/html5-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/linked-in.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/module-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/play-button.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/responsive-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/thumb-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/touch-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter-icon.svg +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/twitter.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/video1-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom-w.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/icons/zoom.png +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/css/themes/uno.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/core/lightgallery.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/j1/j1-video.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-autoplay.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-fullscreen.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-hash.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-pager.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-share.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-thumbnail.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-video.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/light_gallery/js/modules/lg-zoom.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.dark/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.light/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.dark/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai.light/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.monokai/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.dark/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized.light/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16.solarized/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/base16/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/colorful/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/github/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.dark/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox.light/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/gruvbox/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/igorpro/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/molokai/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai.sublime/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/monokai/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/pastie/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/thankful_eyes/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/rouge/css/tulip/theme.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/city.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/fantasy.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/forest.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/themes/sea.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/css/video-js.min.css +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/videojs/js/video.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/froogaloop/js/froogaloop2.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.js.map +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js +0 -0
- data/{lib/starter_web/assets → assets}/themes/j1/extensions/vimeo/player/js/player.min.js.map +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +2 -2
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/ssm.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/toccer.yml +9 -14
- data/lib/starter_web/_data/modules/jekyll_search.yml +3 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -1
- data/lib/starter_web/_data/modules/ssm.yml +10 -1
- data/lib/starter_web/_data/modules/toccer.yml +15 -63
- data/lib/starter_web/_data/resources.yml +5 -54
- data/lib/starter_web/_data/template_settings.yml +13 -13
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/about/about_site.adoc +3 -3
- data/lib/starter_web/pages/public/about/become_a_patron.adoc +9 -11
- data/lib/starter_web/pages/public/clear_button.adoc +121 -0
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +9 -4
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +6 -7
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +7 -3
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +22 -24
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +27 -30
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +54 -48
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +5 -3
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +159 -175
- data/assets/themes/j1/core/css/globals.scss +0 -28
- data/lib/starter_web/_data/modules/back2top.yml +0 -40
- data/lib/starter_web/_data/modules/defaults/back2top.yml +0 -147
- data/lib/starter_web/_data/modules/defaults/smooth_scroll.yml +0 -169
- data/lib/starter_web/_data/modules/navigator.yml.new +0 -232
- data/lib/starter_web/_data/modules/smooth_scroll.yml +0 -169
- data/lib/starter_web/assets/themes/j1/adapter/js/back2top.js +0 -227
- data/lib/starter_web/assets/themes/j1/adapter/js/mmenu.js.new +0 -432
- data/lib/starter_web/assets/themes/j1/adapter/js/scroller.js +0 -177
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.css +0 -384
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/mmenu-light.min.css +0 -384
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.css +0 -95
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/css/themes/uno.min.css +0 -95
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.js +0 -11
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.min.js +0 -11
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.js +0 -118
- data/lib/starter_web/assets/themes/j1/extensions/mmenu-light/js/mmenu-light.polyfills.min.js +0 -118
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 294ad76aaea5bb9b75bfe21b5412ca52d5f63255c80e6383d42717171b886311
|
4
|
+
data.tar.gz: 9ee6d60d4f040fcff8d7ed4f9e0b1b0cc3327c625e2026da898fecc520000dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34562865fd1e38574fbb99d55cbcab7cee3e704febe4fe410a560d7147fba85541cf33331b8755efbccf7092eb19fecf1790e59dff3080a26c8249bef63b7d23
|
7
|
+
data.tar.gz: 7e80771307131117aac96d63e40e08aa3c8d592fd3cc7335666568d95d4cbbe76901c383c0334c2ee86ad6453ab4824d88519d4b5e1a332debe8be59c0790d3c
|
@@ -98,7 +98,7 @@
|
|
98
98
|
</button>
|
99
99
|
<ul class="nav navbar-nav">
|
100
100
|
<li class="nav-item">
|
101
|
-
<span class="
|
101
|
+
<span class="navbar-text">Series Navigator</span>
|
102
102
|
</li>
|
103
103
|
</ul>
|
104
104
|
</div>
|
@@ -158,7 +158,7 @@
|
|
158
158
|
</button>
|
159
159
|
<ul class="nav navbar-nav">
|
160
160
|
<li class="nav-item">
|
161
|
-
<span class="
|
161
|
+
<span class="navbar-text">Series Navigator: {{page.series}}</span>
|
162
162
|
</li>
|
163
163
|
</ul>
|
164
164
|
</div>
|
@@ -142,7 +142,7 @@
|
|
142
142
|
{% for item in nav_mmenu_options.menus %}
|
143
143
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ processing: {{item.menu.xhr_container_id}} ] -->
|
144
144
|
|
145
|
-
{% comment %}
|
145
|
+
{% comment %} Condition DISABLED for testing
|
146
146
|
--------------------------------------------------------------------------------
|
147
147
|
{% if item.menu.enabled %}
|
148
148
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mmenu container for AJAX load ] -->
|
@@ -165,9 +165,9 @@
|
|
165
165
|
{% if brand_position == "left" %}
|
166
166
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand image to the: left ] -->
|
167
167
|
{% if site.brand.image %}
|
168
|
-
<a id="navbar-brand" class="navbar-brand animated"
|
168
|
+
<a id="navbar-brand" class="navbar-brand animated"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
|
169
169
|
{% else %}
|
170
|
-
<a id="navbar-brand" class="navbar-brand animated"
|
170
|
+
<a id="navbar-brand" class="navbar-brand animated"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
|
171
171
|
{% endif %}
|
172
172
|
<button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
|
173
173
|
<i class="mdi mdi-menu mdi-48px"></i>
|
@@ -175,20 +175,20 @@
|
|
175
175
|
{% elsif brand_position == "right" %}
|
176
176
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to the: right ] -->
|
177
177
|
{% if site.brand.image %}
|
178
|
-
<a id="navbar-brand" class="navbar-brand animated"
|
178
|
+
<a id="navbar-brand" class="navbar-brand animated"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
|
179
179
|
{% else %}
|
180
|
-
<a id="navbar-brand" class="navbar-brand animated"
|
180
|
+
<a id="navbar-brand" class="navbar-brand animated"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
|
181
181
|
{% endif %}
|
182
182
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place mobile menu button to the: left ] -->
|
183
183
|
<button id="mmenu-button" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
|
184
|
-
<i class="mdi mdi-menu mdi-
|
184
|
+
<i class="mdi mdi-menu mdi-36px"></i>
|
185
185
|
</button>
|
186
186
|
{% else %}
|
187
187
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place brand to default position: left ] -->
|
188
188
|
{% if site.brand.image %}
|
189
|
-
<a id="navbar-brand" class="navbar-brand animated"
|
189
|
+
<a id="navbar-brand" class="navbar-brand animated"> <img src="{{ site.data.template_settings.image_path }}/{{ site.brand.image }}" height="{{ site.brand.image_height }}" alt="{{ site.brand.text }}"></a>
|
190
190
|
{% else %}
|
191
|
-
<a id="navbar-brand" class="navbar-brand animated"
|
191
|
+
<a id="navbar-brand" class="navbar-brand animated"> <b><font color="{{site.brand.text_color}}">{{ site.brand.text }}</font></b></a>
|
192
192
|
{% endif %}
|
193
193
|
<!-- [INFO ] [j1.modules.navigator.generator.html ] [ place menu toggler to the: right ] -->
|
194
194
|
<button id="navbar-toggler" type="button" class="navigator navbar-toggler animated fadeIn" data-toggle="collapse" data-target="#{{nav_menu_id}}" aria-controls="{{nav_menu_id}}" aria-expanded="false" aria-label="Toggle navigation">
|
@@ -27,7 +27,7 @@
|
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
28
|
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
29
29
|
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
30
|
-
|
30
|
+
|
31
31
|
|
32
32
|
{% comment %} Liquid var initialization
|
33
33
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -52,6 +52,7 @@
|
|
52
52
|
{% assign result_heading_lead = topsearch_options.result_heading_lead %}
|
53
53
|
{% assign search_icon = topsearch_options.search_icon %}
|
54
54
|
{% assign close_icon = topsearch_options.close_icon %}
|
55
|
+
{% assign clear_icon = topsearch_options.clear_icon %}
|
55
56
|
|
56
57
|
{% assign quick_search = true %}
|
57
58
|
{% assign elastic_search = false %}
|
@@ -80,7 +81,7 @@
|
|
80
81
|
{% assign icon_size = size %}
|
81
82
|
|
82
83
|
|
83
|
-
{% comment %} Main
|
84
|
+
{% comment %} Main
|
84
85
|
-------------------------------------------------------------------------------- {% endcomment %}
|
85
86
|
{% if topsearch_options.enabled %}
|
86
87
|
|
@@ -93,13 +94,17 @@
|
|
93
94
|
<div class="input-group">
|
94
95
|
<span class="input-group-addon"><i class="{{icon_family}} {{icon_family}}-{{search_icon}} {{icon_size}}" {{icon_color}}></i></span>
|
95
96
|
<input type="text" id="jss-input" class="form-control" placeholder="{{placeholder}}">
|
97
|
+
{% if clear_icon %}
|
98
|
+
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ place clear icon ] -->
|
99
|
+
<span class="form-clear form-clear-searcher d-none"><i class="{{icon_family}} {{icon_family}}-{{clear_icon}} {{icon_size}}" {{icon_color}}"></i></span>
|
100
|
+
{% endif %}
|
96
101
|
<span class="input-group-addon close-search"><i class="{{icon_family}} {{icon_family}}-{{close_icon}} {{icon_size}}" {{icon_color}}></i></span>
|
97
102
|
</div>
|
98
103
|
</div>
|
99
104
|
<!-- [INFO ] [j1.modules.navigator.topsearch.proc ] [ add search panel (hidden) ] -->
|
100
105
|
<div class="row">
|
101
106
|
<!-- div class="card card-flat panel-search mr-5 mb-3 ml-5" id="jss-panel" style="display: none" -->
|
102
|
-
<div class="panel-search mr-5 mb-3
|
107
|
+
<div class="panel-search mr-5 mb-3 col-lg-9" id="jss-panel" style="display: none">
|
103
108
|
{% if search_heading_lead %}<div class="panel-heading lead">{{ search_heading_lead }}</div>{% endif %}
|
104
109
|
{% if result_heading_lead %}<div class="panel-body"><p>{{ result_heading_lead }}</p></div>{% endif %}
|
105
110
|
<div class="search-list-group mr-5 ml-2">
|
File without changes
|
File without changes
|
data/assets/data/mmenu.html
CHANGED
@@ -137,7 +137,7 @@ regenerate: true
|
|
137
137
|
<!-- [DEBUG ] [j1.modules.mmenu.html ] [collect all nav links for the navigation bar (navbar)] -->
|
138
138
|
<!-- div id="{{nav_menu_id}}" class="{{dropdown_collapse}}" -->
|
139
139
|
<!-- div class="{{dropdown_collapse}}" -->
|
140
|
-
<ul id="
|
140
|
+
<ul id="menu_mmenu" style="display:none">
|
141
141
|
|
142
142
|
{% for menu in navigator_menu_config %}
|
143
143
|
|
@@ -89,7 +89,7 @@ regenerate: true
|
|
89
89
|
|
90
90
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Start processing: sidebar] -->
|
91
91
|
<!-- use BS4 class d-block to make sure, the sidebar is VISIBLE on ALL @media -->
|
92
|
-
<div class="mm-side
|
92
|
+
<div id="sidebar_mmenu" class="mm-side" style="display:none">
|
93
93
|
{% for boxes in sidebar_options.boxes %}
|
94
94
|
{% for box in boxes %}
|
95
95
|
|
data/assets/data/mmenu_toc.html
CHANGED
@@ -26,7 +26,7 @@ regenerate: true
|
|
26
26
|
{% comment %} Main
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
28
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_toc.html ] [Start processing: toc] -->
|
29
|
-
<div class="mm-side">
|
29
|
+
<div id="toc_mmenu" class="mm-side" style="display:none">
|
30
30
|
<div class="widget">
|
31
31
|
<h4 class="heading">Table of Contents</h4>
|
32
32
|
</div>
|
data/assets/data/search.yml
CHANGED
@@ -2,8 +2,30 @@
|
|
2
2
|
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
|
-
{%
|
5
|
+
{% comment %} Set global settings
|
6
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
7
|
+
{% assign environment = site.environment %}
|
8
|
+
{% assign template_version = site.version %}
|
9
|
+
|
10
|
+
{% comment %} Process YML config data
|
11
|
+
================================================================================ {% endcomment %}
|
6
12
|
|
13
|
+
{% comment %} Set config files
|
14
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
15
|
+
{% assign template_config = site.data.template_settings %}
|
16
|
+
{% assign blocks = site.data.blocks %}
|
17
|
+
{% assign modules = site.data.modules %}
|
18
|
+
|
19
|
+
{% comment %} Set config data
|
20
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
21
|
+
{% assign jekyll_search_defaults = modules.defaults.jekyll_search.defaults %}
|
22
|
+
{% assign jekyll_search_settings = modules.jekyll_search.settings %}
|
23
|
+
|
24
|
+
{% comment %} Set config options
|
25
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
26
|
+
{% assign jekyll_search_options = jekyll_search_defaults | merge: jekyll_search_settings %}
|
27
|
+
|
28
|
+
{% capture cache %}
|
7
29
|
{% comment %}
|
8
30
|
# -----------------------------------------------------------------------------
|
9
31
|
# ~/assets/data/search.yml
|
@@ -25,14 +47,14 @@ regenerate: true
|
|
25
47
|
# This template is a helper that creates the search database (index, YAML)
|
26
48
|
# for all documents.
|
27
49
|
#
|
28
|
-
# The Liquid template generates a simple YAML file as an array that contains
|
50
|
+
# The Liquid template generates a simple YAML file as an array that contains
|
29
51
|
# objects for ALL posts and pages included for indexing. See below the fields
|
30
52
|
# taken from the source files.
|
31
53
|
#
|
32
54
|
# NOTE:
|
33
55
|
# Be careful changing the Liquid code. If the code is changed, check
|
34
56
|
# the integrity of the YAML data created. Corrupted YAML data makes
|
35
|
-
# the Javascript of SimpleJekyllSearch to fail (JSONLoader.js) and no
|
57
|
+
# the Javascript of SimpleJekyllSearch to fail (JSONLoader.js) and no
|
36
58
|
# search functionality will be available for most UNCLEAR reasons.
|
37
59
|
#
|
38
60
|
# -----------------------------------------------------------------------------
|
@@ -44,8 +66,8 @@ regenerate: true
|
|
44
66
|
{% assign quick_search_config = site.data.modules.j1_jekyll_search %}
|
45
67
|
{% assign result_target = quick_search_config.target %}
|
46
68
|
|
47
|
-
{% comment %}
|
48
|
-
Set posts count by posts_num. Indicates if a comma needs to be
|
69
|
+
{% comment %}
|
70
|
+
Set posts count by posts_num. Indicates if a comma needs to be
|
49
71
|
set for valid JSON
|
50
72
|
-------------------------------------------------------------------------------- {% endcomment %}
|
51
73
|
{% assign posts_num = site.posts.size %}
|
@@ -74,14 +96,14 @@ regenerate: true
|
|
74
96
|
"url": "{{ site.baseurl }}{{ post.url }}",
|
75
97
|
"target": "{{ result_target }}",
|
76
98
|
{% if post.excerpt %}
|
77
|
-
"excerpt": "{{ post.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords:
|
99
|
+
"excerpt": "{{ post.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: jekyll_search_options.result_truncate | replace:'....',' ...' | replace:':...',' ...' }}"
|
78
100
|
{% else %}
|
79
101
|
"excerpt": ""
|
80
102
|
{% endif %}
|
81
103
|
}{% if posts_num %},{% endif %}
|
82
104
|
{% endfor %}
|
83
105
|
|
84
|
-
{% comment %} For unknown reason, loop for pages needs corrected
|
106
|
+
{% comment %} For unknown reason, loop for pages needs corrected
|
85
107
|
by page_offset. Helper forloop.last not usable.
|
86
108
|
------------------------------------------------------------------------------ {% endcomment %}
|
87
109
|
|
@@ -93,7 +115,7 @@ regenerate: true
|
|
93
115
|
{% for page in site.pages %}
|
94
116
|
{% if page.noindex %} {% continue %} {% endif %}
|
95
117
|
{% if page.url contains 'assets' or page.url contains '.json' or page.url contains '.txt' %} {% continue %} {% endif %}
|
96
|
-
{% if page.url contains '.html' %} {% continue %} {% endif %}
|
118
|
+
{% if page.url contains '.html' %} {% continue %} {% endif %}
|
97
119
|
{% if page.url == '/'%} {% continue %} {% endif %}
|
98
120
|
{
|
99
121
|
"title": "{{ page.title | escape }}",
|
@@ -116,9 +138,9 @@ regenerate: true
|
|
116
138
|
"url": "{{ site.baseurl }}{{ page.url }}",
|
117
139
|
"target": "{{ result_target }}",
|
118
140
|
{% if page.excerpt %}
|
119
|
-
"excerpt": "{{ page.excerpt | newline_to_br | strip_html | strip | newline_to_space |
|
141
|
+
"excerpt": "{{ page.excerpt | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: jekyll_search_options.result_truncate | replace:'....',' ...' | replace:':...',' ...' }}"
|
120
142
|
{% else %}
|
121
|
-
"excerpt": "{{ page.description | newline_to_br | strip_html | strip | newline_to_space |
|
143
|
+
"excerpt": "{{ page.description | newline_to_br | strip_html | strip | newline_to_space | replace:'"','\"' | truncatewords: jekyll_search_options.result_truncate | replace:'....',' ...' | replace:':...',' ...' }}"
|
122
144
|
{% endif %}
|
123
145
|
}{% unless forloop.rindex0 == page_offset %},{% endunless %}
|
124
146
|
{% endfor %}
|
data/assets/data/ssm.html
CHANGED
@@ -89,7 +89,7 @@ regenerate: true
|
|
89
89
|
{% comment %} Main
|
90
90
|
-------------------------------------------------------------------------------- {% endcomment %}
|
91
91
|
<!-- [DEBUG ] [j1.modules.ssm_menu.html ] [collect all menu items] -->
|
92
|
-
<ul class="ssm-light-hover">
|
92
|
+
<ul id="{{ssm_options.menu_id}}" class="ssm-light-hover">
|
93
93
|
|
94
94
|
{% for menu in ssm_menu_config %}
|
95
95
|
|
@@ -118,12 +118,12 @@ regenerate: true
|
|
118
118
|
<li class="ssm-share-btn ssm-btn">
|
119
119
|
{% if menu.icon == null %}
|
120
120
|
<!-- [INFO ] [j1.modules.ssm_menu.html ] [no menu icon found] -->
|
121
|
-
<a href="#">{{menu.item}}
|
122
|
-
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-
|
123
|
-
{{menu.item}}
|
121
|
+
<a href="#"><span class="ssm-btn-text">{{menu.item}}</span>>
|
122
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
|
123
|
+
<span class="ssm-btn-text">{{menu.item}}</span>
|
124
124
|
</a>
|
125
125
|
{% else %}
|
126
|
-
<a href="#"> <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-
|
126
|
+
<a href="#"> <i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i><span class="ssm-btn-text">{{menu.item}}</span></a>
|
127
127
|
{% endif %}
|
128
128
|
<div class="ssm-sub-menu">
|
129
129
|
<ul>
|
@@ -144,7 +144,7 @@ regenerate: true
|
|
144
144
|
<li id="{{sublevel.id}}" class="ssm-btn">
|
145
145
|
<a href="{{sublevel.href}}{{ext}}" target="{{sublevel.target}}"
|
146
146
|
onclick="{{sublevel.event_handler}}">
|
147
|
-
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{sublevel.icon}} {{sublevel.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-
|
147
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{sublevel.icon}} {{sublevel.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
|
148
148
|
{{sublevel.title}}
|
149
149
|
</a>
|
150
150
|
</li>
|
@@ -169,11 +169,15 @@ regenerate: true
|
|
169
169
|
<!-- [INFO ] [j1.modules.ssm_menu.html ] [no icon for menu-item found -->
|
170
170
|
{% if menu.target == null %}
|
171
171
|
<li class="ssm-btn">
|
172
|
-
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}">
|
172
|
+
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}">
|
173
|
+
<span class="ssm-btn-text">{{menu.item}}</span>
|
174
|
+
</a>
|
173
175
|
</li>
|
174
176
|
{% else %}
|
175
177
|
<li class="ssm-btn">
|
176
|
-
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">
|
178
|
+
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">
|
179
|
+
<span class="ssm-btn-text">{{menu.item}}</span>
|
180
|
+
</a>
|
177
181
|
</li>
|
178
182
|
{% endif %}
|
179
183
|
{% elsif menu.icon %}
|
@@ -183,8 +187,8 @@ regenerate: true
|
|
183
187
|
<li class="ssm-btn">
|
184
188
|
<!-- a href="{{menu.href}}{{ext}}" -->
|
185
189
|
<a id="{{menu.id}}">
|
186
|
-
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-
|
187
|
-
{{menu.item}}
|
190
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
|
191
|
+
<span class="ssm-btn-text">{{menu.item}}</span>
|
188
192
|
</a>
|
189
193
|
</li>
|
190
194
|
{% else %}
|
@@ -194,8 +198,8 @@ regenerate: true
|
|
194
198
|
{% if menu.enabled %}
|
195
199
|
<li class="ssm-btn">
|
196
200
|
<a id="{{menu.id}}" href="{{menu.href}}{{ext}}" target="{{menu.target}}">
|
197
|
-
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-
|
198
|
-
{{menu.item}}
|
201
|
+
<i class="{{ssm_menu_icon_family}} {{ssm_menu_icon_family}}-{{menu.icon}} {{menu.icon_classes}} {{ssm_menu_icon_color}} {{ssm_menu_icon_size}} ml-2 mr-2"></i>
|
202
|
+
<span class="ssm-btn-text">{{menu.item}}</span>
|
199
203
|
</a>
|
200
204
|
</li>
|
201
205
|
{% else %}
|
@@ -63,6 +63,12 @@ regenerate: false
|
|
63
63
|
# Adapter generated: {{site.time}}
|
64
64
|
# -----------------------------------------------------------------------------
|
65
65
|
*/
|
66
|
+
|
67
|
+
// -----------------------------------------------------------------------------
|
68
|
+
// ESLint shimming
|
69
|
+
// -----------------------------------------------------------------------------
|
70
|
+
/* eslint indent: "off" */
|
71
|
+
// -----------------------------------------------------------------------------
|
66
72
|
'use strict';
|
67
73
|
|
68
74
|
{% comment %} Main
|
@@ -113,7 +119,9 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
113
119
|
{% comment %} Load module config from yml data
|
114
120
|
-------------------------------------------------------------------------- {% endcomment %}
|
115
121
|
// Load module DEFAULTS|CONFIG
|
122
|
+
/* eslint-disable */
|
116
123
|
moduleOptions = $.extend({}, {{algolia_config | replace: '=>', ':' | replace: 'nil', '""'}});
|
124
|
+
/* eslint-enable */
|
117
125
|
|
118
126
|
if (typeof settings !== 'undefined') {
|
119
127
|
moduleOptions = j1.mergeData(moduleOptions, settings);
|
@@ -129,24 +137,24 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
129
137
|
var hitTemplate = function(hit) {
|
130
138
|
// state = 'start search';
|
131
139
|
// logger.info('state: ' + state);
|
132
|
-
// var re = new RegExp(
|
133
|
-
// var re = new RegExp(
|
134
|
-
var re = new RegExp(
|
140
|
+
// var re = new RegExp('^\/posts');
|
141
|
+
// var re = new RegExp('^\/pages');
|
142
|
+
var re = new RegExp('^\/pages|^\/posts|^\/collections');
|
135
143
|
if (re.test(hit.url)) {
|
136
|
-
|
144
|
+
var date = '';
|
137
145
|
if (hit.date) {
|
138
146
|
date = moment.unix(hit.date).format('MMM D, YYYY');
|
139
147
|
}
|
140
|
-
//
|
141
|
-
|
148
|
+
// var url = `/jekyll-algolia-example${hit.url}#${hit.anchor}`;
|
149
|
+
var url = hit.url;
|
142
150
|
|
143
151
|
const title = hit._highlightResult.title.value;
|
144
|
-
|
152
|
+
var breadcrumbs = '';
|
145
153
|
|
146
154
|
if (hit._highlightResult.headings) {
|
147
155
|
breadcrumbs = hit._highlightResult.headings.map(match => {
|
148
|
-
return `<span class="post-breadcrumb">${match.value}</span
|
149
|
-
}).join(' > ')
|
156
|
+
return `<span class="post-breadcrumb">${match.value}</span>`;
|
157
|
+
}).join(' > ');
|
150
158
|
}
|
151
159
|
|
152
160
|
var content = hit._highlightResult.html.value;
|
@@ -169,7 +177,7 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
169
177
|
}
|
170
178
|
// state = 'finished search';
|
171
179
|
// logger.info('state: ' + state);
|
172
|
-
}
|
180
|
+
};
|
173
181
|
|
174
182
|
if (moduleOptions.enabled == true) {
|
175
183
|
// initialize currentRefinedValues
|
@@ -230,9 +238,9 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
230
238
|
container: '#refinement-list',
|
231
239
|
attributeName: 'tags',
|
232
240
|
collapsible: true,
|
233
|
-
operator:
|
241
|
+
operator: 'and',
|
234
242
|
limit: 5,
|
235
|
-
sortBy: [
|
243
|
+
sortBy: ['isRefined','count:desc','name:asc'],
|
236
244
|
templates: {
|
237
245
|
header: 'Tags'
|
238
246
|
},
|
@@ -264,7 +272,7 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
264
272
|
$('#algolia-site-search').append('<p class="ml-5 mt-5 mb-5 "> <strong>Algolia Search DISABLED</strong> </p>');
|
265
273
|
_this.setState('finished');
|
266
274
|
logger.info('state: ' + _this.getState());
|
267
|
-
logger.warn(
|
275
|
+
logger.warn('module disabled');
|
268
276
|
}
|
269
277
|
|
270
278
|
return true;
|
@@ -302,7 +310,7 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
302
310
|
// Set the current (processing) state of the module
|
303
311
|
// -------------------------------------------------------------------------
|
304
312
|
setState: function (stat) {
|
305
|
-
j1.adapter.
|
313
|
+
j1.adapter.algolia.state = stat;
|
306
314
|
}, // END setState
|
307
315
|
|
308
316
|
// -------------------------------------------------------------------------
|
@@ -310,7 +318,7 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
310
318
|
// Returns the current (processing) state of the module
|
311
319
|
// -------------------------------------------------------------------------
|
312
320
|
getState: function () {
|
313
|
-
return j1.adapter.
|
321
|
+
return j1.adapter.algolia.state;
|
314
322
|
} // END state
|
315
323
|
|
316
324
|
}; // END return
|
@@ -318,4 +326,4 @@ j1.adapter['algolia'] = (function (j1, window) {
|
|
318
326
|
|
319
327
|
{% endcapture %}
|
320
328
|
{{ cache | strip_empty_lines }}
|
321
|
-
{% assign cache = nil %}
|
329
|
+
{% assign cache = nil %}
|
@@ -70,6 +70,12 @@ regenerate: true
|
|
70
70
|
# Adapter generated: {{site.time}}
|
71
71
|
# -----------------------------------------------------------------------------
|
72
72
|
*/
|
73
|
+
|
74
|
+
// -----------------------------------------------------------------------------
|
75
|
+
// ESLint shimming
|
76
|
+
// -----------------------------------------------------------------------------
|
77
|
+
/* eslint indent: "off" */
|
78
|
+
// -----------------------------------------------------------------------------
|
73
79
|
'use strict';
|
74
80
|
|
75
81
|
{% comment %} Main
|
@@ -120,7 +126,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
120
126
|
// clear interval checking
|
121
127
|
clearInterval(dependencies_met_attic_adapter);
|
122
128
|
}
|
123
|
-
},
|
129
|
+
}, 25); // END 'dataLoaded'
|
124
130
|
|
125
131
|
return true;
|
126
132
|
}, // END init
|
@@ -143,7 +149,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
143
149
|
function {{attic_id}} (atticOptions) {
|
144
150
|
// Fire backstretch for all slides of the header on attic_id
|
145
151
|
if ($('#{{attic_id}}').length) {
|
146
|
-
$(
|
152
|
+
$('#{{attic_id}}').backstretch(
|
147
153
|
atticOptions.slides, {
|
148
154
|
debug: atticOptions.debug,
|
149
155
|
spinner: atticOptions.spinner,
|
@@ -188,7 +194,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
188
194
|
See: https://github.com/jquery-backstretch/jquery-backstretch/issues/194
|
189
195
|
-------------------------------------------------------------------- {% endcomment %}
|
190
196
|
$(window).on('backstretch.after', function (e, instance, index) {
|
191
|
-
logText ='add caption text'
|
197
|
+
logText ='add caption text';
|
192
198
|
_this.setState('backstretch_after');
|
193
199
|
logger.debug('state: ' + status);
|
194
200
|
logger.debug(logText);
|
@@ -235,7 +241,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
235
241
|
{% comment %} Detect how show should run (only once|infinite loop)
|
236
242
|
-------------------------------------------------------------------- {% endcomment %}
|
237
243
|
{% if image_loop %}
|
238
|
-
$(window).on(
|
244
|
+
$(window).on('backstretch.before', function (e, instance, index) {
|
239
245
|
_this.setState('backstretch_before_image_loop');
|
240
246
|
logger.debug('state: ' + _this.getState());
|
241
247
|
// remove class for the backstretch_intro background
|
@@ -244,12 +250,12 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
244
250
|
}
|
245
251
|
});
|
246
252
|
{% else %}
|
247
|
-
$(window).on(
|
253
|
+
$(window).on('backstretch.before', function (e, instance, index) {
|
248
254
|
_this.setState('backstretch_before_image_once');
|
249
255
|
logger.debug('state: ' + _this.getState());
|
250
256
|
// Stop the slideshow after reached the last image
|
251
257
|
if (index === backstretch_instance_data.images.length -1) {
|
252
|
-
$(
|
258
|
+
$('#{{attic_id}}').backstretch('pause');
|
253
259
|
// remove class for the backstretch_intro background
|
254
260
|
$('.backstretch').removeClass(atticOptions.spinner);
|
255
261
|
}
|
@@ -316,6 +322,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
316
322
|
|
317
323
|
// Create and json object for HEADER options taken from
|
318
324
|
// header config (YAML data file)
|
325
|
+
/* eslint-disable */
|
319
326
|
var atticOptions = {
|
320
327
|
{% if raised_level %} "raised_level": {{ raised_level | json }}, {% endif %}
|
321
328
|
{% if r_text %} "r_text": {{ r_text | json }}, {% endif %}
|
@@ -334,10 +341,10 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
334
341
|
{% if background_color_1 %} "background_color_1": {{ background_color_1 | json }}, {% endif %}
|
335
342
|
{% if background_color_2 %} "background_color_2": {{ background_color_2 | json }}, {% endif %}
|
336
343
|
}
|
337
|
-
|
344
|
+
/* eslint-enable */
|
338
345
|
{% comment %} trans-script header|backstretch options
|
339
346
|
---------------------------------------------------------------- {% endcomment %}
|
340
|
-
{% if type ==
|
347
|
+
{% if type == 'video' %}
|
341
348
|
{% assign isVideo = true %}
|
342
349
|
{% if sound %} {% assign mute = false %} {% else %} {% assign mute = true %} {% endif %}
|
343
350
|
{% if loop %} {% assign loop = true %} {% else %} {% assign loop = true %} {% endif %}
|
@@ -345,6 +352,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
345
352
|
|
346
353
|
// Create an json object for BACKSTRETCH options taken from
|
347
354
|
// header config (yaml data file)
|
355
|
+
/* eslint-disable */
|
348
356
|
var atticOptions = {
|
349
357
|
{% if spinner %} "spinner": {{ spinner | json }}, {% endif %}
|
350
358
|
{% if opacity %} "opacity": {{ opacity | json }}, {% endif %}
|
@@ -366,20 +374,13 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
366
374
|
{% if duration %} "duration": {{ duration | json }}, {% endif %}
|
367
375
|
}
|
368
376
|
|
369
|
-
// Load
|
377
|
+
// Load Attic DEFAULTS
|
370
378
|
var attic_options = $.extend({}, {{attic_options | replace:'=>',':' }});
|
371
379
|
|
372
|
-
// Merge|Overload
|
380
|
+
// Merge|Overload Attic DEFAULTS by individual settings
|
373
381
|
// var atticOptions = j1.mergeData(attic_options, atticOptions);
|
374
382
|
var atticOptions = j1.mergeData(atticOptions, attic_options);
|
375
|
-
|
376
|
-
// Load Backstretch DEFAULTS
|
377
|
-
//var image_attic_defaults = $.extend({}, {{image_attic_defaults | replace:'=>',':' }});
|
378
|
-
|
379
|
-
// Merge|Overload Backstretch DEFAULTS by (header) OPTIONS
|
380
|
-
//var atticOptions = j1.mergeData(image_attic_defaults, atticOptions);
|
381
|
-
|
382
|
-
|
383
|
+
/* eslint-enable */
|
383
384
|
{% else %}
|
384
385
|
{% continue %}
|
385
386
|
{% endif %} // ENDIF attic_id
|
@@ -447,12 +448,12 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
447
448
|
-------------------------------------------------------------------- {% endcomment %}
|
448
449
|
if (atticOptions.r_text == 'enabled') { $('#{{attic_id}}').addClass('r-text'); }
|
449
450
|
|
450
|
-
var raised_level =
|
451
|
+
var raised_level = 'raised-z' +atticOptions.raised_level;
|
451
452
|
$('#{{attic_id}}').addClass(raised_level);
|
452
453
|
$('#head-title').addClass(atticOptions.title_animate);
|
453
454
|
$('#head-tagline').addClass(atticOptions.tagline_animate);
|
454
455
|
|
455
|
-
var text_emphasis =
|
456
|
+
var text_emphasis = 'text-emphasis-' +atticOptions.text_emphasis;
|
456
457
|
$('#head-title-text').addClass(text_emphasis);
|
457
458
|
$('#head-tagline-text').addClass(text_emphasis);
|
458
459
|
|
@@ -461,22 +462,22 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
461
462
|
var attic_style = '';
|
462
463
|
|
463
464
|
// Initialze header background gradient
|
464
|
-
attic_style +=
|
465
|
-
attic_style +=
|
466
|
-
attic_style +=
|
467
|
-
attic_style +=
|
468
|
-
attic_style +=
|
469
|
-
attic_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +atticOptions.background_color_1+ '", endColorstr="' +atticOptions.background_color_2+ '", GradientType=0);
|
470
|
-
attic_style +=
|
465
|
+
attic_style += '<style> .attic { ';
|
466
|
+
attic_style += 'background-image: -webkit-gradient(linear, left top, left bottom, from(' +atticOptions.background_color_1+ '), to(' +atticOptions.background_color_2+ '));';
|
467
|
+
attic_style += 'background-image: -webkit-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
|
468
|
+
attic_style += 'background-image: -o-linear-gradient(top, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
|
469
|
+
attic_style += 'background-image: linear-gradient(to bottom, ' +atticOptions.background_color_1+ ' 0%, ' +atticOptions.background_color_2+ ' 100%);';
|
470
|
+
attic_style += 'filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="' +atticOptions.background_color_1+ '", endColorstr="' +atticOptions.background_color_2+ '", GradientType=0);';
|
471
|
+
attic_style += '} </style>';
|
471
472
|
$('head').append(attic_style);
|
472
473
|
|
473
474
|
// Initialze header sizes
|
474
475
|
attic_style = '';
|
476
|
+
attic_style = '<style> .attic { padding-top: ' +atticOptions.padding_top+ 'px; padding-bottom: ' +atticOptions.padding_bottom+ 'px; margin-bottom: ' +atticOptions.margin_bottom+ 'px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>';
|
475
477
|
|
476
|
-
attic_style = "<style> .attic { padding-top:" +atticOptions.padding_top+ "px; padding-bottom: " +atticOptions.padding_bottom+ "px; margin-bottom: " +atticOptions.margin_bottom+ "px; text-shadow: 0 1px 0 rgba(0,0,0,.1); </style>"
|
477
478
|
$('head').append(attic_style);
|
478
|
-
$('head').append(
|
479
|
-
$('head').append(
|
479
|
+
$('head').append('<style> .attic .head-title h2 { color: ' +atticOptions.title_color+ ';font-size: ' +atticOptions.title_size+ ' !important; text-align: ' +atticOptions.title_align+ ';} </style>');
|
480
|
+
$('head').append('<style> .attic .head-tagline h3 { color: ' +atticOptions.tagline_color+ ';font-size: ' +atticOptions.tagline_size+ ' !important; text-align: ' +atticOptions.tagline_align+ '; } </style>');
|
480
481
|
|
481
482
|
// Add opacity to all header images
|
482
483
|
// See: https://tympanus.net/codrops/2013/11/07/css-overlay-techniques/
|
@@ -495,7 +496,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
495
496
|
$(function() {
|
496
497
|
// logger.debug('Load image header on: ' + {{attic_id}});
|
497
498
|
logger.debug('Load image header');
|
498
|
-
{{attic_id}}(atticOptions)
|
499
|
+
{{attic_id}}(atticOptions);
|
499
500
|
_this.setState('completed');
|
500
501
|
logger.info('state: ' + _this.getState());
|
501
502
|
});
|
@@ -544,7 +545,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
544
545
|
// Set the current (processing) state of the module
|
545
546
|
// -------------------------------------------------------------------------
|
546
547
|
setState: function (stat) {
|
547
|
-
j1.adapter.
|
548
|
+
j1.adapter.attic.state = stat;
|
548
549
|
}, // END setState
|
549
550
|
|
550
551
|
// -------------------------------------------------------------------------
|
@@ -552,7 +553,7 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
552
553
|
// Returns the current (processing) state of the module
|
553
554
|
// -------------------------------------------------------------------------
|
554
555
|
getState: function () {
|
555
|
-
return j1.adapter.
|
556
|
+
return j1.adapter.attic.state;
|
556
557
|
} // END state
|
557
558
|
|
558
559
|
}; // END return
|
@@ -560,4 +561,4 @@ j1.adapter['attic'] = (function (j1, window) {
|
|
560
561
|
|
561
562
|
{% endcapture %}
|
562
563
|
{{ cache | strip_empty_lines }}
|
563
|
-
{% assign cache = nil %}
|
564
|
+
{% assign cache = nil %}
|