j1-template 2021.1.26 → 2021.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_article_navigator.html +1 -1
  3. data/_includes/themes/j1/layouts/content_generator_blog_archive.html +6 -4
  4. data/_includes/themes/j1/layouts/content_generator_post.html +3 -0
  5. data/_includes/themes/j1/modules/navigator/generator.html +1 -1
  6. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +1 -1
  7. data/_includes/themes/j1/procedures/posts/create_series_header.proc +6 -6
  8. data/_layouts/default.html +1 -0
  9. data/assets/data/mdil_icons.json +2417 -0
  10. data/assets/data/panel.html +0 -15
  11. data/assets/themes/j1/adapter/js/j1.js +6 -6
  12. data/assets/themes/j1/adapter/js/j1scroll.js +143 -46
  13. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.css +1222 -0
  14. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +1 -0
  15. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +1 -1
  16. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +42 -0
  17. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  18. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/eot/materialdesignicons-light-webfont.eot +0 -0
  19. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff +0 -0
  20. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/materialdesignicons-light-webfont.woff2 +0 -0
  21. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/svg/materialdesignicons-light-webfont.svg +801 -0
  22. data/assets/themes/j1/core/fonts/material_design_icons_light/fonts/ttf/materialdesignicons-light-webfont.ttf +0 -0
  23. data/assets/themes/j1/core/js/template.js +4 -4
  24. data/assets/themes/j1/core/js/template.js.map +1 -1
  25. data/assets/themes/j1/core/js/template.min.js +4 -4
  26. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  27. data/assets/themes/j1/modules/j1Scroll/css/theme/uno.css +4 -50
  28. data/assets/themes/j1/modules/j1Scroll/css/theme/uno.min.css +1 -1
  29. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.js +263 -188
  30. data/assets/themes/j1/modules/j1Scroll/js/j1scroll.min.js +16 -0
  31. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +1 -1
  32. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  33. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +5 -15
  34. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
  35. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.css +97 -0
  36. data/assets/themes/j1/modules/mdilPreviewer/css/previewer.min.css +15 -0
  37. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.js +125 -0
  38. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +15 -0
  39. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.js +73 -74
  40. data/assets/themes/j1/modules/showOnScroll/js/showOnScroll.min.js +15 -15
  41. data/lib/j1/commands/generate.rb +5 -8
  42. data/lib/j1/version.rb +3 -3
  43. data/lib/starter_web/Gemfile +1 -1
  44. data/lib/starter_web/_config.yml +3 -3
  45. data/lib/starter_web/_data/blocks/banner.yml +4 -5
  46. data/lib/starter_web/_data/blocks/panel.yml +217 -183
  47. data/lib/starter_web/_data/builder/blog_navigator.yml +1 -0
  48. data/lib/starter_web/_data/layouts/home.yml +20 -16
  49. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  50. data/lib/starter_web/_data/modules/j1scroll.yml +67 -0
  51. data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
  52. data/lib/starter_web/_data/resources.yml +41 -44
  53. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  54. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  55. data/lib/starter_web/assets/images/modules/attics/annie-spratt-1920x1280.jpg +0 -0
  56. data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
  57. data/lib/starter_web/assets/images/modules/attics/humble-lamb-1920x1280.jpg +0 -0
  58. data/lib/starter_web/assets/images/modules/attics/library-1920x1280.jpg +0 -0
  59. data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
  60. data/lib/starter_web/assets/images/modules/attics/sigmund-1920x1280.jpg +0 -0
  61. data/lib/starter_web/assets/images/{pages/videos → modules/attics}/szabo-viktor-1920x1280.jpg +0 -0
  62. data/lib/starter_web/assets/images/pages/asciidoc_skeletons/example-pdf-screenshot.png +0 -0
  63. data/lib/starter_web/collections/posts/public/featured/_posts/{2020-01-01-about-cookies.adoc → 2021-01-01-about-cookies.adoc} +0 -0
  64. data/lib/starter_web/collections/posts/public/featured/_posts/{2021-03-01-site-generators.adoc → 2021-02-01-site-generators.adoc} +0 -0
  65. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-20-minneapolis.adoc → series/_posts/2020-01-01-post-wiki-series.adoc} +11 -10
  66. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc → series/_posts/2020-01-02-post-wiki-series.adoc} +15 -13
  67. data/lib/starter_web/collections/posts/public/{wikipedia/_posts/2016-11-26-columbia-river.adoc → series/_posts/2020-01-03-post-wiki-series.adoc} +28 -11
  68. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/attributes.asciidoc +0 -0
  69. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/documents/readme +0 -0
  70. data/lib/starter_web/collections/posts/public/{wikipedia → series}/_posts/_includes/tables/readme +0 -0
  71. data/lib/starter_web/index.html +2 -2
  72. data/lib/starter_web/package.json +1 -1
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/000_intro.adoc +5 -7
  74. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +43 -0
  75. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +61 -0
  76. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/attributes.asciidoc +95 -0
  77. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/000_intro.asciidoc +54 -0
  78. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/000_basic_example.asciidoc +31 -0
  79. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/111_about_the_converter.asciidoc +111 -0
  80. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/112_getting_started.asciidoc +95 -0
  81. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter/113_themes.asciidoc +39 -0
  82. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/100_converter.asciidoc +8 -0
  83. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/211_language_overview.asciidoc +122 -0
  84. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/212_values.asciidoc +502 -0
  85. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes/213_fonts.asciidoc +261 -0
  86. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/_includes/documents/200_themes.asciidoc +8 -0
  87. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.bat +1 -1
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/{book → documentation}/a2p.sh +2 -2
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/{book/book.a2p → documentation/documentation.a2p} +2 -8
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +86 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +848 -40
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +149 -38
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +2 -7
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +312 -119
  95. data/lib/starter_web/pages/public/blog/navigator/index.html +3 -2
  96. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +2 -2
  97. data/lib/starter_web/pages/public/previewer/mdil_icons_preview.adoc +76 -0
  98. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  99. data/lib/starter_web/utilsrv/package.json +1 -1
  100. metadata +52 -59
  101. data/assets/themes/j1/adapter/js/infiniteScroll.js +0 -259
  102. data/assets/themes/j1/modules/infiniteScroll/css/theme/uno.css +0 -150
  103. data/assets/themes/j1/modules/infiniteScroll/css/theme/uno.min.css +0 -15
  104. data/assets/themes/j1/modules/infiniteScroll/js/infiniteScroll.js +0 -1915
  105. data/assets/themes/j1/modules/infiniteScroll/js/infiniteScroll.min.js +0 -17
  106. data/lib/starter_web/_data/modules/defaults/infiniteScroll.yml +0 -73
  107. data/lib/starter_web/_data/modules/infiniteScroll.yml +0 -66
  108. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +0 -128
  109. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +0 -131
  110. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +0 -131
  111. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +0 -132
  112. data/lib/starter_web/pages/infinite-scroll-tester-5.adoc +0 -119
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +0 -11
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +0 -23
  115. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +0 -5
  116. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +0 -7
  117. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +0 -9
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +0 -3
  119. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +0 -6
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +0 -12
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +0 -30
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +0 -16
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +0 -25
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +0 -62
  125. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +0 -64
  126. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +0 -73
  127. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +0 -74
  128. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +0 -33
  129. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +0 -21
  130. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +0 -36
  131. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +0 -7
  132. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +0 -53
  133. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +0 -5
  134. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +0 -23
  135. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +0 -33
  136. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +0 -26
  137. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +0 -81
  138. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +0 -23
  139. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
  140. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +0 -136
  141. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +0 -60
  142. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +0 -59
  143. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +0 -102
