j1-template 2021.0.6 → 2021.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  3. data/assets/data/menu.html +4 -4
  4. data/assets/themes/j1/adapter/js/fam.js +59 -27
  5. data/assets/themes/j1/adapter/js/j1.js +3 -2
  6. data/assets/themes/j1/adapter/js/themer.js +47 -23
  7. data/assets/themes/j1/adapter/js/toccer.js +97 -18
  8. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +299 -12
  9. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  10. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +92 -81
  11. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
  15. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  16. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  17. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  18. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  19. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  20. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  21. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
  22. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
  23. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
  24. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
  25. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
  26. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
  27. data/assets/themes/j1/modules/justifiedGallery/LICENSE +1 -1
  28. data/assets/themes/j1/modules/justifiedGallery/README.md +5 -3
  29. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/{jquery.justifiedGallery.js → justifiedGallery.js} +145 -145
  30. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/{jquery.justifiedGallery.min.js → justifiedGallery.min.js} +1 -2
  31. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.js +69 -53
  32. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.min.js +2 -2
  33. data/lib/j1/commands/generate.rb +5 -4
  34. data/lib/j1/version.rb +1 -1
  35. data/lib/j1_app/j1_auth_manager/auth_manager.rb +15 -0
  36. data/lib/starter_web/Gemfile +1 -1
  37. data/lib/starter_web/_config.yml +8 -6
  38. data/lib/starter_web/_data/apps/justified_gallery.yml +41 -13
  39. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +225 -188
  40. data/lib/starter_web/_data/blocks/banner.yml +19 -7
  41. data/lib/starter_web/_data/blocks/panel.yml +1 -1
  42. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  43. data/lib/starter_web/_data/modules/defaults/toccer.yml +3 -3
  44. data/lib/starter_web/_data/modules/fam.yml +8 -0
  45. data/lib/starter_web/_data/modules/navigator_menu.yml +28 -10
  46. data/lib/starter_web/_includes/attributes.asciidoc +43 -13
  47. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  48. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  49. data/lib/starter_web/assets/images/collections/blog/featured/markus-spiske-2.jpg +0 -0
  50. data/lib/starter_web/assets/images/collections/blog/featured/staticgen.jpg +0 -0
  51. data/lib/starter_web/assets/images/modules/attics/florian-olivo-1920x1280.jpg +0 -0
  52. data/lib/starter_web/assets/images/modules/attics/joel-filipe-1920x1280.jpg +0 -0
  53. data/lib/starter_web/assets/images/modules/attics/markus-spiske3-1920x1280.jpg +0 -0
  54. data/lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg +0 -0
  55. data/lib/starter_web/assets/images/modules/attics/{runner-1920x1200-bw.jpg → runner-1920x1200.jpg} +0 -0
  56. data/lib/starter_web/assets/images/modules/attics/{the-place-1920x1280-bw.jpg → the-place-1920x1280.jpg} +0 -0
  57. data/lib/starter_web/assets/images/modules/gallery/old_times/colored/image_01.jpg +0 -0
  58. data/lib/starter_web/assets/images/modules/gallery/old_times/image_01.jpg +0 -0
  59. data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
  60. data/lib/starter_web/assets/images/modules/gallery/old_times/image_03.jpg +0 -0
  61. data/lib/starter_web/assets/images/modules/gallery/old_times/image_04.jpg +0 -0
  62. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  63. data/lib/starter_web/assets/images/pages/panels/florian-olivo-1920x800.jpg +0 -0
  64. data/lib/starter_web/assets/images/pages/panels/responsive-text-1920x800.jpg +0 -0
  65. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  66. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  67. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  68. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  69. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  70. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  71. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  72. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  73. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  74. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  75. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  76. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  77. data/lib/starter_web/collections/posts/public/featured/_posts/{0000-00-00-welcome-to-j1-template.adoc.erb → 0000-00-00-welcome-to-j1.adoc.erb} +29 -13
  78. data/lib/starter_web/collections/posts/public/featured/_posts/{2020-05-01-top-open-source-static-site-generators.adoc → 2020-05-01-top-site-generators.adoc} +10 -15
  79. data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +58 -54
  80. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -1
  81. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
  82. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
  83. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
  84. data/lib/starter_web/dot.gitignore +2 -3
  85. data/lib/starter_web/index.html +10 -12
  86. data/lib/starter_web/package.json +1 -1
  87. data/lib/starter_web/pages/public/about/about_site.adoc +15 -1811
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  97. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  98. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  99. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  100. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  101. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  102. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  103. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  104. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  105. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  106. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  107. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  108. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  109. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  110. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  111. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  112. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  115. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  116. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  117. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  119. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  125. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  126. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  127. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  128. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  129. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +5 -6
  130. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
  131. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -269
  132. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +205 -90
  133. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +5 -15
  134. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +4 -5
  135. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -54
  136. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +47 -39
  137. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +17 -1
  138. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  139. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  140. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  141. data/lib/starter_web/pages/public/learn/where_to_go.adoc +25 -50
  142. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +67 -36
  143. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +1 -1
  144. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +15 -15
  145. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  146. data/lib/starter_web/pages/public/previewer/rouge.adoc +33 -24
  147. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  148. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  149. data/lib/starter_web/utilsrv/package.json +1 -1
  150. metadata +75 -39
  151. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.min.zip +0 -0
  152. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.zip +0 -0
  153. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.css +0 -110
  154. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -110
  155. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/theme/uno.css +0 -23
  156. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -1229
  157. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -8
  158. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  159. data/lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb +0 -72
  160. data/lib/starter_web/collections/posts/public/featured/_posts/2020-04-01-confusion-about-base-url.adoc +0 -118
  161. data/lib/starter_web/pages/public/about/become_a_patron.adoc +0 -71
  162. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  163. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  164. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  165. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  166. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  167. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  168. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  169. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  170. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  171. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  172. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  173. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
  174. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -98
  175. data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +0 -55
  176. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -295
  177. data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +0 -395
  178. data/lib/starter_web/pages/public/legal/de/500_support.adoc +0 -20
  179. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +0 -441
  180. data/lib/starter_web/pages/public/legal/en/500_support.adoc +0 -27
