jekyll-theme-nocc 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +92 -0
  4. data/_config.yml +102 -0
  5. data/_includes/carousel.html +39 -0
  6. data/_includes/code_block.html +3 -0
  7. data/_includes/disqus_comments.html +16 -0
  8. data/_includes/features.html +18 -0
  9. data/_includes/footer.html +55 -0
  10. data/_includes/google_analytics.html +8 -0
  11. data/_includes/head.html +33 -0
  12. data/_includes/image.html +20 -0
  13. data/_includes/navbar.html +48 -0
  14. data/_includes/read_time.html +3 -0
  15. data/_includes/scripts.html +88 -0
  16. data/_layouts/carousel.html +39 -0
  17. data/_layouts/default.html +17 -0
  18. data/_layouts/home.html +92 -0
  19. data/_layouts/images_gallery.html +63 -0
  20. data/_layouts/page.html +35 -0
  21. data/_layouts/post.html +62 -0
  22. data/_layouts/posts_index.html +33 -0
  23. data/_layouts/tag.html +35 -0
  24. data/_layouts/tags_index.html +79 -0
  25. data/_sass/_custom.scss +144 -0
  26. data/assets/css/styles.scss +3 -0
  27. data/assets/images/404.webp +0 -0
  28. data/assets/images/503.webp +0 -0
  29. data/assets/images/bg-about.webp +0 -0
  30. data/assets/images/bg-contact.webp +0 -0
  31. data/assets/images/bg-gallery.webp +0 -0
  32. data/assets/images/bg-index-2.webp +0 -0
  33. data/assets/images/bg-index-3.webp +0 -0
  34. data/assets/images/bg-index.webp +0 -0
  35. data/assets/images/bg-post.webp +0 -0
  36. data/assets/images/favicon.ico +0 -0
  37. data/assets/images/favicon.png +0 -0
  38. data/assets/images/favicon.svg +36 -0
  39. data/assets/images/gallery/Futuristic-drama.webp +0 -0
  40. data/assets/images/gallery/Random-Engineers.webp +0 -0
  41. data/assets/images/gallery/Weird-trio-with-mousehand.webp +0 -0
  42. data/assets/images/icon-192.png +0 -0
  43. data/assets/images/icon-512.png +0 -0
  44. data/assets/images/jekyll-logo.svg +129 -0
  45. data/assets/images/nocc-showcase.webp +0 -0
  46. data/assets/images/nocc-theme-showroom.png +0 -0
  47. data/assets/images/nocc-webshot.webp +0 -0
  48. data/assets/images/nocc_icon.svg +91 -0
  49. data/assets/images/nocc_package_logo.png +0 -0
  50. data/assets/images/npm-logo.svg +10 -0
  51. data/assets/vendor/nocc-bootstrap-theme/AUTHORS.md +3 -0
  52. data/assets/vendor/nocc-bootstrap-theme/CODE_OF_CONDUCT.md +3 -0
  53. data/assets/vendor/nocc-bootstrap-theme/CONTRIBUTING.md +5 -0
  54. data/assets/vendor/nocc-bootstrap-theme/LICENSE +21 -0
  55. data/assets/vendor/nocc-bootstrap-theme/README.md +209 -0
  56. data/assets/vendor/nocc-bootstrap-theme/css/nocc-theme.css +10442 -0
  57. data/assets/vendor/nocc-bootstrap-theme/css/nocc-theme.min.css +5 -0
  58. data/assets/vendor/nocc-bootstrap-theme/fonts/lora-webfont/lora-v35-latin-600.woff2 +0 -0
  59. data/assets/vendor/nocc-bootstrap-theme/fonts/lora-webfont/lora-v35-latin-600italic.woff2 +0 -0
  60. data/assets/vendor/nocc-bootstrap-theme/fonts/lora-webfont/lora-v35-latin-italic.woff2 +0 -0
  61. data/assets/vendor/nocc-bootstrap-theme/fonts/lora-webfont/lora-v35-latin-regular.woff2 +0 -0
  62. data/assets/vendor/nocc-bootstrap-theme/fonts/oxygen-webfont/oxygen-mono-v14-latin-regular.woff2 +0 -0
  63. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-300.woff2 +0 -0
  64. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-300italic.woff2 +0 -0
  65. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-700.woff2 +0 -0
  66. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-700italic.woff2 +0 -0
  67. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-900.woff2 +0 -0
  68. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-900italic.woff2 +0 -0
  69. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-italic.woff2 +0 -0
  70. data/assets/vendor/nocc-bootstrap-theme/fonts/roboto-webfont/roboto-v30-latin-regular.woff2 +0 -0
  71. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/bootstrap.svg +4 -0
  72. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/clipboard.svg +4 -0
  73. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/currency-bitcoin.svg +3 -0
  74. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/download.svg +4 -0
  75. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/envelope-at-fill.svg +4 -0
  76. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/filetype-svg.svg +3 -0
  77. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/gift-fill.svg +3 -0
  78. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/github.svg +3 -0
  79. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/google.svg +3 -0
  80. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/link-45deg.svg +4 -0
  81. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/linkedin.svg +3 -0
  82. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/magic.svg +3 -0
  83. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/moon.svg +4 -0
  84. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/speedometer.svg +4 -0
  85. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/sun.svg +3 -0
  86. data/assets/vendor/nocc-bootstrap-theme/icons/1.11.0/twitter-x.svg +3 -0
  87. data/assets/vendor/nocc-bootstrap-theme/images/bg-about.webp +0 -0
  88. data/assets/vendor/nocc-bootstrap-theme/images/bg-gallery.webp +0 -0
  89. data/assets/vendor/nocc-bootstrap-theme/images/bg-index-2.webp +0 -0
  90. data/assets/vendor/nocc-bootstrap-theme/images/bg-index-3.webp +0 -0
  91. data/assets/vendor/nocc-bootstrap-theme/images/bg-index.webp +0 -0
  92. data/assets/vendor/nocc-bootstrap-theme/images/bg-post.webp +0 -0
  93. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/android-chrome-192x192.png +0 -0
  94. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/android-chrome-512x512.png +0 -0
  95. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/apple-touch-icon.png +0 -0
  96. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/favicon-16x16.png +0 -0
  97. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/favicon-32x32.png +0 -0
  98. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/favicon.ico +0 -0
  99. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/favicon.png +0 -0
  100. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/favicon.svg +54 -0
  101. data/assets/vendor/nocc-bootstrap-theme/images/favicon_io/site.webmanifest +1 -0
  102. data/assets/vendor/nocc-bootstrap-theme/images/gallery/Futuristic-drama.webp +0 -0
  103. data/assets/vendor/nocc-bootstrap-theme/images/gallery/Random-Engineers.webp +0 -0
  104. data/assets/vendor/nocc-bootstrap-theme/images/gallery/Weird-trio-with-mousehand.webp +0 -0
  105. data/assets/vendor/nocc-bootstrap-theme/images/nocc/kofi_s_logo_nolabel.webp +0 -0
  106. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc-showcase.webp +0 -0
  107. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc-theme-showroom.png +0 -0
  108. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc-theme-webshot.png +0 -0
  109. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc-theme-webshot.webp +0 -0
  110. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc-webshot.webp +0 -0
  111. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc_home_image.webp +0 -0
  112. data/assets/vendor/nocc-bootstrap-theme/images/nocc/nocc_logo.png +0 -0
  113. data/assets/vendor/nocc-bootstrap-theme/js/bootstrap/5.3.3/bootstrap.bundle.min.js +7 -0
  114. data/assets/vendor/nocc-bootstrap-theme/js/bootstrap/5.3.3/bootstrap.bundle.min.js.map +1 -0
  115. data/assets/vendor/nocc-bootstrap-theme/js/clipboardjs/clipboard.min.js +7 -0
  116. data/assets/vendor/nocc-bootstrap-theme/js/copy-clipboard.js +18 -0
  117. data/assets/vendor/nocc-bootstrap-theme/js/jq-bootstrap-validation.js +475 -0
  118. data/assets/vendor/nocc-bootstrap-theme/js/jq-bootstrap-validation.min.js +1 -0
  119. data/assets/vendor/nocc-bootstrap-theme/js/jquery/3.7.1/jquery.min.js +2 -0
  120. data/assets/vendor/nocc-bootstrap-theme/js/jquery/3.7.1/jquery.min.map +1 -0
  121. data/assets/vendor/nocc-bootstrap-theme/js/jquery/jqcloud/2.0.3/jqcloud.min.js +8 -0
  122. data/assets/vendor/nocc-bootstrap-theme/js/ko-fi/widget_2.min.js +1 -0
  123. data/assets/vendor/nocc-bootstrap-theme/js/theme-toggler.js +68 -0
  124. data/assets/vendor/nocc-bootstrap-theme/js/theme-toggler.min.js +1 -0
  125. data/assets/vendor/nocc-bootstrap-theme/manifest.json +1 -0
  126. data/assets/vendor/nocc-bootstrap-theme/package.json +78 -0
  127. metadata +284 -0