@@ -1,17 +0,0 @@
1
- /*!
2
- * Infinite Scroll PACKAGED v4.0.1
3
- * Automatically add next page
4
- *
5
- * Licensed GPLv3 for open source use
6
- * or Infinite Scroll Commercial License for commercial use
7
- *
8
- * https://infinite-scroll.com
9
- * Copyright 2018-2020 Metafizzy
10
- */
11
- !function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,(function(t,e){let i=t.console,n=void 0===i?function(){}:function(t){i.error(t)};return function(i,o,s){(s=s||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){t&&(this.options=Object.assign(this.options||{},t))}),s.fn[i]=function(t,...e){return"string"==typeof t?function(t,e,o){let r,l=`$().${i}("${e}")`;return t.each((function(t,h){let a=s.data(h,i);if(!a)return void n(`${i} not initialized. Cannot call method ${l}`);let c=a[e];if(!c||"_"==e.charAt(0))return void n(`${l} is not a valid method`);let u=c.apply(a,o);r=void 0===r?u:r})),void 0!==r?r:t}(this,t,e):(r=t,this.each((function(t,e){let n=s.data(e,i);n?(n.option(r),n._init()):(n=new o(e,r),s.data(e,i,n))})),this);var r})}})),function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},n=i[t]=i[t]||[];return n.includes(e)||n.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let n=i.indexOf(e);return-1!=n&&i.splice(n,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let n=this._onceEvents&&this._onceEvents[t];for(let o of i){n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t):t.fizzyUIUtils=e(t)}(this,(function(t){let e={extend:function(t,e){return Object.assign(t,e)},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){if(Array.isArray(t))return t;if(null==t)return[];return"object"==typeof t&&"number"==typeof t.length?[...t]:[t]},removeFrom:function(t,e){let i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if((t=t.parentNode).matches(e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){let e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,i){return(t=e.makeArray(t)).filter((t=>t instanceof HTMLElement)).reduce(((t,e)=>{if(!i)return t.push(e),t;e.matches(i)&&t.push(e);let n=e.querySelectorAll(i);return t=t.concat(...n)}),[])},debounceMethod:function(t,e,i){i=i||100;let n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){clearTimeout(this[o]);let t=arguments;this[o]=setTimeout((()=>{n.apply(this,t),delete this[o]}),i)}},docReady:function(t){let e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()}},i=t.console;return e.htmlInit=function(n,o){e.docReady((function(){let s="data-"+e.toDashed(o),r=document.querySelectorAll(`[${s}]`),l=t.jQuery;[...r].forEach((t=>{let e,r=t.getAttribute(s);try{e=r&&JSON.parse(r)}catch(e){return void(i&&i.error(`Error parsing ${s} on ${t.className}: ${e}`))}let h=new n(t,e);l&&l.data(t,o,h)}))}))},e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("fizzy-ui-utils")):t.InfiniteScroll=e(t,t.EvEmitter,t.fizzyUIUtils)}(window,(function(t,e,i){let n=t.jQuery,o={};function s(t,e){let r=i.getQueryElement(t);if(r){if((t=r).infiniteScrollGUID){let i=o[t.infiniteScrollGUID];return i.option(e),i}this.element=t,this.options={...s.defaults},this.option(e),n&&(this.$element=n(this.element)),this.create()}else console.error("Bad element for InfiniteScroll: "+(r||t))}s.defaults={},s.create={},s.destroy={};let r=s.prototype;Object.assign(r,e.prototype);let l=0;r.create=function(){let t=this.guid=++l;if(this.element.infiniteScrollGUID=t,o[t]=this,this.pageIndex=1,this.loadCount=0,this.updateGetPath(),this.getPath&&this.getPath()){this.updateGetAbsolutePath(),this.log("initialized",[this.element.className]),this.callOnInit();for(let t in s.create)s.create[t].call(this)}else console.error("Disabling InfiniteScroll")},r.option=function(t){Object.assign(this.options,t)},r.callOnInit=function(){let t=this.options.onInit;t&&t.call(this,this)},r.dispatchEvent=function(t,e,i){this.log(t,i);let o=e?[e].concat(i):i;if(this.emitEvent(t,o),!n||!this.$element)return;let s=t+=".infiniteScroll";if(e){let i=n.Event(e);i.type=t,s=i}this.$element.trigger(s,i)};let h={initialized:t=>`on ${t}`,request:t=>`URL: ${t}`,load:(t,e)=>`${t.title||""}. URL: ${e}`,error:(t,e)=>`${t}. URL: ${e}`,append:(t,e,i)=>`${i.length} items. URL: ${e}`,last:(t,e)=>`URL: ${e}`,history:(t,e)=>`URL: ${e}`,pageIndex:function(t,e){return`current page determined to be: ${t} from ${e}`}};r.log=function(t,e){if(!this.options.debug)return;let i=`[InfiniteScroll] ${t}`,n=h[t];n&&(i+=". "+n.apply(this,e)),console.log(i)},r.updateMeasurements=function(){this.windowHeight=t.innerHeight;let e=this.element.getBoundingClientRect();this.top=e.top+t.scrollY},r.updateScroller=function(){let e=this.options.elementScroll;if(e){if(this.scroller=!0===e?this.element:i.getQueryElement(e),!this.scroller)throw new Error(`Unable to find elementScroll: ${e}`)}else this.scroller=t},r.updateGetPath=function(){let t=this.options.path;if(!t)return void console.error(`InfiniteScroll path option required. Set as: ${t}`);let e=typeof t;"function"!=e?"string"==e&&t.match("{{#}}")?this.updateGetPathTemplate(t):this.updateGetPathSelector(t):this.getPath=t},r.updateGetPathTemplate=function(t){this.getPath=()=>{let e=this.pageIndex+1;return t.replace("{{#}}",e)};let e=t.replace(/(\\\?|\?)/,"\\?").replace("{{#}}","(\\d\\d?\\d?)"),i=new RegExp(e),n=location.href.match(i);n&&(this.pageIndex=parseInt(n[1],10),this.log("pageIndex",[this.pageIndex,"template string"]))};let a=[/^(.*?\/?page\/?)(\d\d?\d?)(.*?$)/,/^(.*?\/?\?page=)(\d\d?\d?)(.*?$)/,/(.*?)(\d\d?\d?)(?!.*\d)(.*?$)/],c=s.getPathParts=function(t){if(t)for(let e of a){let i=t.match(e);if(i){let[,t,e,n]=i;return{begin:t,index:e,end:n}}}};r.updateGetPathSelector=function(t){let e=document.querySelector(t);if(!e)return void console.error(`Bad InfiniteScroll path option. Next link not found: ${t}`);let i=e.getAttribute("href"),n=c(i);if(!n)return void console.error(`InfiniteScroll unable to parse next link href: ${i}`);let{begin:o,index:s,end:r}=n;this.isPathSelector=!0,this.getPath=()=>o+(this.pageIndex+1)+r,this.pageIndex=parseInt(s,10)-1,this.log("pageIndex",[this.pageIndex,"next link"])},r.updateGetAbsolutePath=function(){let t=this.getPath();if(t.match(/^http/)||t.match(/^\//))return void(this.getAbsolutePath=this.getPath);let{pathname:e}=location,i=t.match(/^\?/),n=e.substring(0,e.lastIndexOf("/")),o=i?e:n+"/";this.getAbsolutePath=()=>o+this.getPath()},s.create.hideNav=function(){let t=i.getQueryElement(this.options.hideNav);t&&(t.style.display="none",this.nav=t)},s.destroy.hideNav=function(){this.nav&&(this.nav.style.display="")},r.destroy=function(){this.allOff();for(let t in s.destroy)s.destroy[t].call(this);delete this.element.infiniteScrollGUID,delete o[this.guid],n&&this.$element&&n.removeData(this.element,"infiniteScroll")},s.throttle=function(t,e){let i,n;return e=e||200,function(){let o=+new Date,s=arguments,r=()=>{i=o,t.apply(this,s)};i&&o<i+e?(clearTimeout(n),n=setTimeout(r,e)):r()}},s.data=function(t){let e=(t=i.getQueryElement(t))&&t.infiniteScrollGUID;return e&&o[e]},s.setJQuery=function(t){n=t},i.htmlInit(s,"infinite-scroll"),r._init=function(){};let{jQueryBridget:u}=t;return n&&u&&u("infiniteScroll",s,n),s})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core")):e(t,t.InfiniteScroll)}(window,(function(t,e){let i=e.prototype;Object.assign(e.defaults,{loadOnScroll:!0,checkLastPage:!0,responseBody:"text",domParseResponse:!0}),e.create.pageLoad=function(){this.canLoad=!0,this.on("scrollThreshold",this.onScrollThresholdLoad),this.on("load",this.checkLastPage),this.options.outlayer&&this.on("append",this.onAppendOutlayer)},i.onScrollThresholdLoad=function(){this.options.loadOnScroll&&this.loadNextPage()};let n=new DOMParser;function o(t){let e=document.createDocumentFragment();return t&&e.append(...t),e}return i.loadNextPage=function(){if(this.isLoading||!this.canLoad)return;let{responseBody:t,domParseResponse:e,fetchOptions:i}=this.options,o=this.getAbsolutePath();this.isLoading=!0,"function"==typeof i&&(i=i());let s=fetch(o,i).then((i=>{if(!i.ok){let t=new Error(i.statusText);return this.onPageError(t,o,i),{response:i}}return i[t]().then((s=>("text"==t&&e&&(s=n.parseFromString(s,"text/html")),204==i.status?(this.lastPageReached(s,o),{body:s,response:i}):this.onPageLoad(s,o,i))))})).catch((t=>{this.onPageError(t,o)}));return this.dispatchEvent("request",null,[o,s]),s},i.onPageLoad=function(t,e,i){return this.options.append||(this.isLoading=!1),this.pageIndex++,this.loadCount++,this.dispatchEvent("load",null,[t,e,i]),this.appendNextPage(t,e,i)},i.appendNextPage=function(t,e,i){let{append:n,responseBody:s,domParseResponse:r}=this.options;if(!("text"==s&&r)||!n)return{body:t,response:i};let l=t.querySelectorAll(n),h={body:t,response:i,items:l};if(!l||!l.length)return this.lastPageReached(t,e),h;let a=o(l),c=()=>(this.appendItems(l,a),this.isLoading=!1,this.dispatchEvent("append",null,[t,e,l,i]),h);return this.options.outlayer?this.appendOutlayerItems(a,c):c()},i.appendItems=function(t,e){t&&t.length&&(function(t){let e=t.querySelectorAll("script");for(let t of e){let e=document.createElement("script"),i=t.attributes;for(let t of i)e.setAttribute(t.name,t.value);e.innerHTML=t.innerHTML,t.parentNode.replaceChild(e,t)}}(e=e||o(t)),this.element.appendChild(e))},i.appendOutlayerItems=function(i,n){let o=e.imagesLoaded||t.imagesLoaded;return o?new Promise((function(t){o(i,(function(){let e=n();t(e)}))})):(console.error("[InfiniteScroll] imagesLoaded required for outlayer option"),void(this.isLoading=!1))},i.onAppendOutlayer=function(t,e,i){this.options.outlayer.appended(i)},i.checkLastPage=function(t,e){let i,{checkLastPage:n,path:o}=this.options;if(n){if("function"==typeof o){if(!this.getPath())return void this.lastPageReached(t,e)}"string"==typeof n?i=n:this.isPathSelector&&(i=o),i&&t.querySelector&&(t.querySelector(i)||this.lastPageReached(t,e))}},i.lastPageReached=function(t,e){this.canLoad=!1,this.dispatchEvent("last",null,[t,e])},i.onPageError=function(t,e,i){return this.isLoading=!1,this.canLoad=!1,this.dispatchEvent("error",null,[t,e,i]),t},e.create.prefill=function(){if(!this.options.prefill)return;let t=this.options.append;t?(this.updateMeasurements(),this.updateScroller(),this.isPrefilling=!0,this.on("append",this.prefill),this.once("error",this.stopPrefill),this.once("last",this.stopPrefill),this.prefill()):console.error(`append option required for prefill. Set as :${t}`)},i.prefill=function(){let t=this.getPrefillDistance();this.isPrefilling=t>=0,this.isPrefilling?(this.log("prefill"),this.loadNextPage()):this.stopPrefill()},i.getPrefillDistance=function(){return this.options.elementScroll?this.scroller.clientHeight-this.scroller.scrollHeight:this.windowHeight-this.element.clientHeight},i.stopPrefill=function(){this.log("stopPrefill"),this.off("append",this.prefill)},e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){let n=e.prototype;return Object.assign(e.defaults,{scrollThreshold:400}),e.create.scrollWatch=function(){this.pageScrollHandler=this.onPageScroll.bind(this),this.resizeHandler=this.onResize.bind(this);let t=this.options.scrollThreshold;(t||0===t)&&this.enableScrollWatch()},e.destroy.scrollWatch=function(){this.disableScrollWatch()},n.enableScrollWatch=function(){this.isScrollWatching||(this.isScrollWatching=!0,this.updateMeasurements(),this.updateScroller(),this.on("last",this.disableScrollWatch),this.bindScrollWatchEvents(!0))},n.disableScrollWatch=function(){this.isScrollWatching&&(this.bindScrollWatchEvents(!1),delete this.isScrollWatching)},n.bindScrollWatchEvents=function(e){let i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.pageScrollHandler),t[i]("resize",this.resizeHandler)},n.onPageScroll=e.throttle((function(){this.getBottomDistance()<=this.options.scrollThreshold&&this.dispatchEvent("scrollThreshold")})),n.getBottomDistance=function(){let e,i;return this.options.elementScroll?(e=this.scroller.scrollHeight,i=this.scroller.scrollTop+this.scroller.clientHeight):(e=this.top+this.element.clientHeight,i=t.scrollY+this.windowHeight),e-i},n.onResize=function(){this.updateMeasurements()},i.debounceMethod(e,"onResize",150),e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){let n=e.prototype;Object.assign(e.defaults,{history:"replace"});let o=document.createElement("a");return e.create.history=function(){if(!this.options.history)return;o.href=this.getAbsolutePath(),(o.origin||o.protocol+"//"+o.host)==location.origin?this.options.append?this.createHistoryAppend():this.createHistoryPageLoad():console.error(`[InfiniteScroll] cannot set history with different origin: ${o.origin} on ${location.origin} . History behavior disabled.`)},n.createHistoryAppend=function(){this.updateMeasurements(),this.updateScroller(),this.scrollPages=[{top:0,path:location.href,title:document.title}],this.scrollPage=this.scrollPages[0],this.scrollHistoryHandler=this.onScrollHistory.bind(this),this.unloadHandler=this.onUnload.bind(this),this.scroller.addEventListener("scroll",this.scrollHistoryHandler),this.on("append",this.onAppendHistory),this.bindHistoryAppendEvents(!0)},n.bindHistoryAppendEvents=function(e){let i=e?"addEventListener":"removeEventListener";this.scroller[i]("scroll",this.scrollHistoryHandler),t[i]("unload",this.unloadHandler)},n.createHistoryPageLoad=function(){this.on("load",this.onPageLoadHistory)},e.destroy.history=n.destroyHistory=function(){this.options.history&&this.options.append&&this.bindHistoryAppendEvents(!1)},n.onAppendHistory=function(t,e,i){if(!i||!i.length)return;let n=i[0],s=this.getElementScrollY(n);o.href=e,this.scrollPages.push({top:s,path:o.href,title:t.title})},n.getElementScrollY=function(e){if(this.options.elementScroll)return e.offsetTop-this.top;return e.getBoundingClientRect().top+t.scrollY},n.onScrollHistory=function(){let t=this.getClosestScrollPage();t!=this.scrollPage&&(this.scrollPage=t,this.setHistory(t.title,t.path))},i.debounceMethod(e,"onScrollHistory",150),n.getClosestScrollPage=function(){let e,i;e=this.options.elementScroll?this.scroller.scrollTop+this.scroller.clientHeight/2:t.scrollY+this.windowHeight/2;for(let t of this.scrollPages){if(t.top>=e)break;i=t}return i},n.setHistory=function(t,e){let i=this.options.history;i&&history[i+"State"]&&(history[i+"State"](null,t,e),this.options.historyTitle&&(document.title=t),this.dispatchEvent("history",null,[t,e]))},n.onUnload=function(){if(0===this.scrollPage.top)return;let e=t.scrollY-this.scrollPage.top+this.top;this.destroyHistory(),scrollTo(0,e)},n.onPageLoadHistory=function(t,e){this.setHistory(t.title,e)},e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){class n{constructor(t,e){this.element=t,this.infScroll=e,this.clickHandler=this.onClick.bind(this),this.element.addEventListener("click",this.clickHandler),e.on("request",this.disable.bind(this)),e.on("load",this.enable.bind(this)),e.on("error",this.hide.bind(this)),e.on("last",this.hide.bind(this))}onClick(t){t.preventDefault(),this.infScroll.loadNextPage()}enable(){this.element.removeAttribute("disabled")}disable(){this.element.disabled="disabled"}hide(){this.element.style.display="none"}destroy(){this.element.removeEventListener("click",this.clickHandler)}}return e.create.button=function(){let t=i.getQueryElement(this.options.button);t&&(this.button=new n(t,this))},e.destroy.button=function(){this.button&&this.button.destroy()},e.Button=n,e})),function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("./core"),require("fizzy-ui-utils")):e(t,t.InfiniteScroll,t.fizzyUIUtils)}(window,(function(t,e,i){let n=e.prototype;function o(t){r(t,"none")}function s(t){r(t,"block")}function r(t,e){t&&(t.style.display=e)}return e.create.status=function(){let t=i.getQueryElement(this.options.status);t&&(this.statusElement=t,this.statusEventElements={request:t.querySelector(".infinite-scroll-request"),error:t.querySelector(".infinite-scroll-error"),last:t.querySelector(".infinite-scroll-last")},this.on("request",this.showRequestStatus),this.on("error",this.showErrorStatus),this.on("last",this.showLastStatus),this.bindHideStatus("on"))},n.bindHideStatus=function(t){let e=this.options.append?"append":"load";this[t](e,this.hideAllStatus)},n.showRequestStatus=function(){this.showStatus("request")},n.showErrorStatus=function(){this.showStatus("error")},n.showLastStatus=function(){this.showStatus("last"),this.bindHideStatus("off")},n.showStatus=function(t){s(this.statusElement),this.hideStatusEventElements(),s(this.statusEventElements[t])},n.hideAllStatus=function(){o(this.statusElement),this.hideStatusEventElements()},n.hideStatusEventElements=function(){for(let t in this.statusEventElements){o(this.statusEventElements[t])}},e})),
12
- /*!
13
- * imagesLoaded v4.1.4
14
- * JavaScript is all like "You images are done yet or what?"
15
- * MIT License
16
- */
17
- function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],(function(i){return e(t,i)})):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){"use strict";var i=t.jQuery,n=t.console;function o(t,e){for(var i in e)t[i]=e[i];return t}var s=Array.prototype.slice;function r(t,e,l){if(!(this instanceof r))return new r(t,e,l);var h,a=t;("string"==typeof t&&(a=document.querySelectorAll(t)),a)?(this.elements=(h=a,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?s.call(h):[h]),this.options=o({},this.options),"function"==typeof e?l=e:o(this.options,e),l&&this.on("always",l),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(a||t))}r.prototype=Object.create(e.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var s=t.querySelectorAll(this.options.background);for(n=0;n<s.length;n++){var r=s[n];this.addElementBackgroundImages(r)}}}};var l={1:!0,9:!0,11:!0};function h(t){this.img=t}function a(t,e){this.url=t,this.element=e,this.img=new Image}return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new h(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new a(t,e);this.images.push(i)},r.prototype.check=function(){var t=this;function e(e,i,n){setTimeout((function(){t.progress(e,i,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},h.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype=Object.create(h.prototype),a.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},a.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(i(this))})},r.makeJQueryPlugin(),r}));
@@ -1,73 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/infiniteScroll.yml
3
- # User configuration for J1 infiniteScroll
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2021 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
12
- # ------------------------------------------------------------------------------
13
-
14
- # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
16
- #
17
- about_config:
18
-
19
- title: infiniteScroll
20
- scope: Default settings
21
- location: _data/modules/defaults/infiniteScroll.yml
22
-
23
- # ------------------------------------------------------------------------------
24
- # Default configuration settings
25
- #
26
- settings:
27
-
28
- # ----------------------------------------------------------------------------
29
- # GENERAL gallery settings
30
- #
31
- # enabled
32
- # ----------------------------------------------------------------------------
33
- # Enables|Disables the use of a gallery
34
- #
35
- # xhr_data_path
36
- # ----------------------------------------------------------------------------
37
- # All data items displayed by a gallery are being read from a
38
- # JSON file automatically generated from that configuration.
39
- # AJAX get method is used to supply the gallery with respective
40
- # the HTML code at the time the gallery is initialized (by the
41
- # J1 Adapter for J1 Justified Gallery).
42
- #
43
- # values: string
44
- # default: /assets/data/galleries.json
45
- #
46
- # instance_type
47
- # ----------------------------------------------------------------------------
48
- # Specifies if a modules can be run as a single instance
49
- # (only) or run in multiple instances.
50
- #
51
- # NOTE: The parameter instance_type controls how MODULE runner
52
- # manages configuration options.
53
- #
54
- # values: single|multiple
55
- # default: single
56
- #
57
- # rowHeight
58
- # ----------------------------------------------------------------------------
59
- # All data items displayed by a gallery are being read from a
60
- # JSON file automatically generated from that configuration.
61
- #
62
- # values: string
63
- # default: /assets/data/galleries.json
64
- #
65
- # ----------------------------------------------------------------------------
66
-
67
- enabled: false
68
- history: false
69
- checkLastPage: true
70
- check_status: true
71
-
72
- # ------------------------------------------------------------------------------
73
- # END config
@@ -1,66 +0,0 @@
1
- # ------------------------------------------------------------------------------
2
- # ~/_data/modules/infiniteScroll.yml
3
- # User configuration for J1 infiniteScroll
4
- #
5
- # Product/Info:
6
- # https://jekyll.one
7
- #
8
- # Copyright (C) 2021 Juergen Adams
9
- #
10
- # J1 Template is licensed under the MIT License.
11
- # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
12
- # ------------------------------------------------------------------------------
13
-
14
- # ------------------------------------------------------------------------------
15
- # About this configuration (used for J1 CC only)
16
- #
17
- about_config:
18
-
19
- title: infiniteScroll
20
- scope: User settings
21
- location: _data/modules/infiniteScroll.yml
22
-
23
- # ------------------------------------------------------------------------------
24
- # User configuration settings
25
- #
26
- settings:
27
- enabled: true
28
-
29
- scrollers:
30
-
31
- # ==========================================================================
32
- # Image Galleries
33
- #
34
-
35
- # --------------------------------------------------------------------------
36
- # News Panel
37
- #
38
- - scroller:
39
- enabled: true
40
- id: home_news_panel
41
- data_path: /assets/data/news_panel_posts
42
- pages: "page${pageNumber}/index.html"
43
- lastPage: 4
44
- history: false
45
- scrollThreshold: 10
46
- scrollOffset: 470
47
- checkLastPage: true
48
- check_status: true
49
-
50
- # --------------------------------------------------------------------------
51
- # Article Navigator
52
- #
53
- - scroller:
54
- enabled: true
55
- id: article_navigator
56
- data_path: /assets/data/article_navigator
57
- pages: "page${pageNumber}/index.html"
58
- lastPage: 4
59
- history: false
60
- scrollThreshold: 10
61
- scrollOffset: 470
62
- checkLastPage: true
63
- check_status: true
64
-
65
- # ------------------------------------------------------------------------------
66
- # END config
@@ -1,128 +0,0 @@
1
- ---
2
- title: Series Post 1
3
- tagline: testing series elements
4
-
5
- categories: [ Examples ]
6
- tags: [ Series, Test ]
7
-
8
- series: test-series
9
- image: /assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg
10
- regenerate: false
11
-
12
- resources: []
13
- resource_options:
14
- - toccer:
15
- collapseDepth: 3
16
- - attic:
17
- padding_top: 400
18
- padding_bottom: 50
19
- opacity: 0.5
20
- slides:
21
- - url: /assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg
22
- alt: admin-dashboard-bootstrap
23
- ---
24
-
25
- // Page Initializer
26
- // =============================================================================
27
- // Enable the Liquid Preprocessor
28
- :page-liquid:
29
-
30
- // Set (local) page attributes here
31
- // -----------------------------------------------------------------------------
32
- // :page--attr: <attr-value>
33
-
34
- // Place an excerpt at the most top position
35
- // -----------------------------------------------------------------------------
36
- [role="dropcap mt-3"]
37
- This post is a *test series element*. Post series can help to split larger
38
- posts into a group of smaller articles. This may helpful, if a large post
39
- should be split into several *main chapters* but grouped together.
40
-
41
- excerpt__end
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="none" %}
50
-
51
-
52
- // Page content
53
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
-
55
- // Include sub-documents
56
- // -----------------------------------------------------------------------------
57
-
58
- == The Extremes of Good and Evil
59
-
60
- .Release Loeb Classical Library, Harvard University Press, edition, 1931
61
- The title *About the Ends of Goods and Evils* requires explanation. It was
62
- Aristotle who put the ethical problem in the form of the question, What is the
63
- T𝜆o or End, the supreme end of man’s endeavour, in the attainment of which his
64
- Good or Well-being lies?
65
-
66
- For Aristotle, Telos connoted not only *aim*, but *completion*; and he found
67
- the answer to his question in the complete development and right exercise of
68
- the faculties of man’s nature, and particularly of the distinctively human
69
- faculty of Reason. The life of the Intellect was the Best, the Chief Good; and
70
- lesser Goods were Means to the attainment of this End.
71
-
72
- Thus was introduced the notion of an ascending scale of Goods, and this affected
73
- the interpretation of the term Telos. Telos came to be understood as denoting
74
- not so much the end or aim of endeavour as the end or extreme point of a series,
75
- the topmost good. To this was naturally opposed an extreme of minus value,
76
- the topmost, or rather bottommost, evil.
77
-
78
- Hence arose the expressions 𝜏𝜆o 𝛾𝛼𝜃𝜈, 𝜏𝜆o 𝜅𝛼𝜅𝜈, *End of Goods, of Evils*, which
79
- occur in Philodemus, Rhetoric I, 218.8 ff. (Südhans), and are translated by
80
- Cicero finis bonorum et malorum.
81
-
82
- As a title for his book he throws this phrase into the plural, meaning
83
- *different views as to the Chief Good and Evil*. Hence in title and to some
84
- extent in method, the de Finibus may be compared with such modern works a
85
- Martineau’s Types of Ethical Theory and Sidgwick’s Methods of Ethics.
86
-
87
- [quote, Cicero · Paragraph 1.10.32, Translation by H. Rackham · Issue 1914 - De Finibus]
88
- ____
89
- But I must explain to you how all this mistaken idea of denouncing
90
- pleasure and praising pain was born and I will give you a complete
91
- account of the system, and expound the actual teachings of the great
92
- explorer of the truth, the master-builder of human happiness.
93
-
94
- No one rejects, dislikes, or avoids pleasure itself, because it is
95
- pleasure, but because those who do not know how to pursue pleasure
96
- rationally encounter consequences that are extremely painful. Nor
97
- again is there anyone who loves or pursues or desires to obtain pain
98
- of itself, because it is pain, but because occasionally circumstances
99
- occur in which toil and pain can procure him some great pleasure.
100
-
101
- To take a trivial example, which of us ever undertakes laborious
102
- physical exercise, except to obtain some advantage from it? But who
103
- has any right to find fault with a man who chooses to enjoy a pleasure
104
- that has no annoying consequences, or one who avoids a pain that
105
- produces no resultant pleasure?
106
- ____
107
-
108
- This he sets out to prove as follows: every animal, as soon as it is born,
109
- seeks for pleasure, and delights in it as the Chief Good, while it recoils
110
- from pain as the Chief Evil, and so far as possible avoids it. This it does
111
- as long as it remains unperverted, at the prompting of Nature’s own unbiased
112
- and honest verdict.
113
-
114
- Hence Epicurus refuses to admit any necessity for argument or discussion to
115
- prove that pleasure is desirable and pain to be avoided. These facts, he
116
- thinks, are perceived by the senses, as that fire is hot, snow white, honey
117
- sweet, none of which things need be proved by elaborate argument: it is enough
118
- merely to draw attention to them.
119
-
120
- For there is a difference, he holds, between formal syllogistic proof of a
121
- thing and a mere notice or reminder: the former is the method for discovering
122
- abstruse and recondite truths, the latter for indicating facts that are obvious
123
- and evident.
124
-
125
- Strip mankind of sensation, and nothing remains; it follows that Nature herself
126
- is the judge of that which is in accordance with or contrary to nature. What
127
- does Nature perceive or what does she judge of, beside pleasure and pain, to
128
- guide her actions of desire and of avoidance?
@@ -1,131 +0,0 @@
1
- ---
2
- title: Series Post 2
3
- tagline: testing series elements
4
-
5
- categories: [ Examples ]
6
- tags: [ Series, Test ]
7
-
8
- series: test-series
9
- image: /assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg
10
-
11
- regenerate: false
12
-
13
- resources: []
14
- resource_options:
15
- - toccer:
16
- collapseDepth: 3
17
- - attic:
18
- padding_top: 400
19
- padding_bottom: 50
20
- opacity: 0.5
21
- slides:
22
- - url: /assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg
23
- alt: admin-dashboard-bootstrap
24
- ---
25
-
26
- // Page Initializer
27
- // =============================================================================
28
- // Enable the Liquid Preprocessor
29
- :page-liquid:
30
-
31
- // Set (local) page attributes here
32
- // -----------------------------------------------------------------------------
33
- // :page--attr: <attr-value>
34
-
35
- // Place an excerpt at the most top position
36
- // -----------------------------------------------------------------------------
37
- [role="dropcap mt-3"]
38
- This post is a *test series element*. Post series can help to split larger
39
- posts into a group of smaller articles. This may helpful, if a large post
40
- should be split into several *main chapters* but grouped together.
41
-
42
- excerpt__end
43
-
44
- // Load Liquid procedures
45
- // -----------------------------------------------------------------------------
46
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
47
-
48
- // Load page attributes
49
- // -----------------------------------------------------------------------------
50
- {% include {{load_attributes}} scope="none" %}
51
-
52
-
53
- // Page content
54
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
-
56
- // Include sub-documents
57
- // -----------------------------------------------------------------------------
58
-
59
- == The Extremes of Good and Evil
60
-
61
- .Release Loeb Classical Library, Harvard University Press, edition, 1931
62
- The title *About the Ends of Goods and Evils* requires explanation. It was
63
- Aristotle who put the ethical problem in the form of the question, What is the
64
- T𝜆o or End, the supreme end of man’s endeavour, in the attainment of which his
65
- Good or Well-being lies?
66
-
67
- For Aristotle, Telos connoted not only *aim*, but *completion*; and he found
68
- the answer to his question in the complete development and right exercise of
69
- the faculties of man’s nature, and particularly of the distinctively human
70
- faculty of Reason. The life of the Intellect was the Best, the Chief Good; and
71
- lesser Goods were Means to the attainment of this End.
72
-
73
- //////////
74
- Thus was introduced the notion of an ascending scale of Goods, and this affected
75
- the interpretation of the term Telos. Telos came to be understood as denoting
76
- not so much the end or aim of endeavour as the end or extreme point of a series,
77
- the topmost good. To this was naturally opposed an extreme of minus value,
78
- the topmost, or rather bottommost, evil.
79
-
80
- Hence arose the expressions 𝜏𝜆o 𝛾𝛼𝜃𝜈, 𝜏𝜆o 𝜅𝛼𝜅𝜈, *End of Goods, of Evils*, which
81
- occur in Philodemus, Rhetoric I, 218.8 ff. (Südhans), and are translated by
82
- Cicero finis bonorum et malorum.
83
-
84
- As a title for his book he throws this phrase into the plural, meaning
85
- *different views as to the Chief Good and Evil*. Hence in title and to some
86
- extent in method, the de Finibus may be compared with such modern works a
87
- Martineau’s Types of Ethical Theory and Sidgwick’s Methods of Ethics.
88
-
89
- [quote, Cicero · Paragraph 1.10.32, Translation by H. Rackham · Issue 1914 - De Finibus]
90
- ____
91
- But I must explain to you how all this mistaken idea of denouncing
92
- pleasure and praising pain was born and I will give you a complete
93
- account of the system, and expound the actual teachings of the great
94
- explorer of the truth, the master-builder of human happiness.
95
-
96
- No one rejects, dislikes, or avoids pleasure itself, because it is
97
- pleasure, but because those who do not know how to pursue pleasure
98
- rationally encounter consequences that are extremely painful. Nor
99
- again is there anyone who loves or pursues or desires to obtain pain
100
- of itself, because it is pain, but because occasionally circumstances
101
- occur in which toil and pain can procure him some great pleasure.
102
-
103
- To take a trivial example, which of us ever undertakes laborious
104
- physical exercise, except to obtain some advantage from it? But who
105
- has any right to find fault with a man who chooses to enjoy a pleasure
106
- that has no annoying consequences, or one who avoids a pain that
107
- produces no resultant pleasure?
108
- ____
109
-
110
- This he sets out to prove as follows: every animal, as soon as it is born,
111
- seeks for pleasure, and delights in it as the Chief Good, while it recoils
112
- from pain as the Chief Evil, and so far as possible avoids it. This it does
113
- as long as it remains unperverted, at the prompting of Nature’s own unbiased
114
- and honest verdict.
115
-
116
- Hence Epicurus refuses to admit any necessity for argument or discussion to
117
- prove that pleasure is desirable and pain to be avoided. These facts, he
118
- thinks, are perceived by the senses, as that fire is hot, snow white, honey
119
- sweet, none of which things need be proved by elaborate argument: it is enough
120
- merely to draw attention to them.
121
-
122
- For there is a difference, he holds, between formal syllogistic proof of a
123
- thing and a mere notice or reminder: the former is the method for discovering
124
- abstruse and recondite truths, the latter for indicating facts that are obvious
125
- and evident.
126
-
127
- Strip mankind of sensation, and nothing remains; it follows that Nature herself
128
- is the judge of that which is in accordance with or contrary to nature. What
129
- does Nature perceive or what does she judge of, beside pleasure and pain, to
130
- guide her actions of desire and of avoidance?
131
- //////////
@@ -1,131 +0,0 @@
1
- ---
2
- title: Series Post 3
3
- tagline: testing series elements
4
-
5
- categories: [ Examples ]
6
- tags: [ Series, Test ]
7
-
8
- series: test-series
9
- image: /assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg
10
-
11
- regenerate: false
12
-
13
- resources: []
14
- resource_options:
15
- - toccer:
16
- collapseDepth: 3
17
- - attic:
18
- padding_top: 400
19
- padding_bottom: 50
20
- opacity: 0.5
21
- slides:
22
- - url: /assets/images/modules/attics/admin-dashboard-bootstrap-1280x600.jpg
23
- alt: admin-dashboard-bootstrap
24
- ---
25
-
26
- // Page Initializer
27
- // =============================================================================
28
- // Enable the Liquid Preprocessor
29
- :page-liquid:
30
-
31
- // Set (local) page attributes here
32
- // -----------------------------------------------------------------------------
33
- // :page--attr: <attr-value>
34
-
35
- // Place an excerpt at the most top position
36
- // -----------------------------------------------------------------------------
37
- [role="dropcap mt-3"]
38
- This post is a *test series element*. Post series can help to split larger
39
- posts into a group of smaller articles. This may helpful, if a large post
40
- should be split into several *main chapters* but grouped together.
41
-
42
- excerpt__end
43
-
44
- // Load Liquid procedures
45
- // -----------------------------------------------------------------------------
46
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
47
-
48
- // Load page attributes
49
- // -----------------------------------------------------------------------------
50
- {% include {{load_attributes}} scope="none" %}
51
-
52
-
53
- // Page content
54
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55
-
56
- // Include sub-documents
57
- // -----------------------------------------------------------------------------
58
-
59
- == The Extremes of Good and Evil
60
-
61
- .Release Loeb Classical Library, Harvard University Press, edition, 1931
62
- The title *About the Ends of Goods and Evils* requires explanation. It was
63
- Aristotle who put the ethical problem in the form of the question, What is the
64
- T𝜆o or End, the supreme end of man’s endeavour, in the attainment of which his
65
- Good or Well-being lies?
66
-
67
- For Aristotle, Telos connoted not only *aim*, but *completion*; and he found
68
- the answer to his question in the complete development and right exercise of
69
- the faculties of man’s nature, and particularly of the distinctively human
70
- faculty of Reason. The life of the Intellect was the Best, the Chief Good; and
71
- lesser Goods were Means to the attainment of this End.
72
-
73
- //////////
74
- Thus was introduced the notion of an ascending scale of Goods, and this affected
75
- the interpretation of the term Telos. Telos came to be understood as denoting
76
- not so much the end or aim of endeavour as the end or extreme point of a series,
77
- the topmost good. To this was naturally opposed an extreme of minus value,
78
- the topmost, or rather bottommost, evil.
79
-
80
- Hence arose the expressions 𝜏𝜆o 𝛾𝛼𝜃𝜈, 𝜏𝜆o 𝜅𝛼𝜅𝜈, *End of Goods, of Evils*, which
81
- occur in Philodemus, Rhetoric I, 218.8 ff. (Südhans), and are translated by
82
- Cicero finis bonorum et malorum.
83
-
84
- As a title for his book he throws this phrase into the plural, meaning
85
- *different views as to the Chief Good and Evil*. Hence in title and to some
86
- extent in method, the de Finibus may be compared with such modern works a
87
- Martineau’s Types of Ethical Theory and Sidgwick’s Methods of Ethics.
88
-
89
- [quote, Cicero · Paragraph 1.10.32, Translation by H. Rackham · Issue 1914 - De Finibus]
90
- ____
91
- But I must explain to you how all this mistaken idea of denouncing
92
- pleasure and praising pain was born and I will give you a complete
93
- account of the system, and expound the actual teachings of the great
94
- explorer of the truth, the master-builder of human happiness.
95
-
96
- No one rejects, dislikes, or avoids pleasure itself, because it is
97
- pleasure, but because those who do not know how to pursue pleasure
98
- rationally encounter consequences that are extremely painful. Nor
99
- again is there anyone who loves or pursues or desires to obtain pain
100
- of itself, because it is pain, but because occasionally circumstances
101
- occur in which toil and pain can procure him some great pleasure.
102
-
103
- To take a trivial example, which of us ever undertakes laborious
104
- physical exercise, except to obtain some advantage from it? But who
105
- has any right to find fault with a man who chooses to enjoy a pleasure
106
- that has no annoying consequences, or one who avoids a pain that
107
- produces no resultant pleasure?
108
- ____
109
-
110
- This he sets out to prove as follows: every animal, as soon as it is born,
111
- seeks for pleasure, and delights in it as the Chief Good, while it recoils
112
- from pain as the Chief Evil, and so far as possible avoids it. This it does
113
- as long as it remains unperverted, at the prompting of Nature’s own unbiased
114
- and honest verdict.
115
-
116
- Hence Epicurus refuses to admit any necessity for argument or discussion to
117
- prove that pleasure is desirable and pain to be avoided. These facts, he
118
- thinks, are perceived by the senses, as that fire is hot, snow white, honey
119
- sweet, none of which things need be proved by elaborate argument: it is enough
120
- merely to draw attention to them.
121
-
122
- For there is a difference, he holds, between formal syllogistic proof of a
123
- thing and a mere notice or reminder: the former is the method for discovering
124
- abstruse and recondite truths, the latter for indicating facts that are obvious
125
- and evident.
126
-
127
- Strip mankind of sensation, and nothing remains; it follows that Nature herself
128
- is the judge of that which is in accordance with or contrary to nature. What
129
- does Nature perceive or what does she judge of, beside pleasure and pain, to
130
- guide her actions of desire and of avoidance?
131
- //////////