@@ -1,8 +0,0 @@
1
- /*!
2
- * justifiedGallery - v4.0.0-alpha
3
- * http://miromannino.github.io/Justified-Gallery/
4
- * Copyright (c) 2019 Miro Mannino
5
- * Licensed under the MIT license.
6
- */
7
-
8
- !function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(i),i}:e(jQuery)}(function(l){var r=function(t,i){this.settings=i,this.checkSettings(),this.imgAnalyzerTimeout=null,this.entries=null,this.buildingRow={entriesBuff:[],width:0,height:0,aspectRatio:0},this.lastFetchedEntry=null,this.lastAnalyzedIndex=-1,this.yield={every:2,flushed:0},this.border=0<=i.border?i.border:i.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges(),this.offY=this.border,this.rows=0,this.spinner={phase:0,timeSlot:150,$el:l('<div class="spinner"><span></span><span></span><span></span></div>'),intervalId:null},this.scrollBarOn=!1,this.checkWidthIntervalId=null,this.galleryWidth=t.width(),this.$gallery=t};r.prototype.getSuffix=function(t,i){var e,s;for(e=i<t?t:i,s=0;s<this.suffixRanges.length;s++)if(e<=this.suffixRanges[s])return this.settings.sizeRangeSuffixes[this.suffixRanges[s]];return this.settings.sizeRangeSuffixes[this.suffixRanges[s-1]]},r.prototype.removeSuffix=function(t,i){return t.substring(0,t.length-i.length)},r.prototype.endsWith=function(t,i){return-1!==t.indexOf(i,t.length-i.length)},r.prototype.getUsedSuffix=function(t){for(var i in this.settings.sizeRangeSuffixes)if(this.settings.sizeRangeSuffixes.hasOwnProperty(i)){if(0===this.settings.sizeRangeSuffixes[i].length)continue;if(this.endsWith(t,this.settings.sizeRangeSuffixes[i]))return this.settings.sizeRangeSuffixes[i]}return""},r.prototype.newSrc=function(t,i,e,s){var n;if(this.settings.thumbnailPath)n=this.settings.thumbnailPath(t,i,e,s);else{var r=t.match(this.settings.extension),o=null!==r?r[0]:"";n=t.replace(this.settings.extension,""),n=this.removeSuffix(n,this.getUsedSuffix(n)),n+=this.getSuffix(i,e)+o}return n},r.prototype.showImg=function(t,i){this.settings.cssAnimation?(t.addClass("jg-entry-visible"),i&&i()):(t.stop().fadeTo(this.settings.imagesAnimationDuration,1,i),t.find(this.settings.imgSelector).stop().fadeTo(this.settings.imagesAnimationDuration,1,i))},r.prototype.extractImgSrcFromImage=function(t){var i=t.data("safe-src"),e="date-safe-src";return void 0===i&&(i=t.attr("src"),e="src"),t.data("jg.originalSrc",i),t.data("jg.src",i),t.data("jg.originalSrcLoc",e),i},r.prototype.imgFromEntry=function(t){var i=t.find(this.settings.imgSelector);return 0===i.length?null:i},r.prototype.captionFromEntry=function(t){var i=t.find("> .caption");return 0===i.length?null:i},r.prototype.displayEntry=function(t,i,e,s,n,r){t.width(s),t.height(r),t.css("top",e),t.css("left",i);var o=this.imgFromEntry(t);if(null!==o){o.css("width",s),o.css("height",n),o.css("margin-left",-s/2),o.css("margin-top",-n/2);var a=o.data("jg.src");if(a){a=this.newSrc(a,s,n,o[0]),o.one("error",function(){this.resetImgSrc(o)});var h=function(){o.attr("src",a)};"skipped"===t.data("jg.loaded")?this.onImageEvent(a,function(){this.showImg(t,h),t.data("jg.loaded",!0)}.bind(this)):this.showImg(t,h)}}else this.showImg(t);this.displayEntryCaption(t)},r.prototype.displayEntryCaption=function(t){var i=this.imgFromEntry(t);if(null!==i&&this.settings.captions){var e=this.captionFromEntry(t);if(null===e){var s=i.attr("alt");this.isValidCaption(s)||(s=t.attr("title")),this.isValidCaption(s)&&(e=l('<div class="caption">'+s+"</div>"),t.append(e),t.data("jg.createdCaption",!0))}null!==e&&(this.settings.cssAnimation||e.stop().fadeTo(0,this.settings.captionSettings.nonVisibleOpacity),this.addCaptionEventsHandlers(t))}else this.removeCaptionEventsHandlers(t)},r.prototype.isValidCaption=function(t){return void 0!==t&&0<t.length},r.prototype.onEntryMouseEnterForCaption=function(t){var i=this.captionFromEntry(l(t.currentTarget));this.settings.cssAnimation?i.addClass("caption-visible").removeClass("caption-hidden"):i.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.visibleOpacity)},r.prototype.onEntryMouseLeaveForCaption=function(t){var i=this.captionFromEntry(l(t.currentTarget));this.settings.cssAnimation?i.removeClass("caption-visible").removeClass("caption-hidden"):i.stop().fadeTo(this.settings.captionSettings.animationDuration,this.settings.captionSettings.nonVisibleOpacity)},r.prototype.addCaptionEventsHandlers=function(t){var i=t.data("jg.captionMouseEvents");void 0===i&&(i={mouseenter:l.proxy(this.onEntryMouseEnterForCaption,this),mouseleave:l.proxy(this.onEntryMouseLeaveForCaption,this)},t.on("mouseenter",void 0,void 0,i.mouseenter),t.on("mouseleave",void 0,void 0,i.mouseleave),t.data("jg.captionMouseEvents",i))},r.prototype.removeCaptionEventsHandlers=function(t){var i=t.data("jg.captionMouseEvents");void 0!==i&&(t.off("mouseenter",void 0,i.mouseenter),t.off("mouseleave",void 0,i.mouseleave),t.removeData("jg.captionMouseEvents"))},r.prototype.clearBuildingRow=function(){this.buildingRow.entriesBuff=[],this.buildingRow.aspectRatio=0,this.buildingRow.width=0},r.prototype.prepareBuildingRow=function(t){var i,e,s,n,r,o=!0,a=0,h=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,g=h/this.buildingRow.aspectRatio,l=this.settings.rowHeight,d=this.buildingRow.width/h>this.settings.justifyThreshold;if(t&&"hide"===this.settings.lastRow&&!d){for(i=0;i<this.buildingRow.entriesBuff.length;i++)e=this.buildingRow.entriesBuff[i],this.settings.cssAnimation?e.removeClass("jg-entry-visible"):(e.stop().fadeTo(0,.1),e.find("> img, > a > img").fadeTo(0,0));return-1}for(t&&!d&&"justify"!==this.settings.lastRow&&"hide"!==this.settings.lastRow&&(o=!1,0<this.rows&&(o=(l=(this.offY-this.border-this.settings.margins*this.rows)/this.rows)*this.buildingRow.aspectRatio/h>this.settings.justifyThreshold)),i=0;i<this.buildingRow.entriesBuff.length;i++)s=(e=this.buildingRow.entriesBuff[i]).data("jg.width")/e.data("jg.height"),o?(n=i===this.buildingRow.entriesBuff.length-1?h:g*s,r=g):(n=l*s,r=l),h-=Math.round(n),e.data("jg.jwidth",Math.round(n)),e.data("jg.jheight",Math.ceil(r)),(0===i||r<a)&&(a=r);return this.buildingRow.height=a,o},r.prototype.flushRow=function(t){var i,e,s,n=this.settings,r=this.border;if(e=this.prepareBuildingRow(t),t&&"hide"===n.lastRow&&-1===e)this.clearBuildingRow();else{if(this.maxRowHeight&&this.maxRowHeight<this.buildingRow.height&&(this.buildingRow.height=this.maxRowHeight),t&&("center"===n.lastRow||"right"===n.lastRow)){var o=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*n.margins;for(s=0;s<this.buildingRow.entriesBuff.length;s++)o-=(i=this.buildingRow.entriesBuff[s]).data("jg.jwidth");"center"===n.lastRow?r+=o/2:"right"===n.lastRow&&(r+=o)}var a=this.buildingRow.entriesBuff.length-1;for(s=0;s<=a;s++)i=this.buildingRow.entriesBuff[this.settings.rtl?a-s:s],this.displayEntry(i,r,this.offY,i.data("jg.jwidth"),i.data("jg.jheight"),this.buildingRow.height),r+=i.data("jg.jwidth")+n.margins;this.galleryHeightToSet=this.offY+this.buildingRow.height+this.border,this.setGalleryTempHeight(this.galleryHeightToSet+this.getSpinnerHeight()),(!t||this.buildingRow.height<=n.rowHeight&&e)&&(this.offY+=this.buildingRow.height+n.margins,this.rows+=1,this.clearBuildingRow(),this.settings.triggerEvent.call(this,"jg.rowflush"))}};var i=0;r.prototype.rememberGalleryHeight=function(){i=this.$gallery.height(),this.$gallery.height(i)},r.prototype.setGalleryTempHeight=function(t){i=Math.max(t,i),this.$gallery.height(i)},r.prototype.setGalleryFinalHeight=function(t){i=t,this.$gallery.height(t)},r.prototype.checkWidth=function(){this.checkWidthIntervalId=setInterval(l.proxy(function(){if(this.$gallery.is(":visible")){var t=parseFloat(this.$gallery.width());Math.abs(t-this.galleryWidth)>this.settings.refreshSensitivity&&(this.galleryWidth=t,this.rewind(),this.rememberGalleryHeight(),this.startImgAnalyzer(!0))}},this),this.settings.refreshTime)},r.prototype.isSpinnerActive=function(){return null!==this.spinner.intervalId},r.prototype.getSpinnerHeight=function(){return this.spinner.$el.innerHeight()},r.prototype.stopLoadingSpinnerAnimation=function(){clearInterval(this.spinner.intervalId),this.spinner.intervalId=null,this.setGalleryTempHeight(this.$gallery.height()-this.getSpinnerHeight()),this.spinner.$el.detach()},r.prototype.startLoadingSpinnerAnimation=function(){var t=this.spinner,i=t.$el.find("span");clearInterval(t.intervalId),this.$gallery.append(t.$el),this.setGalleryTempHeight(this.offY+this.buildingRow.height+this.getSpinnerHeight()),t.intervalId=setInterval(function(){t.phase<i.length?i.eq(t.phase).fadeTo(t.timeSlot,1):i.eq(t.phase-i.length).fadeTo(t.timeSlot,0),t.phase=(t.phase+1)%(2*i.length)},t.timeSlot)},r.prototype.rewind=function(){this.lastFetchedEntry=null,this.lastAnalyzedIndex=-1,this.offY=this.border,this.rows=0,this.clearBuildingRow()},r.prototype.getAllEntries=function(){return this.$gallery.children(this.settings.selector).toArray()},r.prototype.updateEntries=function(t){var i;return t&&null!=this.lastFetchedEntry?i=l(this.lastFetchedEntry).nextAll(this.settings.selector).toArray():(this.entries=[],i=this.getAllEntries()),0<i.length&&(l.isFunction(this.settings.sort)?i=this.sortArray(i):this.settings.randomize&&(i=this.shuffleArray(i)),this.lastFetchedEntry=i[i.length-1],this.settings.filter?i=this.filterArray(i):this.resetFilters(i)),this.entries=this.entries.concat(i),!0},r.prototype.insertToGallery=function(t){var i=this;l.each(t,function(){l(this).appendTo(i.$gallery)})},r.prototype.shuffleArray=function(t){var i,e,s;for(i=t.length-1;0<i;i--)e=Math.floor(Math.random()*(i+1)),s=t[i],t[i]=t[e],t[e]=s;return this.insertToGallery(t),t},r.prototype.sortArray=function(t){return t.sort(this.settings.sort),this.insertToGallery(t),t},r.prototype.resetFilters=function(t){for(var i=0;i<t.length;i++)l(t[i]).removeClass("jg-filtered")},r.prototype.filterArray=function(t){var e=this.settings;if("string"===l.type(e.filter))return t.filter(function(t){var i=l(t);return i.is(e.filter)?(i.removeClass("jg-filtered"),!0):(i.addClass("jg-filtered").removeClass("jg-visible"),!1)});if(l.isFunction(e.filter)){for(var i=t.filter(e.filter),s=0;s<t.length;s++)-1===i.indexOf(t[s])?l(t[s]).addClass("jg-filtered").removeClass("jg-visible"):l(t[s]).removeClass("jg-filtered");return i}},r.prototype.resetImgSrc=function(t){"src"==t.data("jg.originalSrcLoc")?t.attr("src",t.data("jg.originalSrc")):t.attr("src","")},r.prototype.destroy=function(){clearInterval(this.checkWidthIntervalId),this.stopImgAnalyzerStarter(),l.each(this.getAllEntries(),l.proxy(function(t,i){var e=l(i);e.css("width",""),e.css("height",""),e.css("top",""),e.css("left",""),e.data("jg.loaded",void 0),e.removeClass("jg-entry jg-filtered jg-entry-visible");var s=this.imgFromEntry(e);s&&(s.css("width",""),s.css("height",""),s.css("margin-left",""),s.css("margin-top",""),this.resetImgSrc(s),s.data("jg.originalSrc",void 0),s.data("jg.originalSrcLoc",void 0),s.data("jg.src",void 0)),this.removeCaptionEventsHandlers(e);var n=this.captionFromEntry(e);e.data("jg.createdCaption")?(e.data("jg.createdCaption",void 0),null!==n&&n.remove()):null!==n&&n.fadeTo(0,1)},this)),this.$gallery.css("height",""),this.$gallery.removeClass("justified-gallery"),this.$gallery.data("jg.controller",void 0),this.settings.triggerEvent.call(this,"jg.destroy")},r.prototype.analyzeImages=function(t){for(var i=this.lastAnalyzedIndex+1;i<this.entries.length;i++){var e=l(this.entries[i]);if(!0===e.data("jg.loaded")||"skipped"===e.data("jg.loaded")){var s=this.galleryWidth-2*this.border-(this.buildingRow.entriesBuff.length-1)*this.settings.margins,n=e.data("jg.width")/e.data("jg.height");if(this.buildingRow.entriesBuff.push(e),this.buildingRow.aspectRatio+=n,this.buildingRow.width+=n*this.settings.rowHeight,this.lastAnalyzedIndex=i,s/(this.buildingRow.aspectRatio+n)<this.settings.rowHeight&&(this.flushRow(!1),++this.yield.flushed>=this.yield.every))return void this.startImgAnalyzer(t)}else if("error"!==e.data("jg.loaded"))return}0<this.buildingRow.entriesBuff.length&&this.flushRow(!0),this.isSpinnerActive()&&this.stopLoadingSpinnerAnimation(),this.stopImgAnalyzerStarter(),this.settings.triggerEvent.call(this,t?"jg.resize":"jg.complete"),this.setGalleryFinalHeight(this.galleryHeightToSet)},r.prototype.stopImgAnalyzerStarter=function(){this.yield.flushed=0,null!==this.imgAnalyzerTimeout&&(clearTimeout(this.imgAnalyzerTimeout),this.imgAnalyzerTimeout=null)},r.prototype.startImgAnalyzer=function(t){var i=this;this.stopImgAnalyzerStarter(),this.imgAnalyzerTimeout=setTimeout(function(){i.analyzeImages(t)},.001)},r.prototype.onImageEvent=function(t,i,e){if(i||e){var s=new Image,n=l(s);i&&n.one("load",function(){n.off("load error"),i(s)}),e&&n.one("error",function(){n.off("load error"),e(s)}),s.src=t}},r.prototype.init=function(){var a=!1,h=!1,g=this;l.each(this.entries,function(t,i){var e=l(i),s=g.imgFromEntry(e);if(e.addClass("jg-entry"),!0!==e.data("jg.loaded")&&"skipped"!==e.data("jg.loaded"))if(null!==g.settings.rel&&e.attr("rel",g.settings.rel),null!==g.settings.target&&e.attr("target",g.settings.target),null!==s){var n=g.extractImgSrcFromImage(s);if(!1===g.settings.waitThumbnailsLoad||!n){var r=parseFloat(s.attr("width")),o=parseFloat(s.attr("height"));if("svg"===s.prop("tagName")&&(r=parseFloat(s[0].getBBox().width),o=parseFloat(s[0].getBBox().height)),!isNaN(r)&&!isNaN(o))return e.data("jg.width",r),e.data("jg.height",o),e.data("jg.loaded","skipped"),h=!0,g.startImgAnalyzer(!1),!0}e.data("jg.loaded",!1),a=!0,g.isSpinnerActive()||g.startLoadingSpinnerAnimation(),g.onImageEvent(n,function(t){e.data("jg.width",t.width),e.data("jg.height",t.height),e.data("jg.loaded",!0),g.startImgAnalyzer(!1)},function(){e.data("jg.loaded","error"),g.startImgAnalyzer(!1)})}else e.data("jg.loaded",!0),e.data("jg.width",e.width()|parseFloat(e.css("width"))|1),e.data("jg.height",e.height()|parseFloat(e.css("height"))|1)}),a||h||this.startImgAnalyzer(!1),this.checkWidth()},r.prototype.checkOrConvertNumber=function(t,i){if("string"===l.type(t[i])&&(t[i]=parseFloat(t[i])),"number"!==l.type(t[i]))throw i+" must be a number";if(isNaN(t[i]))throw"invalid number for "+i},r.prototype.checkSizeRangesSuffixes=function(){if("object"!==l.type(this.settings.sizeRangeSuffixes))throw"sizeRangeSuffixes must be defined and must be an object";var t=[];for(var i in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(i)&&t.push(i);for(var e={0:""},s=0;s<t.length;s++)if("string"===l.type(t[s]))try{e[parseInt(t[s].replace(/^[a-z]+/,""),10)]=this.settings.sizeRangeSuffixes[t[s]]}catch(t){throw"sizeRangeSuffixes keys must contains correct numbers ("+t+")"}else e[t[s]]=this.settings.sizeRangeSuffixes[t[s]];this.settings.sizeRangeSuffixes=e},r.prototype.retrieveMaxRowHeight=function(){var t=null,i=this.settings.rowHeight;if("string"===l.type(this.settings.maxRowHeight))t=this.settings.maxRowHeight.match(/^[0-9]+%$/)?i*parseFloat(this.settings.maxRowHeight.match(/^([0-9]+)%$/)[1])/100:parseFloat(this.settings.maxRowHeight);else{if("number"!==l.type(this.settings.maxRowHeight)){if(!1===this.settings.maxRowHeight||null==this.settings.maxRowHeight)return null;throw"maxRowHeight must be a number or a percentage"}t=this.settings.maxRowHeight}if(isNaN(t))throw"invalid number for maxRowHeight";return t<i&&(t=i),t},r.prototype.checkSettings=function(){this.checkSizeRangesSuffixes(),this.checkOrConvertNumber(this.settings,"rowHeight"),this.checkOrConvertNumber(this.settings,"margins"),this.checkOrConvertNumber(this.settings,"border");var t=["justify","nojustify","left","center","right","hide"];if(-1===t.indexOf(this.settings.lastRow))throw"lastRow must be one of: "+t.join(", ");if(this.checkOrConvertNumber(this.settings,"justifyThreshold"),this.settings.justifyThreshold<0||1<this.settings.justifyThreshold)throw"justifyThreshold must be in the interval [0,1]";if("boolean"!==l.type(this.settings.cssAnimation))throw"cssAnimation must be a boolean";if("boolean"!==l.type(this.settings.captions))throw"captions must be a boolean";if(this.checkOrConvertNumber(this.settings.captionSettings,"animationDuration"),this.checkOrConvertNumber(this.settings.captionSettings,"visibleOpacity"),this.settings.captionSettings.visibleOpacity<0||1<this.settings.captionSettings.visibleOpacity)throw"captionSettings.visibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings.captionSettings,"nonVisibleOpacity"),this.settings.captionSettings.nonVisibleOpacity<0||1<this.settings.captionSettings.nonVisibleOpacity)throw"captionSettings.nonVisibleOpacity must be in the interval [0, 1]";if(this.checkOrConvertNumber(this.settings,"imagesAnimationDuration"),this.checkOrConvertNumber(this.settings,"refreshTime"),this.checkOrConvertNumber(this.settings,"refreshSensitivity"),"boolean"!==l.type(this.settings.randomize))throw"randomize must be a boolean";if("string"!==l.type(this.settings.selector))throw"selector must be a string";if(!1!==this.settings.sort&&!l.isFunction(this.settings.sort))throw"sort must be false or a comparison function";if(!1!==this.settings.filter&&!l.isFunction(this.settings.filter)&&"string"!==l.type(this.settings.filter))throw"filter must be false, a string or a filter function"},r.prototype.retrieveSuffixRanges=function(){var t=[];for(var i in this.settings.sizeRangeSuffixes)this.settings.sizeRangeSuffixes.hasOwnProperty(i)&&t.push(parseInt(i,10));return t.sort(function(t,i){return i<t?1:t<i?-1:0}),t},r.prototype.updateSettings=function(t){this.settings=l.extend({},this.settings,t),this.checkSettings(),this.border=0<=this.settings.border?this.settings.border:this.settings.margins,this.maxRowHeight=this.retrieveMaxRowHeight(),this.suffixRanges=this.retrieveSuffixRanges()},r.prototype.defaults={sizeRangeSuffixes:{},thumbnailPath:void 0,rowHeight:120,maxRowHeight:!1,margins:1,border:-1,lastRow:"nojustify",justifyThreshold:.9,waitThumbnailsLoad:!0,captions:!0,cssAnimation:!0,imagesAnimationDuration:500,captionSettings:{animationDuration:500,visibleOpacity:.7,nonVisibleOpacity:0},rel:null,target:null,extension:/\.[^.\\/]+$/,refreshTime:200,refreshSensitivity:0,randomize:!1,rtl:!1,sort:!1,filter:!1,selector:"a, div:not(.spinner)",imgSelector:"> img, > a > img, > svg, > a > svg",triggerEvent:function(t){this.$gallery.trigger(t)}},l.fn.justifiedGallery=function(n){return this.each(function(t,i){var e=l(i);e.addClass("justified-gallery");var s=e.data("jg.controller");if(void 0===s){if(null!=n&&"object"!==l.type(n)){if("destroy"===n)return;throw"The argument must be an object"}s=new r(e,l.extend({},r.prototype.defaults,n)),e.data("jg.controller",s)}else if("norewind"===n);else{if("destroy"===n)return void s.destroy();s.updateSettings(n),s.rewind()}s.updateEntries("norewind"===n)&&s.init()})}});
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Twitter, Inc and other contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,72 +0,0 @@
1
- ---
2
- title: Welcome
3
- tagline: jekyll to everyone
4
- description: Auto-generated welcome post
5
-
6
- date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>
7
- series:
8
- image: /assets/images/modules/attics/welcome-1920x1280-bw.png
9
-
10
- tags: [ Example, Post ]
11
- index: []
12
- categories: [ featured ]
13
-
14
- #permalink:
15
- regenerate: false
16
-
17
- resources: []
18
- resource_options:
19
- - attic:
20
- padding_top: 350
21
- padding_bottom: 50
22
- opacity: 0.5
23
- slides:
24
- - url: /assets/images/modules/attics/welcome-1920x1280-bw.png
25
- alt: welcome-1920x1280-bw
26
- ---
27
-
28
- // TODO: For POSTS, currently the include:: macro does NOT work.
29
- // Path calculation needes to be fixec (includes the document file name)
30
- // -----------------------------------------------------------------------------
31
-
32
- // NOTE: General Asciidoc page attributes settings
33
- // -----------------------------------------------------------------------------
34
- :page-liquid:
35
-
36
- // Additional Asciidoc page attributes goes here
37
- // -----------------------------------------------------------------------------
38
- // :page-imagesdir: {{page.images.dir}}
39
-
40
-
41
- // NOTE: Place an excerpt at the most top position
42
- // -----------------------------------------------------------------------------
43
- Welcome to Jekyll and J1 Template!
44
-
45
- You’ll find this example post, automatically generated, in *featured* posts
46
- folder under /collections/posts/public/featured/_posts. Go ahead and edit and
47
- re-build the site to see your changes.
48
-
49
- You can rebuild the site in many different ways, but the most common way is
50
- to run `jekyll serve`, which launches a web server and auto-regenerates your
51
- site when a file is updated.
52
-
53
- [role="clearfix mb-3"]
54
- excerpt__end
55
-
56
-
57
- // Page content
58
- // -----------------------------------------------------------------------------
59
- [[readmore]]
60
- == Add new posts
61
-
62
- [role="mb-3"]
63
- // image::{{page.image}}[{{page.title}}]
64
- // image::/assets/images/modules/attics/runner-1920x1200-bw.png[{{page.title}}, 800]
65
-
66
- To add new posts, simply add a file in the directory
67
- `/collections/posts/public/featured/_posts` that follows the convention
68
- `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter.
69
-
70
- Have a look at the source for this post to get an idea about how it works.
71
-
72
- Happy Jekylling!
@@ -1,118 +0,0 @@
1
- ---
2
- title: Jekyll URLs
3
- tagline: what is baseurl
4
- date: 2020-04-01 00:00:00
5
-
6
- tags: [ Jekyll, Configuration ]
7
- categories: [ Knowledge ]
8
-
9
- series:
10
- adsense: false
11
- image: /assets/images/collections/blog/featured/what-is-a-baseurl.jpg
12
-
13
- regenerate: false
14
-
15
- resources: []
16
- resource_options:
17
- - attic:
18
- padding_top: 400
19
- padding_bottom: 50
20
- opacity: 0.5
21
- slides:
22
- - url: /assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg
23
- alt: jekyll.1200x600-bw.jpg
24
- ---
25
-
26
- // Page Initializer
27
- // =============================================================================
28
- // Enable the Liquid Preprocessor
29
- :page-liquid:
30
-
31
- // Set page (local) attributes here
32
- // -----------------------------------------------------------------------------
33
- // :page--attr: <attr-value>
34
- :page-imagesdir: {{page.images.dir}}
35
- :wikipedia-article: https://en.wikipedia.org/wiki/Geography_of_Minneapolis
36
-
37
- // Place an excerpt at the most top position
38
- // -----------------------------------------------------------------------------
39
- Hey, so there’s been a bit of confusion about what the Jekyll configuration
40
- option called baseurl is. Part of the beauty of open-source and of Jekyll is
41
- that there’s a lot of flexibility. Unfortunately, much of this flexibility
42
- doesn’t apply to `baseurl`. Here’s a quick distillation of its intentions,
43
- and how to use it.
44
-
45
- [role="clearfix mb-3"]
46
- excerpt__end
47
-
48
- // Load Liquid procedures
49
- // -----------------------------------------------------------------------------
50
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
51
-
52
- // Load page attributes
53
- // -----------------------------------------------------------------------------
54
- {% include {{load_attributes}} scope="none" %}
55
-
56
-
57
- // Page content
58
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
-
60
- // Include sub-documents
61
- // -----------------------------------------------------------------------------
62
-
63
- [[readmore]]
64
- == Mimic GitHub Pages
65
-
66
- [role="mb-3"]
67
- image::{{page.image}}[{{page.title}}]
68
-
69
- // See: link:{parker-blog}[Parker Moore, window="_blank"]
70
-
71
- The config parameter `baseurl` was originally added back in 2010 to allow
72
- “the user to test the website with the internal webserver under the same
73
- base url it will be deployed to on a production server”.
74
-
75
- So let’s say I come up with a cool new project. I want to make documentation
76
- for a project I’m working on called “example”, and I’ll be deploying it to
77
- GitHub Pages as a repo under the *@jekyll* username. Its documentation will
78
- be available at the URL http://jekyll.github.io/example.
79
-
80
- In this example, the term *base URL* refers to /example, which I place in
81
- my _config.yml as:
82
-
83
- [source, yaml]
84
- ----
85
- baseurl: /example
86
- ----
87
-
88
- When I go to develop my website, I run jekyll serve like normal, but this
89
- time I go to http://localhost:4000/example/. What this baseurl has done is
90
- specified a base path relative to the domain at which the site lives. If you
91
- navigate to just http://localhost:4000/, you will see an error message. If
92
- you have hooked up all your links correctly, then you will never see a URL
93
- in your testing without /example at the beginning of the path.
94
-
95
- You might see, for example:
96
-
97
- [source, smarty]
98
- ----
99
- {{ page.path | prepend:site.baseurl }}
100
- ----
101
-
102
-
103
- == Configuring Your Site Properly
104
-
105
- . Set baseurl in your _config.yml to match the production URL without
106
- the host (e.g. /example, not http://jekyll.github.io/example).
107
-
108
- . Run jekyll serve and go to `http://localhost:4000/your_baseurl/`, replacing
109
- `your_baseurl` with whatever you set baseurl to in your _config.yml - and not
110
- forgetting the trailing slash.
111
-
112
- . Make sure everything works. Feel free to prepend your urls with site.baseurl.
113
- . Push up to your host and see that everything works there, too!
114
-
115
- == Now what the heck is site.url?
116
-
117
- site.url is used in conjunction with site.baseurl when you want a link to
118
- something with the full URL to it. One common paradigm
@@ -1,71 +0,0 @@
1
- ---
2
- title: J1 Template
3
- tagline: become a patron
4
- date: 2021-02-01 00:00:00
5
- description: >
6
- Help to create premium content
7
-
8
- tags: [ Patron, Premium, Content ]
9
- categories: [ pages ]
10
-
11
- exclude_from_search: true
12
-
13
- permalink: /pages/public/about/become_a_patron/
14
- regenerate: false
15
-
16
- resources: [ lightbox ]
17
- resource_options:
18
- - attic:
19
- padding_top: 400
20
- padding_bottom: 50
21
- opacity: 0.5
22
- slides:
23
- - url: /assets/images/modules/attics/premium-1920x1280-bw.jpg
24
- alt: Photo by Anders Nord on Unsplash
25
- badge:
26
- type: unsplash
27
- author: Anders Nord
28
- href: https://unsplash.com/@annoand/portfolio
29
- ---
30
-
31
- // Page Initializer
32
- // =============================================================================
33
- // Enable the Liquid Preprocessor
34
- :page-liquid:
35
-
36
- // Set (local) page attributes here
37
- // -----------------------------------------------------------------------------
38
- // :page--attr: <attr-value>
39
-
40
- // Load Liquid procedures
41
- // -----------------------------------------------------------------------------
42
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
43
-
44
- // Load page attributes
45
- // -----------------------------------------------------------------------------
46
- {% include {{load_attributes}} scope="global" %}
47
-
48
-
49
- // Page content
50
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
51
-
52
- // Include sub-documents
53
- // -----------------------------------------------------------------------------
54
-
55
- _Patron_ allows fans -- the *patrons* -- to pay creators for their work. Many
56
- of these creators are influencers: photographers on Instagram, comedians
57
- on YouTube, podcasters that tweet, creative technicians providing useful
58
- software, tools and tutorials.
59
-
60
- Simple like this.
61
-
62
-
63
- == Become a Patron
64
-
65
- What does that mean? A _Patron_ support a _Creator_ for the provided content
66
- they love, they like to use: excellent content services -- created with passion.
67
-
68
- What does a creator need to provide outstanding, useful products to the people?
69
-
70
- No surprise: time and money. What is, vice versa, quite the same. But that's not
71
- all.
@@ -1,79 +0,0 @@
1
- ---
2
- title: Web in a Day
3
- tagline: meet & greet jekyll
4
- date: 2020-08-01 09:00:00
5
- description: >
6
- Web in a Day is the first in a series of tutorials to
7
- learn how to create modern websites using Jekyll. This
8
- Kickstarter focus on the basics of Jekyll and the
9
- J1 Template which all people needs to know for a successful
10
- way to a modern static website using Jekyll and J1 Template
11
-
12
- tags: [ Jekyll, Tutorial ]
13
- categories: [ Knowledge ]
14
-
15
- permalink: /pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
16
- regenerate: false
17
-
18
- resources: [ lightbox, carousel, fam ]
19
- resource_options:
20
- - attic:
21
- padding_top: 400
22
- padding_bottom: 50
23
- opacity: 0.5
24
- slides:
25
- - url: /assets/images/pages/kickstarter/web_in_a_day/get-started-1920x1280-bw.jpg
26
- alt: Photo by JESHOOTS.COM on Unsplash
27
- alignY: top
28
- badge:
29
- type: unsplash
30
- author: JESHOOTS.COM
31
- href: https://unsplash.com/@jeshoots/portfolio
32
- ---
33
-
34
- // Page Initializer
35
- // =============================================================================
36
- // Enable the Liquid Preprocessor
37
- :page-liquid:
38
-
39
- // Set page (local) attributes here
40
- // -----------------------------------------------------------------------------
41
- // :page--attr: <attr-value>
42
-
43
- // Load Liquid procedures
44
- // -----------------------------------------------------------------------------
45
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
46
-
47
- // Load page attributes
48
- // -----------------------------------------------------------------------------
49
- {% include {{load_attributes}} scope="all" %}
50
-
51
-
52
- // Page content
53
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
-
55
- // Include sub-documents
56
- // -----------------------------------------------------------------------------
57
- include::{documentdir}/100_meet_and_greet_jekyll.asciidoc[]
58
-
59
- == Summarize!
60
-
61
- include::{includedir}/parts.asciidoc[tag=summarize]
62
-
63
- === Recap
64
-
65
- include::{includedir}/parts.asciidoc[tag=recap_100_meet_and_greet_jekyll]
66
-
67
- === Whats Next
68
-
69
- include::{includedir}/parts.asciidoc[tag=whats_next_100_meet_and_greet_jekyll]
70
-
71
- /////
72
- === All Chapters
73
- include::{includedir}/parts.asciidoc[tag=chapters]
74
- include::{includedir}/parts.asciidoc[tag=chapters_100_meet_and_greet_jekyll]
75
-
76
- === Further Reading
77
-
78
- include::{includedir}/parts.asciidoc[tag=further_reading_100_meet_and_greet_jekyll]
79
- /////
@@ -1,77 +0,0 @@
1
- ---
2
- title: Web in a Day
3
- tagline: preparations
4
- date: 2018-05-01 00:00:00
5
- description: >
6
- Modern static website in a day
7
-
8
- tags: [ Preparations ]
9
- categories: [ Jekyll, Knowledge, Tutorial ]
10
-
11
- permalink: /pages/public/learn/kickstarter/web_in_a_day/preparations/
12
- regenerate: false
13
-
14
- resources: [ lightbox, carousel, fam ]
15
- resource_options:
16
- - attic:
17
- padding_top: 400
18
- padding_bottom: 50
19
- opacity: 0.5
20
- slides:
21
- - url: /assets/images/pages/kickstarter/web_in_a_day/get-started-1920x1280-bw.jpg
22
- alt: Photo by JESHOOTS.COM on Unsplash
23
- alignY: top
24
- badge:
25
- type: unsplash
26
- author: JESHOOTS.COM
27
- href: https://unsplash.com/@jeshoots/portfolio
28
- ---
29
-
30
- // Page Initializer
31
- // =============================================================================
32
- // Enable the Liquid Preprocessor
33
- :page-liquid:
34
-
35
- // Set page (local) attributes here
36
- // -----------------------------------------------------------------------------
37
- // :page--attr: <attr-value>
38
-
39
- // Load Liquid procedures
40
- // -----------------------------------------------------------------------------
41
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
42
-
43
- // Load page attributes
44
- // -----------------------------------------------------------------------------
45
- {% include {{load_attributes}} scope="all" %}
46
-
47
-
48
- // Page content
49
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
-
51
- // Include sub-documents
52
- // -----------------------------------------------------------------------------
53
- include::{documentdir}/200_preparations.asciidoc[]
54
-
55
- == Summarize!
56
-
57
- include::{includedir}/parts.asciidoc[tag=summarize]
58
-
59
- === Recap
60
-
61
- include::{includedir}/parts.asciidoc[tag=recap_200_preparations]
62
-
63
- === Whats Next
64
-
65
- include::{includedir}/parts.asciidoc[tag=whats_next_200_preparations]
66
-
67
-
68
-
69
- /////
70
- === All Chapters
71
-
72
- include::{includedir}/parts.asciidoc[tag=chapters_200_oauth_overview]
73
-
74
- === Further Reading
75
-
76
- include::{includedir}/parts.asciidoc[tag=further_reading_200_preparations]
77
- /////