@@ -0,0 +1,7 @@
1
+ /*!
2
+ * clipboard.js v2.0.11
3
+ * https://clipboardjs.com/
4
+ *
5
+ * Licensed MIT © Zeno Rocha
6
+ */
7
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=o(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=o(t.value,e):(n=r()(t),c("copy")),n};function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?f(t,{container:o}):e?"cut"===n?a(e):f(e,{container:o}):void 0};function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t="data-clipboard-".concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var b=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,i());var t,e,n,o=h(r);function r(t,e){var n;return function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=r,n=[{key:"copy",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:"cut",value:function(t){return a(t)}},{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&&!!document.queryCommandSupported(t)}),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=u()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=s({action:n,container:this.container,target:this.target(e),text:this.text(e)});this.emit(t?"success":"error",{action:n,text:t,trigger:e,clearSelection:function(){e&&e.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(t){return m("action",t)}},{key:"defaultTarget",value:function(t){t=m("target",t);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(t){return m("text",t)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&d(t.prototype,e),n&&d(t,n),r}()},828:function(t){var e;"undefined"==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var u=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=u(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,n){var f=n(879),l=n(438);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!f.string(e))throw new TypeError("Second argument must be a String");if(!f.fn(n))throw new TypeError("Third argument must be a Function");if(f.node(t))return c=e,a=n,(u=t).addEventListener(c,a),{destroy:function(){u.removeEventListener(c,a)}};if(f.nodeList(t))return o=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(f.string(t))return t=t,e=e,n=n,l(document.body,t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,u,c,a}},817:function(t){t.exports=function(t){var e,n="SELECT"===t.nodeName?(t.focus(),t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((e=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute("readonly"),t.value):(t.hasAttribute("contenteditable")&&t.focus(),n=window.getSelection(),(e=document.createRange()).selectNodeContents(t),n.removeAllRanges(),n.addRange(e),n.toString());return n}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,u=o.length;i<u;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},r={},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686).default;function o(t){if(r[t])return r[t].exports;var e=r[t]={exports:{}};return n[t](e,e.exports,o),e.exports}var n,r});
@@ -0,0 +1,18 @@
1
+ var clipboard = new ClipboardJS('.btn-clipboard', {
2
+ target: function(trigger) {
3
+ return trigger.nextElementSibling;
4
+ }
5
+ });
6
+
7
+ clipboard.on('success', function(e) {
8
+ console.info('Action:', e.action);
9
+ console.info('Text:', e.text);
10
+ console.info('Trigger:', e.trigger);
11
+
12
+ e.clearSelection();
13
+ });
14
+
15
+ clipboard.on('error', function(e) {
16
+ console.error('Action:', e.action);
17
+ console.error('Trigger:', e.trigger);
18
+ });