j1-template 2020.0.8 → 2020.0.13
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/blocks/ads/ad.html +64 -0
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -1
- data/_includes/themes/j1/layouts/content_generator_blog_archive.html +3 -2
- data/_includes/themes/j1/layouts/content_generator_collection.html +3 -2
- data/_includes/themes/j1/layouts/content_generator_page.html +3 -2
- data/_includes/themes/j1/layouts/content_generator_post.html +12 -12
- data/_includes/themes/j1/layouts/layout_metadata_generator.html +134 -4
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +6 -9
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +9 -6
- data/_includes/themes/j1/modules/connectors/ads +3 -6
- data/_includes/themes/j1/modules/navigator/generator.html +6 -7
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +10 -5
- data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +7 -7
- data/_layouts/default.html +18 -13
- data/assets/data/authclient.html +18 -8
- data/assets/data/banner.html +23 -23
- data/assets/data/carousel.json +30 -21
- data/assets/data/cookie_consent.html +79 -51
- data/assets/data/footer.html +14 -5
- data/assets/data/galleries.json +90 -81
- data/assets/data/gallery_customizer.html +19 -10
- data/assets/data/mdi_icons.json +55 -1
- data/assets/data/menu.html +14 -7
- data/assets/data/mmenu.html +47 -94
- data/assets/data/mmenu_sidebar.html +40 -44
- data/assets/data/mmenu_toc.html +19 -3
- data/assets/data/panel.html +30 -23
- data/assets/data/quicklinks.html +13 -3
- data/assets/data/{search.yml → search.json} +44 -14
- data/assets/data/ssm.html +20 -9
- data/assets/data/themes.json +17 -6
- data/assets/data/twa_v1.json +7034 -6978
- data/assets/themes/j1/adapter/js/algolia.js +34 -17
- data/assets/themes/j1/adapter/js/attic.js +66 -46
- data/assets/themes/j1/adapter/js/carousel.js +43 -22
- data/assets/themes/j1/adapter/js/clipboard.js +230 -0
- data/assets/themes/j1/adapter/js/cookie_consent.js +21 -4
- data/assets/themes/j1/adapter/js/framer.js +18 -3
- data/assets/themes/j1/adapter/js/gallery_customizer.js +27 -10
- data/assets/themes/j1/adapter/js/j1.js +342 -757
- data/assets/themes/j1/adapter/js/{justified_gallery.js → jf_gallery.js} +64 -38
- data/assets/themes/j1/adapter/js/lightbox.js +20 -3
- data/assets/themes/j1/adapter/js/logger.js +23 -6
- data/assets/themes/j1/adapter/js/mdb.js +167 -0
- data/assets/themes/j1/adapter/js/mmenu.js +33 -30
- data/assets/themes/j1/adapter/js/navigator.js +126 -140
- data/assets/themes/j1/adapter/js/searcher.js +22 -4
- data/assets/themes/j1/adapter/js/ssm.js +84 -63
- data/assets/themes/j1/adapter/js/themer.js +35 -53
- data/assets/themes/j1/adapter/js/toccer.js +29 -14
- data/assets/themes/j1/core/css/theme_extensions.css +120 -1230
- data/assets/themes/j1/core/css/theme_extensions.min.css +1 -1
- data/assets/themes/j1/core/css/uno.css +256 -1288
- data/assets/themes/j1/core/css/uno.min.css +1 -1
- data/assets/themes/j1/core/css/vendor.css +7 -57
- data/assets/themes/j1/core/css/vendor.min.css +2 -2
- data/assets/themes/j1/core/js/template.js +16 -86
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/extensions/bsDatepicker/css/datepicker.css +203 -0
- data/assets/themes/j1/extensions/bsDatepicker/css/theme/uno.css +235 -0
- data/assets/themes/j1/extensions/bsDatepicker/js/datepicker.js +509 -0
- data/assets/themes/j1/extensions/bsDatepicker/less/datepicker.less +122 -0
- data/assets/themes/j1/extensions/bsThemeSwitcher/js/switcher.js +425 -0
- data/assets/themes/j1/extensions/bsThemeSwitcher/js/switcher.min.js +20 -0
- data/assets/themes/j1/extensions/clipboard/LICENSE +20 -0
- data/assets/themes/j1/extensions/clipboard/css/theme/uno.css +52 -0
- data/assets/themes/j1/extensions/clipboard/css/theme/uno.min.css +52 -0
- data/assets/themes/j1/extensions/clipboard/js/clipboard.js +975 -0
- data/assets/themes/j1/extensions/clipboard/js/clipboard.min.js +7 -0
- data/assets/themes/j1/extensions/{iconify → iconifyAPI}/js/iconify.min.js +0 -0
- data/assets/themes/j1/extensions/iframeResizer/LICENSE +21 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/frame.absolute.html +127 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/frame.content.html +157 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/frame.hover.html +68 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/frame.nested.html +100 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/frame.textarea.html +45 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/frame.tolerance.html +113 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/index.html +83 -0
- data/assets/themes/j1/extensions/iframeResizer/examples/two.html +88 -0
- data/assets/themes/j1/extensions/iframeResizer/js/client/iframeResizer.contentWindow.js +1288 -0
- data/assets/themes/j1/extensions/iframeResizer/js/client/iframeResizer.contentWindow.map +1 -0
- data/assets/themes/j1/extensions/iframeResizer/js/client/iframeResizer.contentWindow.min.js +10 -0
- data/assets/themes/j1/extensions/iframeResizer/js/iframeResizer.js +1390 -0
- data/assets/themes/j1/extensions/iframeResizer/js/iframeResizer.map +1 -0
- data/assets/themes/j1/extensions/iframeResizer/js/iframeResizer.min.js +9 -0
- data/assets/themes/j1/extensions/jqMouseWheel/README.md +76 -0
- data/assets/themes/j1/extensions/jqMouseWheel/js/jquery.mousewheel.js +221 -0
- data/assets/themes/j1/extensions/jqMouseWheel/js/jquery.mousewheel.min.js +9 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/LICENSE +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/README.md +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/css/theme/uno.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.3.7.0.js +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/less/.csslintrc +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v3.7.0/less/justifiedGallery.less +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/css/theme/uno.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/justifiedGallery.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/justifiedGallery.min.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/theme/uno.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/css/theme/uno.min.css +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/js/justifiedGallery.js +0 -0
- data/assets/themes/j1/extensions/{justified_gallery → justifiedGallery}/js/justifiedGallery.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-fb-comment-box.css +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-fb-comment-box.min.css +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-transitions.css +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lg-transitions.min.css +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lightgallery.css +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/core/lightgallery.min.css +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.svg +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/loading.gif +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/video-play.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/facebook-icon.svg +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/googleplus-icon.svg +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/twitter-icon.svg +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/uno.css +1 -1
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/css/themes/uno.min.css +1 -1
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/core/lightgallery.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/core/lightgallery.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/j1/j1-video.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/j1/j1-video.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-autoplay.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-autoplay.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-fullscreen.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-fullscreen.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-hash.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-hash.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-pager.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-pager.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-share.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-share.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-thumbnail.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-thumbnail.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-video.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-video.min.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-zoom.js +0 -0
- data/assets/themes/j1/extensions/{light_gallery → lightGallery}/js/modules/lg-zoom.min.js +0 -0
- data/assets/themes/j1/extensions/lightbox/LICENSE +22 -0
- data/assets/themes/j1/extensions/lightbox/css/lightbox.css +224 -0
- data/assets/themes/j1/extensions/lightbox/css/lightbox.min.css +21 -0
- data/assets/themes/j1/extensions/lightbox/css/theme/uno.css +25 -0
- data/assets/themes/j1/extensions/lightbox/css/theme/uno.min.css +26 -0
- data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/close.png +0 -0
- data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/loading.gif +0 -0
- data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/next.png +0 -0
- data/{lib/starter_web/assets/images/modules/lightbox → assets/themes/j1/extensions/lightbox/images}/prev.png +0 -0
- data/assets/themes/j1/extensions/lightbox/js/lightbox.js +583 -0
- data/assets/themes/j1/extensions/lightbox/js/lightbox.min.js +35 -0
- data/assets/themes/j1/extensions/mmenuLight/css/mmenu.css +392 -0
- data/assets/themes/j1/extensions/mmenuLight/css/mmenu.min.css +393 -0
- data/assets/themes/j1/extensions/mmenuLight/css/theme/uno.css +170 -0
- data/assets/themes/j1/extensions/mmenuLight/css/theme/uno.min.css +169 -0
- data/assets/themes/j1/extensions/mmenuLight/js/mmenu.js +30 -0
- data/assets/themes/j1/extensions/noUISlider/LICENSE +13 -0
- data/assets/themes/j1/extensions/noUISlider/css/nouislider.css +260 -0
- data/assets/themes/j1/extensions/noUISlider/css/nouislider.min.css +1 -0
- data/assets/themes/j1/extensions/noUISlider/js/nouislider.js +2312 -0
- data/assets/themes/j1/extensions/noUISlider/js/nouislider.min.js +3 -0
- data/assets/themes/j1/extensions/twemoji/js/LICENSE +21 -0
- data/assets/themes/j1/extensions/twemoji/js/picker/LICENSE +21 -0
- data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.js +21 -0
- data/assets/themes/j1/extensions/twemoji/js/picker/twemoji-picker.min.js +21 -0
- data/assets/themes/j1/extensions/twemoji/js/twemoji.js +590 -0
- data/assets/themes/j1/extensions/twemoji/js/twemoji.min.js +25 -0
- data/lib/j1/version.rb +3 -3
- data/lib/starter_web/Gemfile +7 -1
- data/lib/starter_web/_config.yml +9 -8
- data/lib/starter_web/_data/_defaults/resources.yml +13 -13
- data/lib/starter_web/_data/blocks/banner.yml +21 -29
- data/lib/starter_web/_data/blocks/footer.yml +10 -3
- data/lib/starter_web/_data/blocks/panel.yml +13 -13
- data/lib/starter_web/_data/layouts/default.yml +10 -0
- data/lib/starter_web/_data/layouts/home.yml +7 -7
- data/lib/starter_web/_data/layouts/page.yml +15 -16
- data/lib/starter_web/_data/modules/advertising.yml +48 -0
- data/lib/starter_web/_data/modules/attics.yml +2 -38
- data/lib/starter_web/_data/modules/cookie_consent.yml +3 -95
- data/lib/starter_web/_data/modules/defaults/attics.yml +16 -15
- data/lib/starter_web/_data/modules/defaults/cookie_consent.yml +75 -12
- data/lib/starter_web/_data/modules/defaults/jekyll_search.yml +9 -9
- data/lib/starter_web/_data/modules/defaults/navigator.yml +56 -21
- data/lib/starter_web/_data/modules/defaults/ssm.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/toccer.yml +4 -8
- data/lib/starter_web/_data/modules/jekyll_search.yml +3 -21
- data/lib/starter_web/_data/modules/navigator.yml +1 -1
- data/lib/starter_web/_data/modules/navigator_menu.yml +4 -0
- data/lib/starter_web/_data/modules/ssm.yml +9 -0
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +6 -11
- data/lib/starter_web/_data/resources.yml +240 -112
- data/lib/starter_web/_data/template_settings.yml +117 -6
- data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/iconify-icon-inline.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +2 -2
- data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +2 -2
- data/lib/starter_web/_plugins/minifyJS.rb +54 -0
- data/lib/starter_web/_plugins/{uglify.rb → minifyJSON.rb} +15 -9
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/library-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/building-blocks-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/cookies-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jessica-ruscello-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/matthaeus-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/runner-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/welcome-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/cats/cat-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/andreas-brucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/carousel/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/banter-snaps_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/denys-nevozhai-2_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/emmad-mazhari_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/ethan-brooke_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/federico-rizzarelli_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/gints-gailis_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/johan-mouchet_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/luca-bravo_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/oskars-sylwan_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/steven-diaz_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/mega_cities/thomas-tucker_b.jpg +0 -0
- data/lib/starter_web/index.html +9 -8
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/clear_button.adoc +121 -0
- data/lib/starter_web/pages/public/learn/examples/floating_ad.adoc +221 -0
- data/lib/starter_web/pages/public/learn/{floating_sidebar.adoc → examples/floating_div.adoc} +60 -50
- data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/000_includes/parts.asciidoc +1 -1
- 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/000_bs_tour_api.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/000_includes/documents/419_advanced_modals_html.asciidoc +5 -5
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +35 -44
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +39 -39
- data/lib/starter_web/pages/public/learn/vtutorials/000_includes/documents/410_table_3_column.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/whats_up.adoc +1 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +54 -48
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -41
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/000_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +672 -863
- data/lib/starter_web/pages/public/previewer/iframer.adoc +15 -14
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
- data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/attributes.asciidoc +69 -0
- data/lib/starter_web/pages/public/previewer/mdb_preview/000_includes/documents/100_buttons.asciidoc +170 -0
- data/lib/starter_web/pages/public/previewer/mdb_preview/mdb_previewer.adoc +52 -0
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +2 -2
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +148 -105
- data/assets/data/colors.json +0 -42
- data/assets/data/font_sizes.json +0 -42
- data/assets/data/messages.yml +0 -131
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.absolute.html +0 -86
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.content.html +0 -58
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.hover.html +0 -51
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.nested.html +0 -68
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.textarea.html +0 -46
- data/assets/themes/j1/extensions/iframe_resizer/examples/frame.tolerance.html +0 -79
- data/assets/themes/j1/extensions/iframe_resizer/examples/index.html +0 -70
- data/assets/themes/j1/extensions/iframe_resizer/examples/two.html +0 -71
- data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.js +0 -1104
- data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.map +0 -1
- data/assets/themes/j1/extensions/iframe_resizer/js/client/iframeResizer.contentWindow.min.js +0 -10
- data/assets/themes/j1/extensions/log4javascript/log4javascript.js +0 -5826
- data/assets/themes/j1/extensions/log4javascript/log4javascript.min.js +0 -266
- data/lib/starter_web/assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mu-Vf9gbsLZyf0-unsplash.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
data/assets/data/mdi_icons.json
CHANGED
@@ -1,10 +1,56 @@
|
|
1
|
+
---
|
2
|
+
regenerate: false
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/data/mdi_icons.json
|
10
|
+
# Liquid JSON template for ALL MDI icons used by MDI Previewer
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# http://jekyll.one
|
14
|
+
#
|
15
|
+
# Copyright (C) 2020 Juergen Adams
|
16
|
+
#
|
17
|
+
# J1 Template is licensed under the MIT License.
|
18
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
19
|
+
# -----------------------------------------------------------------------------
|
20
|
+
# NOTE:
|
21
|
+
# Be careful changing the Liquid code. If the code is changed, check
|
22
|
+
# the integrity of the JSON data created. Corrupted JSON data makes
|
23
|
+
# the Javascript of an Adapter|App to fail and no functionality will
|
24
|
+
# be available for most UNCLEAR reasons.
|
25
|
+
#
|
26
|
+
# -----------------------------------------------------------------------------
|
27
|
+
# Test data:
|
28
|
+
# {{ liquid_var | debug }}
|
29
|
+
# -----------------------------------------------------------------------------
|
30
|
+
{% endcomment %}
|
31
|
+
|
32
|
+
{% comment %} Process YML config data
|
33
|
+
================================================================================ {% endcomment %}
|
34
|
+
|
35
|
+
{% comment %} Set config files
|
36
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
+
|
38
|
+
{% comment %} Set config data
|
39
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
+
{% assign environment = site.environment %}
|
41
|
+
|
42
|
+
{% assign production = false %}
|
43
|
+
{% if environment == 'prod' or environment == 'production' %}
|
44
|
+
{% assign production = true %}
|
45
|
+
{% endif %}
|
46
|
+
|
1
47
|
[
|
2
48
|
{
|
3
49
|
"font-name": "Material Design Icons",
|
4
50
|
"font-weight": "regular",
|
5
51
|
"font-family": "materialdesignicons",
|
6
52
|
"font-version": "2.0.46"
|
7
|
-
},
|
53
|
+
},
|
8
54
|
{
|
9
55
|
"name": "access-point",
|
10
56
|
"alias": "na",
|
@@ -14639,3 +14685,11 @@
|
|
14639
14685
|
"value": "f5c4"
|
14640
14686
|
}
|
14641
14687
|
]
|
14688
|
+
|
14689
|
+
{% endcapture %}
|
14690
|
+
{% if production %}
|
14691
|
+
{{ cache | minifyJSON }}
|
14692
|
+
{% else %}
|
14693
|
+
{{ cache | strip_empty_lines }}
|
14694
|
+
{% endif %}
|
14695
|
+
{% assign cache = nil %}
|
data/assets/data/menu.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -35,12 +35,13 @@ regenerate: true
|
|
35
35
|
|
36
36
|
{% comment %} Set config files
|
37
37
|
-------------------------------------------------------------------------------- {% endcomment %}
|
38
|
-
{% assign site_config = site %}
|
39
38
|
{% assign template_config = site.data.template_settings %}
|
40
39
|
{% assign modules = site.data.modules %}
|
41
40
|
|
42
41
|
{% comment %} Set config data
|
43
42
|
-------------------------------------------------------------------------------- {% endcomment %}
|
43
|
+
{% assign environment = site.environment %}
|
44
|
+
|
44
45
|
{% assign navigator_settings = modules.navigator.settings %}
|
45
46
|
{% assign navigator_defaults = modules.defaults.navigator.defaults %}
|
46
47
|
{% assign navigator_menu_config = modules.navigator_menu %}
|
@@ -61,6 +62,11 @@ regenerate: true
|
|
61
62
|
{% assign theme_preview = themer_options.preview_page %}
|
62
63
|
{% assign nav_menu_id = nav_menu_options.id %}
|
63
64
|
|
65
|
+
{% assign production = '' %}
|
66
|
+
{% if environment == 'prod' or environment == 'production' %}
|
67
|
+
{% assign production = true %}
|
68
|
+
{% endif %}
|
69
|
+
|
64
70
|
{% assign ext = '' %}
|
65
71
|
{% if site.permalink == 'none' %}
|
66
72
|
{% assign ext = '.html' %}
|
@@ -131,7 +137,6 @@ regenerate: true
|
|
131
137
|
{% include {{select_icon_size}} family=nav_menu_icon_family size=nav_menu_icon_size %}
|
132
138
|
{% assign nav_menu_icon_size = size %}
|
133
139
|
|
134
|
-
|
135
140
|
{% comment %} Main
|
136
141
|
-------------------------------------------------------------------------------- {% endcomment %}
|
137
142
|
|
@@ -461,10 +466,12 @@ regenerate: true
|
|
461
466
|
<!-- [INFO ] [j1.modules.navigator.menu.html ] [nav_menu_settings: end menu] -->
|
462
467
|
</ul>
|
463
468
|
<!-- [INFO ] [j1.modules.navigator.menu.html ] [nav_menu_settings: end navbar] -->
|
464
|
-
<!--
|
465
|
-
<!-- [INFO ] [j1.modules.navigator.menu.html ] [nav_menu_settings: end processing] -->
|
466
|
-
|
469
|
+
<!-- [INFO ] [j1.modules.navigator.menu.html ] [nav_menu_settings: end processing] -->
|
467
470
|
{% endcapture %}
|
468
471
|
|
469
|
-
{
|
472
|
+
{% if production %}
|
473
|
+
{% 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 %}
|
474
|
+
{% else %}
|
475
|
+
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
476
|
+
{% endif %}
|
470
477
|
{% assign cache = nil %}
|
data/assets/data/mmenu.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -25,21 +25,19 @@ regenerate: true
|
|
25
25
|
|
26
26
|
{% comment %} Liquid procedures
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
-
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
29
|
-
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
30
|
-
|
31
28
|
|
32
29
|
{% comment %} Liquid var initialization
|
33
30
|
-------------------------------------------------------------------------------- {% endcomment %}
|
34
31
|
|
35
32
|
{% comment %} Set config files
|
36
33
|
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
-
{% assign site_config = site %}
|
38
34
|
{% assign template_config = site.data.template_settings %}
|
39
35
|
{% assign modules = site.data.modules %}
|
40
36
|
|
41
37
|
{% comment %} Set config data
|
42
38
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
+
{% assign environment = site.environment %}
|
40
|
+
|
43
41
|
{% assign navigator_settings = modules.navigator.settings %}
|
44
42
|
{% assign navigator_defaults = modules.defaults.navigator.defaults %}
|
45
43
|
{% assign navigator_menu_config = modules.navigator_menu %}
|
@@ -54,89 +52,41 @@ regenerate: true
|
|
54
52
|
|
55
53
|
{% comment %} Set config options
|
56
54
|
-------------------------------------------------------------------------------- {% endcomment %}
|
57
|
-
{% assign
|
58
|
-
{% assign nav_bar_options = nav_bar_defaults | merge: nav_bar_settings %}
|
55
|
+
{% assign navigator_options = navigator_defaults | merge: navigator_settings %}
|
59
56
|
{% assign nav_menu_options = nav_menu_defaults | merge: nav_menu_settings %}
|
57
|
+
{% assign themer_options = themer_defaults | merge: themer_settings %}
|
60
58
|
{% assign theme_preview = themer_options.preview_page %}
|
61
|
-
{% assign nav_menu_id =
|
59
|
+
{% assign nav_menu_id = navigator_options.nav_mmenu.id %}
|
60
|
+
|
61
|
+
{% assign production = '' %}
|
62
|
+
{% if environment == 'prod' or environment == 'production' %}
|
63
|
+
{% assign production = true %}
|
64
|
+
{% endif %}
|
62
65
|
|
63
66
|
{% assign ext = '' %}
|
64
67
|
{% if site.permalink == 'none' %}
|
65
68
|
{% assign ext = '.html' %}
|
66
69
|
{% endif %}
|
67
70
|
|
68
|
-
|
69
|
-
{% assign bs_type = 'bmd4' %}
|
70
|
-
{% if navigator_settings.bs_type == 'bs4' %}
|
71
|
-
{% assign bs_type = 'bs4' %}
|
72
|
-
{% endif %}
|
73
|
-
|
74
|
-
{% if bs_type == 'bmd4' %}
|
75
|
-
{% assign dropdown_collapse = 'collapse' %}
|
76
|
-
{% elsif bs_type == 'bs4' %}
|
77
|
-
{% assign dropdown_collapse = 'fake-class collapse' %}
|
78
|
-
{% endif %}
|
79
|
-
|
80
|
-
<!-- [DEBUG ] [j1.modules.mmenu.html ] [bs type detected: {{bs_type}}] -->
|
81
|
-
|
82
|
-
{% comment %} Set navBarOptions
|
83
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
84
|
-
{% assign nav_bar_position = nav_bar_options.position %}
|
85
|
-
|
86
|
-
{% comment %} Set navMenuOptions
|
71
|
+
{% comment %} Set icons and sizes
|
87
72
|
-------------------------------------------------------------------------------- {% endcomment %}
|
88
|
-
{%
|
89
|
-
{%
|
90
|
-
|
91
|
-
{% assign
|
92
|
-
{% endif %}
|
93
|
-
|
94
|
-
{% comment %} Set base nav features
|
95
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
96
|
-
{% capture nav_menu_position %}dropdown-menu-{{nav_bar_position}}{% endcapture %}
|
97
|
-
{% unless nav_menu_animation %} {% assign nav_menu_animation = false %} {% endunless %}
|
98
|
-
|
99
|
-
<!-- [DEBUG ] [j1.modules.mmenu.html ] [initialize default menu properties] -->
|
100
|
-
{% if nav_menu_options.raised_level %}
|
101
|
-
{% assign raised_level = nav_menu_options.raised_level %}
|
102
|
-
{% else %}
|
103
|
-
{% assign raised_level = 0 %}
|
104
|
-
{% endif %}
|
105
|
-
|
106
|
-
{% comment %} Set base icons and sizes
|
107
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
108
|
-
<!-- [DEBUG ] [j1.modules.mmenu.html ] [initialize default menu icon properties] -->
|
109
|
-
{% assign nav_menu_icon_family = nav_menu_options.icon_family %}
|
110
|
-
{% assign nav_menu_icon_style = nav_menu_options.icon_style %}
|
111
|
-
{% assign nav_menu_icon_color = nav_menu_options.icon_color %}
|
112
|
-
{% assign nav_menu_icon_size = nav_menu_options.icon_size %}
|
113
|
-
|
114
|
-
{% assign icon_family = nav_menu_icon_family | strip | downcase %}
|
115
|
-
|
116
|
-
{% if icon_family == 'fontawesome' or icon_family == 'fontawesome5' %}
|
117
|
-
{% assign nav_menu_icon_family = 'fa' %}
|
118
|
-
{% assign nav_menu_icon_style = nav_menu_icon_style %}
|
119
|
-
{% elsif icon_family == 'mdi' %}
|
120
|
-
{% assign nav_menu_icon_family = 'mdi' %}
|
121
|
-
{% assign nav_menu_icon_style = nav_menu_icon_style %}
|
73
|
+
{% if navigator_options.icon_family == 'FA' or navigator_options.icon_family == 'FontAwesome' or navigator_options.icon_family == 'FontAwesome4' or navigator_options.icon_family == 'FontAwesome5' %}
|
74
|
+
{% assign icon_family = 'fa' %}
|
75
|
+
{% elsif navigator_options.icon_family == 'MDI' or navigator_options.icon_family == 'Material Design Icons'%}
|
76
|
+
{% assign icon_family = 'mdi' %}
|
122
77
|
{% else %}
|
123
|
-
{% assign
|
124
|
-
{% assign nav_menu_icon_style = nav_menu_icon_style %}
|
78
|
+
{% assign icon_family = 'mdi' %}
|
125
79
|
{% endif %}
|
126
80
|
|
127
|
-
{%
|
128
|
-
{% assign
|
129
|
-
|
130
|
-
{% include {{select_icon_size}} family=nav_menu_icon_family size=nav_menu_icon_size %}
|
131
|
-
{% assign nav_menu_icon_size = size %}
|
81
|
+
{% assign icon_style = navigator_options.icon_style %}
|
82
|
+
{% assign icon_size = navigator_options.icon_size %}
|
83
|
+
{% assign icon_color = navigator_options.icon_color %}
|
132
84
|
|
133
85
|
|
134
86
|
{% comment %} Main
|
135
87
|
-------------------------------------------------------------------------------- {% endcomment %}
|
136
88
|
|
137
|
-
<!-- [DEBUG ] [j1.modules.mmenu.html ] [collect all nav links for the navigation
|
138
|
-
<!-- div id="{{nav_menu_id}}" class="{{dropdown_collapse}}" -->
|
139
|
-
<!-- div class="{{dropdown_collapse}}" -->
|
89
|
+
<!-- [DEBUG ] [j1.modules.mmenu.html ] [collect all nav links for the navigation ] -->
|
140
90
|
<ul id="menu_mmenu" style="display:none">
|
141
91
|
|
142
92
|
{% for menu in navigator_menu_config %}
|
@@ -171,7 +121,7 @@ regenerate: true
|
|
171
121
|
{% if menu.icon == null %}
|
172
122
|
<a href="#">{{menu.item}}</a>
|
173
123
|
{% else %}
|
174
|
-
<a href="#"> <i class="{{
|
124
|
+
<a href="#"> <i class="{{icon_style}} {{icon_family}}-{{menu.icon}} {{icon_size}} {{icon_color}} mr-2"></i>{{menu.item}}</a>
|
175
125
|
{% endif %}
|
176
126
|
|
177
127
|
<ul>
|
@@ -185,9 +135,9 @@ regenerate: true
|
|
185
135
|
{% endif %}
|
186
136
|
{% else %}
|
187
137
|
{% if level_1.target == null %}
|
188
|
-
<li><a href="{{level_1.href}}{{ext}}"><i class="{{
|
138
|
+
<li><a href="{{level_1.href}}{{ext}}"><i class="{{icon_style}} {{icon_family}}-{{level_1.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_1.title}}</a></li>
|
189
139
|
{% else %}
|
190
|
-
<li><a href="{{level_1.href}}{{ext}}" target="{{level_1.target}}"><i class="{{
|
140
|
+
<li><a href="{{level_1.href}}{{ext}}" target="{{level_1.target}}"><i class="{{icon_style}} {{icon_family}}-{{level_1.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_1.title}}</a></li>
|
191
141
|
{% endif %}
|
192
142
|
{% endif %}
|
193
143
|
{% endif %}
|
@@ -198,7 +148,7 @@ regenerate: true
|
|
198
148
|
{% if level_1.icon == null %}
|
199
149
|
<a href="#">{{level_1.title}}</a>
|
200
150
|
{% else %}
|
201
|
-
<a href="#"><i class="{{
|
151
|
+
<a href="#"><i class="{{icon_style}} {{icon_family}}-{{level_1.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_1.title}}</a>
|
202
152
|
{% endif %}
|
203
153
|
|
204
154
|
<ul>
|
@@ -212,9 +162,9 @@ regenerate: true
|
|
212
162
|
{% endif %}
|
213
163
|
{% else %}
|
214
164
|
{% if level_2.target == null %}
|
215
|
-
<li><a href="{{level_2.href}}{{ext}}"><i class="{{
|
165
|
+
<li><a href="{{level_2.href}}{{ext}}"><i class="{{icon_style}} {{icon_family}}-{{level_2.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_2.title}}</a></li>
|
216
166
|
{% else %}
|
217
|
-
<li><a href="{{level_2.href}}{{ext}}" target="{{level_2.target}}"><i class="{{
|
167
|
+
<li><a href="{{level_2.href}}{{ext}}" target="{{level_2.target}}"><i class="{{icon_style}} {{icon_family}}-{{level_2.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_2.title}}</a></li>
|
218
168
|
{% endif %}
|
219
169
|
{% endif %}
|
220
170
|
{% endif %}
|
@@ -224,7 +174,7 @@ regenerate: true
|
|
224
174
|
{% if level_2.icon == null %}
|
225
175
|
<a href="#" >{{level_2.title}}</a>
|
226
176
|
{% else %}
|
227
|
-
<a href="#" ><i class="{{
|
177
|
+
<a href="#" ><i class="{{icon_style}} {{icon_family}}-{{level_2.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_2.title}}</a>
|
228
178
|
{% endif %}
|
229
179
|
|
230
180
|
<ul>
|
@@ -237,9 +187,9 @@ regenerate: true
|
|
237
187
|
{% endif %}
|
238
188
|
{% else %}
|
239
189
|
{% if level_3.target == null %}
|
240
|
-
<li><a href="{{level_3.href}}{{ext}}"><i class="{{
|
190
|
+
<li><a href="{{level_3.href}}{{ext}}"><i class="{{icon_style}} {{icon_family}}-{{level_3.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_3.title}}</a></li>
|
241
191
|
{% else %}
|
242
|
-
<li><a href="{{level_3.href}}{{ext}}" target="{{level_3.target}}"><i class="{{
|
192
|
+
<li><a href="{{level_3.href}}{{ext}}" target="{{level_3.target}}"><i class="{{icon_style}} {{icon_family}}-{{level_3.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{level_3.title}}</a></li>
|
243
193
|
{% endif %}
|
244
194
|
{% endif %}
|
245
195
|
{% if level_3.divider %} <li class="divider"></li> {% endif %}
|
@@ -280,7 +230,7 @@ regenerate: true
|
|
280
230
|
</div>
|
281
231
|
{% else %}
|
282
232
|
<div class="post-headline mt-2 mb-3">
|
283
|
-
<h2 class="title" style="font-size:1.25em !important"><i class="{{
|
233
|
+
<h2 class="title" style="font-size:1.25em !important"><i class="{{icon_style}} {{icon_family}}-{{megabox.icon}} mr-2"></i> {{megabox.title}}</h2>
|
284
234
|
</div>
|
285
235
|
{% endif %}
|
286
236
|
<div class="content">
|
@@ -289,7 +239,7 @@ regenerate: true
|
|
289
239
|
{% if links.icon == null %}
|
290
240
|
<li class="dropdown-megamenu-item"><a href="{{links.href}}{{ext}}" target="{{links.target}}">{{links.title}}</a></li>
|
291
241
|
{% else %}
|
292
|
-
<li class="dropdown-megamenu-item"><a href="{{links.href}}{{ext}}" target="{{links.target}}"><i class="{{
|
242
|
+
<li class="dropdown-megamenu-item"><a href="{{links.href}}{{ext}}" target="{{links.target}}"><i class="{{icon_style}} {{icon_family}}-{{links.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{links.title}}</a></li>
|
293
243
|
{% endif %}
|
294
244
|
{% endfor %}
|
295
245
|
</ul>
|
@@ -320,9 +270,9 @@ regenerate: true
|
|
320
270
|
{% elsif menu.icon %}
|
321
271
|
<!-- [INFO ] [j1.modules.mmenu.html ] [no icon for menu-item found -->
|
322
272
|
{% if menu.target == null %}
|
323
|
-
<li> <a href="{{menu.href}}{{ext}}"><i class="{{
|
273
|
+
<li> <a href="{{menu.href}}{{ext}}"><i class="{{icon_style}} {{icon_family}}-{{menu.icon}} {{icon_size}}"></i> {{menu.item}}</a> </li>
|
324
274
|
{% else %}
|
325
|
-
<li> <a href="{{menu.href}}{{ext}}" target="{{menu.target}}"><i class="{{
|
275
|
+
<li> <a href="{{menu.href}}{{ext}}" target="{{menu.target}}"><i class="{{icon_style}} {{icon_family}}-{{menu.icon}} {{icon_size}}"></i> {{menu.item}}</a> </li>
|
326
276
|
{% endif %}
|
327
277
|
{% else %}
|
328
278
|
<!-- [FATAL ] [nav_menu.menu-top-level-only ] [processing menu item failed] -->
|
@@ -346,7 +296,7 @@ regenerate: true
|
|
346
296
|
<!-- [INFO ] [j1.modules.mmenu.html ] [START: check signin] -->
|
347
297
|
{% if item.mode == 'signin' %}
|
348
298
|
<li>
|
349
|
-
<a href="#" data-toggle="modal" data-target="#modalOmniSignIn"><i class="{{
|
299
|
+
<a href="#" data-toggle="modal" data-target="#modalOmniSignIn"><i class="{{icon_style}} {{icon_family}}-{{item.icon}} {{icon_size}}"></i>{{item.title}}</a>
|
350
300
|
</li>
|
351
301
|
{% assign item_found = 'true' %}
|
352
302
|
{% endif %}
|
@@ -355,7 +305,7 @@ regenerate: true
|
|
355
305
|
<!-- [INFO ] [j1.modules.mmenu.html ] [START: check signout] -->
|
356
306
|
{% if item.mode == 'signout' %}
|
357
307
|
<li>
|
358
|
-
<a href="#" data-toggle="modal" data-target="#modalOmniSignOut"><i class="{{
|
308
|
+
<a href="#" data-toggle="modal" data-target="#modalOmniSignOut"><i class="{{icon_style}} {{icon_family}}-{{item.icon}} {{icon_size}}"></i>{{item.title}}</a>
|
359
309
|
</li>
|
360
310
|
{% assign item_found = 'true' %}
|
361
311
|
{% endif %}
|
@@ -381,7 +331,7 @@ regenerate: true
|
|
381
331
|
|
382
332
|
{% comment %} Collect items having a THEMES menu (disabled for now)
|
383
333
|
---------------------------------------------------------------------- {% endcomment %}
|
384
|
-
{% when '
|
334
|
+
{% when 'ttttttttttheme_select' %}
|
385
335
|
{% if themer_options.enabled %}
|
386
336
|
<!-- [INFO ] [j1.modules.mmenu.html ] [found menu-type: theme_select] -->
|
387
337
|
<li>
|
@@ -397,22 +347,22 @@ regenerate: true
|
|
397
347
|
<!-- check for J1 Theme selector -->
|
398
348
|
{% if item.local_themes and item.local_themes == 'enabled' %}
|
399
349
|
<li>
|
400
|
-
<a href="#"><i class="{{
|
401
|
-
<ul id="
|
350
|
+
<a href="#"><i class="{{icon_family}} {{icon_family}}-{{item.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{item.title}}</a>
|
351
|
+
<ul id="ThemeSelect_MMenu"> </ul>
|
402
352
|
</li>
|
403
353
|
{% assign item_found = 'true' %}
|
404
354
|
{% endif %} <!-- end J1 theme selector -->
|
405
355
|
<!-- check for BootSwatch theme selector -->
|
406
356
|
{% if item.bootswatch_themes and item.bootswatch_themes == 'enabled' %}
|
407
357
|
<li>
|
408
|
-
<a href="#"><i class="{{
|
409
|
-
<ul id="
|
358
|
+
<a href="#"><i class="{{icon_family}} {{icon_family}}-{{item.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{item.title}}</a>
|
359
|
+
<ul id="ThemeList_MMenu"> </ul>
|
410
360
|
</li>
|
411
361
|
{% assign item_found = 'true' %}
|
412
362
|
{% endif %} <!-- end BootSwatch theme selector -->
|
413
363
|
{% if item.preview and item.preview == 'enabled' %}
|
414
364
|
<li>
|
415
|
-
<a href="{{theme_preview}}" ><i class="{{
|
365
|
+
<a href="{{theme_preview}}" ><i class="{{icon_family}} {{icon_family}}-{{item.icon}} {{icon_size}} {{icon_color}} mr-2"></i> {{item.title}}</a>
|
416
366
|
</li>
|
417
367
|
{% assign item_found = 'true' %}
|
418
368
|
{% endif %} <!-- end theme preview -->
|
@@ -450,6 +400,9 @@ regenerate: true
|
|
450
400
|
<!-- [INFO ] [j1.modules.mmenu.html ] [nav_menu_settings: end processing] -->
|
451
401
|
|
452
402
|
{% endcapture %}
|
453
|
-
|
454
|
-
{{cache |
|
403
|
+
{% if production %}
|
404
|
+
{% 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 %}
|
405
|
+
{% else %}
|
406
|
+
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
407
|
+
{% endif %}
|
455
408
|
{% assign cache = nil %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -25,42 +25,38 @@ regenerate: true
|
|
25
25
|
|
26
26
|
{% comment %} Liquid procedures
|
27
27
|
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
-
{% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %}
|
29
|
-
{% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %}
|
30
|
-
|
31
28
|
|
32
29
|
{% comment %} Liquid var initialization
|
33
30
|
-------------------------------------------------------------------------------- {% endcomment %}
|
34
31
|
|
35
32
|
{% comment %} Set config files
|
36
33
|
-------------------------------------------------------------------------------- {% endcomment %}
|
37
|
-
|
38
34
|
{% assign navigator_defaults = site.data.modules.defaults.navigator.defaults %}
|
39
35
|
{% assign navigator_settings = site.data.modules.navigator.settings %}
|
40
36
|
|
41
37
|
{% comment %} Set config data
|
42
38
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
+
{% assign environment = site.environment %}
|
40
|
+
|
43
41
|
{% assign nav_mmenu_defaults = navigator_defaults.nav_mmenu %}
|
44
42
|
{% assign nav_mmenu_settings = navigator_settings.nav_mmenu %}
|
45
43
|
|
46
44
|
{% comment %} Set config options
|
47
|
-
|
45
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
46
|
+
{% assign navigator_options = navigator_defaults | merge: navigator_settings %}
|
48
47
|
{% assign nav_mmenu_options = nav_mmenu_defaults | merge: nav_mmenu_settings %}
|
49
48
|
|
50
|
-
{% comment %} Set sidebar properties
|
51
|
-
------------------------------------------------------------------------------ {% endcomment %}
|
52
|
-
{% assign display_user_info = sidebar_options.display_user_info %}
|
53
|
-
{% assign display_theme = sidebar_options.display_theme %}
|
54
|
-
{% assign close_icon = sidebar_options.close_icon %}
|
55
|
-
|
56
49
|
{% comment %} Set global settings
|
57
|
-
|
50
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
58
51
|
{% assign nav_bar_id = navigator_defaults.id %}
|
59
|
-
{% assign nav_navbar_media_breakpoint = navigator_defaults.nav_bar.media_breakpoint %}
|
60
52
|
|
53
|
+
{% assign production = '' %}
|
54
|
+
{% if environment == 'prod' or environment == 'production' %}
|
55
|
+
{% assign production = true %}
|
56
|
+
{% endif %}
|
61
57
|
|
62
58
|
{% comment %} Main
|
63
|
-
|
59
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
64
60
|
|
65
61
|
{% for item in nav_mmenu_options.menus %}
|
66
62
|
{% if item.menu.xhr_container_id == "navigator_sidebar_mmenu" %}
|
@@ -69,27 +65,24 @@ regenerate: true
|
|
69
65
|
{% endif %}
|
70
66
|
{% endfor %}
|
71
67
|
|
72
|
-
{%
|
68
|
+
{% comment %} Set icons and sizes
|
69
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
70
|
+
{% if navigator_options.icon_family == 'FA' or navigator_options.icon_family == 'FontAwesome' or navigator_options.icon_family == 'FontAwesome4' or navigator_options.icon_family == 'FontAwesome5' %}
|
73
71
|
{% assign icon_family = 'fa' %}
|
74
|
-
{% elsif
|
72
|
+
{% elsif navigator_options.icon_family == 'MDI' or navigator_options.icon_family == 'Material Design Icons'%}
|
75
73
|
{% assign icon_family = 'mdi' %}
|
76
74
|
{% else %}
|
77
75
|
{% assign icon_family = 'mdi' %}
|
78
76
|
{% endif %}
|
79
77
|
|
80
|
-
{%
|
81
|
-
{%
|
82
|
-
|
83
|
-
{% include {{select_icon_size}} family=icon_family size=sidebar_options.icon_size %}
|
84
|
-
{% assign icon_size = size %}
|
85
|
-
|
78
|
+
{% assign icon_size = navigator_options.icon_size %}
|
79
|
+
{% assign icon_color = navigator_options.icon_color %}
|
86
80
|
|
87
81
|
{% comment %} Main
|
88
82
|
-------------------------------------------------------------------------------- {% endcomment %}
|
89
83
|
|
90
84
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Start processing: sidebar] -->
|
91
|
-
|
92
|
-
<div id="sidebar_mmenu" class="mm-side" style="display:none">
|
85
|
+
<div id="{{sidebar_options.id}}" class="mm-side" style="display:none">
|
93
86
|
{% for boxes in sidebar_options.boxes %}
|
94
87
|
{% for box in boxes %}
|
95
88
|
|
@@ -107,10 +100,10 @@ regenerate: true
|
|
107
100
|
{% case type %}
|
108
101
|
|
109
102
|
{% comment %} Collect USER info
|
110
|
-
|
103
|
+
------------------------------------------------------------------------ {% endcomment %}
|
111
104
|
{% when 'user_info' %}
|
112
105
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [USER info enabled] -->
|
113
|
-
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Write
|
106
|
+
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Write widget placeholder: USER info] -->
|
114
107
|
<div id="user-info" class="widget">
|
115
108
|
<h4 class="heading">{{title}}</h4>
|
116
109
|
<ul id="display_user_details" class="link">
|
@@ -119,7 +112,7 @@ regenerate: true
|
|
119
112
|
{% if link.icon == null %}
|
120
113
|
{% assign icon = '' %}
|
121
114
|
{% else %}
|
122
|
-
{% capture icon %}<i class="{{icon_family}} {{icon_family}}-{{link.icon}} {{icon_size}}
|
115
|
+
{% capture icon %}<i class="{{icon_family}} {{icon_family}}-{{link.icon}} {{icon_size}} {{icon_color}} mr-2"></i>{% endcapture %}
|
123
116
|
{% endif %}
|
124
117
|
|
125
118
|
{% if link.target == nil or link.target == "" or link.target == "none" %}
|
@@ -140,17 +133,17 @@ regenerate: true
|
|
140
133
|
{% capture link_text %}{{link.title}}: {{link.value}}{% endcapture %}
|
141
134
|
{% endif %}
|
142
135
|
|
143
|
-
<li><a {{macro_id}} href="{{link.href|strip}}" {{target}}>{{icon}} {{link_text}}</a></li>
|
136
|
+
<li><a {{macro_id}} href="{{link.href|strip}}" {{target}} rel="noopener noreferrer">{{icon}} {{link_text}}</a></li>
|
144
137
|
|
145
138
|
{% endfor %}
|
146
139
|
</ul>
|
147
140
|
</div>
|
148
141
|
|
149
142
|
{% comment %} END Collect USER info
|
150
|
-
|
143
|
+
------------------------------------------------------------------------ {% endcomment %}
|
151
144
|
|
152
145
|
{% comment %} Reset element variables
|
153
|
-
|
146
|
+
------------------------------------------------------------------------ {% endcomment %}
|
154
147
|
{% assign enabled = nil %}
|
155
148
|
{% assign type = nil %}
|
156
149
|
{% assign title = nil %}
|
@@ -158,10 +151,10 @@ regenerate: true
|
|
158
151
|
{% assign links = nil %}
|
159
152
|
|
160
153
|
{% comment %} Collect THEME info
|
161
|
-
|
154
|
+
------------------------------------------------------------------------ {% endcomment %}
|
162
155
|
{% when 'theme_info' %}
|
163
156
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [THEME info detected] -->
|
164
|
-
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Write
|
157
|
+
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Write widget placeholder: USER info] -->
|
165
158
|
<div id="theme-info" class="widget">
|
166
159
|
<h4 class="heading">{{title}}</h4>
|
167
160
|
<ul class="link">
|
@@ -170,7 +163,7 @@ regenerate: true
|
|
170
163
|
{% if link.icon == null %}
|
171
164
|
{% assign icon = '' %}
|
172
165
|
{% else %}
|
173
|
-
{% capture icon %}<i class="{{icon_family}} {{icon_family}}-{{link.icon}} {{icon_size}}
|
166
|
+
{% capture icon %}<i class="{{icon_family}} {{icon_family}}-{{link.icon}} {{icon_size}} {{icon_color}} mr-2"></i>{% endcapture %}
|
174
167
|
{% endif %}
|
175
168
|
|
176
169
|
{% if link.target == nil or link.target == "" or link.target == "none" %}
|
@@ -191,7 +184,7 @@ regenerate: true
|
|
191
184
|
{% capture link_text %}{{link.title}}: {{link.value}}{% endcapture %}
|
192
185
|
{% endif %}
|
193
186
|
|
194
|
-
<li><a {{macro_id}} href="{{link.href|strip}}" {{target}}>{{icon}} {{link_text}}</a></li>
|
187
|
+
<li><a {{macro_id}} href="{{link.href|strip}}" {{target}} rel="noopener noreferrer">{{icon}} {{link_text}}</a></li>
|
195
188
|
|
196
189
|
{% endfor %}
|
197
190
|
</ul>
|
@@ -199,10 +192,10 @@ regenerate: true
|
|
199
192
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [End processing: THEME info] -->
|
200
193
|
|
201
194
|
{% comment %} END Collect THEME info
|
202
|
-
|
195
|
+
------------------------------------------------------------------------ {% endcomment %}
|
203
196
|
|
204
197
|
{% comment %} Reset element variables
|
205
|
-
|
198
|
+
------------------------------------------------------------------------ {% endcomment %}
|
206
199
|
{% assign enabled = nil %}
|
207
200
|
{% assign type = nil %}
|
208
201
|
{% assign title = nil %}
|
@@ -210,7 +203,7 @@ regenerate: true
|
|
210
203
|
{% assign links = nil %}
|
211
204
|
|
212
205
|
{% comment %} Collect SITE info
|
213
|
-
|
206
|
+
------------------------------------------------------------------------ {% endcomment %}
|
214
207
|
{% when 'site_info' %}
|
215
208
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [Start processing SITE info] -->
|
216
209
|
|
@@ -221,7 +214,7 @@ regenerate: true
|
|
221
214
|
{% if link.icon == null %}
|
222
215
|
{% assign icon = "" %}
|
223
216
|
{% else %}
|
224
|
-
{% capture icon %}<i class="{{icon_family}} {{icon_family}}-{{link.icon}} {{icon_size}}
|
217
|
+
{% capture icon %}<i class="{{icon_family}} {{icon_family}}-{{link.icon}} {{icon_size}} {{icon_color}} mr-2"></i>{% endcapture %}
|
225
218
|
{% endif %}
|
226
219
|
|
227
220
|
{% if link.target == nil or link.target == "" or link.target == "none" %}
|
@@ -236,17 +229,17 @@ regenerate: true
|
|
236
229
|
{% capture link_text %}"{{link.title}}: {{link.title}}"{% endcapture %}
|
237
230
|
{% endif %}
|
238
231
|
|
239
|
-
<li><a href="{{link.href|strip}}" {{target}}>{{icon}}{{link_text}}</a></li>
|
232
|
+
<li><a href="{{link.href|strip}}" {{target}} rel="noopener noreferrer">{{icon}}{{link_text}}</a></li>
|
240
233
|
|
241
234
|
{% endfor %}
|
242
235
|
</ul>
|
243
236
|
</div>
|
244
237
|
|
245
238
|
{% comment %} END Collect SITE info
|
246
|
-
|
239
|
+
------------------------------------------------------------------------ {% endcomment %}
|
247
240
|
|
248
241
|
{% comment %} Reset element variables
|
249
|
-
|
242
|
+
------------------------------------------------------------------------ {% endcomment %}
|
250
243
|
{% assign enabled = nil %}
|
251
244
|
{% assign type = nil %}
|
252
245
|
{% assign title = nil %}
|
@@ -262,6 +255,9 @@ regenerate: true
|
|
262
255
|
<!-- [INFO ] [ j1.modules.navigator.mmenu_sidebar.html ] [End processing: sidebar] -->
|
263
256
|
</div>
|
264
257
|
{% endcapture %}
|
265
|
-
|
266
|
-
{{ cache |
|
258
|
+
{% if production %}
|
259
|
+
{% 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 %}
|
260
|
+
{% else %}
|
261
|
+
{{ cache | pretty_print | remove:'<html><body>' | remove:'</body></html>' | strip_empty_lines }}
|
262
|
+
{% endif %}
|
267
263
|
{% assign cache = nil %}
|