redeyed-jekyll-theme 0.1.0 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (656) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +187 -52
  4. data/_config.yml +28 -22
  5. data/_data/assets/cross-origin.yml +1 -7
  6. data/_data/assets/self-host.yml +0 -6
  7. data/_data/authors.yml +0 -0
  8. data/_data/contact.yml +0 -0
  9. data/_data/locale/en.yml +63 -58
  10. data/_data/locale/es-ES.yml +79 -0
  11. data/_data/locale/fr-FR.yml +79 -0
  12. data/_data/locale/id-ID.yml +79 -0
  13. data/_data/locale/ko-KR.yml +79 -0
  14. data/_data/locale/my-MM.yml +79 -0
  15. data/_data/locale/pt-BR.yml +79 -0
  16. data/_data/locale/ru-RU.yml +79 -0
  17. data/_data/locale/uk-UA.yml +79 -0
  18. data/_data/locale/vi-VN.yml +77 -0
  19. data/_data/locale/zh-CN.yml +78 -0
  20. data/_data/share.yml +0 -0
  21. data/{_includes/comments.html → _drafts/.gitkeep} +0 -0
  22. data/_includes/{breadcrumbs.html → components/breadcrumbs.html} +0 -0
  23. data/_includes/{datetime.html → components/datetime.html} +0 -0
  24. data/_includes/{favicons.html → components/favicons.html} +14 -14
  25. data/_includes/{javascript.html → components/javascript.html} +8 -31
  26. data/_includes/{no-linenos.html → components/jumbotron.html} +0 -0
  27. data/_includes/components/lang.html +11 -0
  28. data/_includes/{navbar.html → components/navbar.html} +13 -6
  29. data/_includes/{pagination.html → components/no-linenos.html} +0 -0
  30. data/_includes/{options.html → components/options.html} +13 -13
  31. data/_includes/{post-nav.html → components/pagination.html} +0 -0
  32. data/_includes/{readtime.html → components/readtime.html} +0 -0
  33. data/_includes/{related-posts.html → components/related-posts.html} +0 -0
  34. data/_includes/{search-loader.html → components/search-loader.html} +46 -46
  35. data/_includes/{search-results.html → components/search-results.html} +0 -0
  36. data/_includes/{toc.html → components/toc.html} +0 -0
  37. data/_includes/{back-to-top.html → extensions/back-to-top.html} +2 -2
  38. data/_includes/extensions/code-highlight.html +89 -0
  39. data/_includes/extensions/comments/disqus.html +17 -0
  40. data/_includes/extensions/comments/giscus.html +56 -0
  41. data/_includes/extensions/comments/gitment.html +15 -0
  42. data/_includes/extensions/comments/utterances.html +46 -0
  43. data/_includes/extensions/geopattern.html +19 -0
  44. data/_includes/extensions/google-analytics.html +7 -0
  45. data/_includes/{google-tags-body.html → extensions/google-tags-body.html} +3 -3
  46. data/_includes/{google-tags-head.html → extensions/google-tags-head.html} +5 -5
  47. data/_includes/extensions/google-translate.html +108 -0
  48. data/_includes/extensions/hashlocate.html +44 -0
  49. data/_includes/extensions/mathjax.html +9 -0
  50. data/_includes/{mode-toggle.html → extensions/theme-mode.html} +0 -10
  51. data/_includes/extensions/theme-toggle.html +108 -0
  52. data/_includes/extensions/trianglify.html +26 -0
  53. data/_includes/functions/get-article-excerpt.html +33 -0
  54. data/_includes/functions/get-article-words.html +18 -0
  55. data/_includes/functions/get-banner.html +67 -0
  56. data/_includes/functions/get-categories.html +9 -0
  57. data/_includes/functions/get-datetimes.html +13 -0
  58. data/_includes/functions/get-reading-time.html +39 -0
  59. data/_includes/functions/get-tags.html +9 -0
  60. data/_includes/functions/get-value.html +41 -0
  61. data/_includes/{jsdelivr-combine.html → functions/js-combine.html} +18 -18
  62. data/_includes/functions/log.html +17 -0
  63. data/_includes/head.html +4 -4
  64. data/_includes/{copyright.html → views/copyright.html} +0 -0
  65. data/_includes/{footer.html → views/footer.html} +0 -0
  66. data/_includes/views/header-banner.html +9 -0
  67. data/_includes/views/header-wide.html +9 -0
  68. data/_includes/views/header.html +9 -0
  69. data/_includes/{panel-bottom.html → views/panel-bottom.html} +0 -0
  70. data/_includes/{panel-foot-2.html → views/panel-foot-2.html} +0 -0
  71. data/_includes/{panel-foot-3.html → views/panel-foot-3.html} +0 -0
  72. data/_includes/{panel-foot-4.html → views/panel-foot-4.html} +0 -0
  73. data/_includes/{panel-foot-full.html → views/panel-foot-full.html} +0 -0
  74. data/_includes/{panel-top-2.html → views/panel-top-2.html} +0 -0
  75. data/_includes/{panel-top-3.html → views/panel-top-3.html} +0 -0
  76. data/_includes/{panel-top-4.html → views/panel-top-4.html} +0 -0
  77. data/_includes/{panel-top-full.html → views/panel-top-full.html} +0 -0
  78. data/_includes/{post-share.html → views/post-nav.html} +0 -0
  79. data/_includes/{sidebar.html → views/post-share.html} +0 -0
  80. data/{_sass/addon/syntax.scss → _includes/views/sidebar.html} +0 -0
  81. data/_layouts/archive.html +5 -0
  82. data/_layouts/categories.html +5 -0
  83. data/_layouts/category.html +5 -0
  84. data/_layouts/compress.html +10 -10
  85. data/_layouts/default.html +0 -0
  86. data/_layouts/error.html +44 -0
  87. data/_layouts/errors/404.html +9 -0
  88. data/_layouts/home.html +5 -0
  89. data/_layouts/page.html +5 -5
  90. data/_layouts/panel-both.html +13 -13
  91. data/_layouts/panel-left.html +13 -13
  92. data/_layouts/panel-none.html +28 -30
  93. data/_layouts/panel-right.html +13 -13
  94. data/_layouts/post.html +5 -5
  95. data/_layouts/tag.html +5 -0
  96. data/_layouts/tags.html +5 -0
  97. data/{_sass/layout/page.scss → _posts/.gitkeep} +0 -0
  98. data/_sass/{layout/panel-both.scss → includes/components/_accordian.scss} +0 -0
  99. data/_sass/includes/components/_alert.scss +22 -0
  100. data/_sass/{layout/panel-left.scss → includes/components/_badge.scss} +0 -0
  101. data/_sass/{layout/panel-right.scss → includes/components/_button-group.scss} +0 -0
  102. data/_sass/{layout/post.scss → includes/components/_buttons.scss} +0 -0
  103. data/_sass/includes/components/_card.scss +0 -0
  104. data/_sass/includes/components/_carousel.scss +0 -0
  105. data/_sass/includes/components/_close.scss +0 -0
  106. data/_sass/includes/components/_containers.scss +0 -0
  107. data/_sass/includes/components/_dropdown.scss +16 -0
  108. data/_sass/includes/components/_forms.scss +0 -0
  109. data/_sass/includes/components/_images.scss +0 -0
  110. data/_sass/includes/components/_jumbotron.scss +0 -0
  111. data/_sass/includes/components/_list-group.scss +0 -0
  112. data/_sass/includes/components/_mixins.scss +28 -0
  113. data/_sass/includes/components/_modal.scss +0 -0
  114. data/_sass/includes/components/_nav.scss +0 -0
  115. data/_sass/includes/components/_offcanvas.scss +0 -0
  116. data/_sass/includes/components/_popover.scss +0 -0
  117. data/_sass/includes/components/_progress.scss +0 -0
  118. data/_sass/includes/components/_spinners.scss +0 -0
  119. data/_sass/includes/components/_tables.scss +0 -0
  120. data/_sass/includes/components/_toasts.scss +0 -0
  121. data/_sass/includes/components/_tooltip.scss +0 -0
  122. data/_sass/includes/components/_transitions.scss +0 -0
  123. data/_sass/includes/components/_type.scss +0 -0
  124. data/_sass/includes/components/forms/_floating-labels.scss +0 -0
  125. data/_sass/includes/components/forms/_form-check.scss +0 -0
  126. data/_sass/includes/components/forms/_form-control.scss +0 -0
  127. data/_sass/includes/components/forms/_form-range.scss +0 -0
  128. data/_sass/includes/components/forms/_form-select.scss +0 -0
  129. data/_sass/includes/components/forms/_form-text.scss +0 -0
  130. data/_sass/includes/components/forms/_input-group.scss +0 -0
  131. data/_sass/includes/components/forms/_labels.scss +0 -0
  132. data/_sass/includes/components/forms/_validation.scss +0 -0
  133. data/_sass/includes/components/helpers/_clearfix.scss +0 -0
  134. data/_sass/includes/components/helpers/_colored-links.scss +0 -0
  135. data/_sass/includes/components/helpers/_position.scss +0 -0
  136. data/_sass/includes/components/helpers/_ratio.scss +0 -0
  137. data/_sass/includes/components/helpers/_stretched-link.scss +0 -0
  138. data/_sass/includes/components/helpers/_text-truncation.scss +0 -0
  139. data/_sass/includes/components/helpers/_visually-hidden.scss +0 -0
  140. data/_sass/includes/components/mixins/_alert.scss +0 -0
  141. data/_sass/includes/components/mixins/_border-radius.scss +0 -0
  142. data/_sass/includes/components/mixins/_box-shadow.scss +9 -0
  143. data/_sass/includes/components/mixins/_breakpoints.scss +0 -0
  144. data/_sass/includes/components/mixins/_buttons.scss +0 -0
  145. data/_sass/includes/components/mixins/_caret.scss +0 -0
  146. data/_sass/includes/components/mixins/_clearfix.scss +0 -0
  147. data/_sass/includes/components/mixins/_color-scheme.scss +0 -0
  148. data/_sass/includes/components/mixins/_container.scss +0 -0
  149. data/_sass/includes/components/mixins/_deprecate.scss +0 -0
  150. data/_sass/includes/components/mixins/_forms.scss +10 -0
  151. data/_sass/includes/components/mixins/_gradients.scss +0 -0
  152. data/_sass/includes/components/mixins/_grid.scss +0 -0
  153. data/_sass/includes/components/mixins/_image.scss +0 -0
  154. data/_sass/includes/components/mixins/_list-group.scss +0 -0
  155. data/_sass/includes/components/mixins/_lists.scss +0 -0
  156. data/_sass/includes/components/mixins/_pagination.scss +0 -0
  157. data/_sass/includes/components/mixins/_reset-text.scss +0 -0
  158. data/_sass/includes/components/mixins/_resize.scss +0 -0
  159. data/_sass/includes/components/mixins/_table-variants.scss +0 -0
  160. data/_sass/includes/components/mixins/_text-truncate.scss +0 -0
  161. data/_sass/includes/components/mixins/_transition.scss +0 -0
  162. data/_sass/includes/components/mixins/_utilities.scss +0 -0
  163. data/_sass/includes/components/mixins/_visually-hidden.scss +0 -0
  164. data/_sass/includes/elements/_breadcrumb.scss +0 -0
  165. data/_sass/includes/elements/_datetime.scss +0 -0
  166. data/_sass/includes/elements/_navbar.scss +59 -0
  167. data/_sass/includes/elements/_pagination.scss +0 -0
  168. data/_sass/includes/elements/_readtime.scss +0 -0
  169. data/_sass/includes/elements/_related-posts.scss +0 -0
  170. data/_sass/includes/elements/_search-results.scss +0 -0
  171. data/_sass/includes/elements/_toc.scss +0 -0
  172. data/_sass/includes/extensions/_back-to-top.scss +0 -0
  173. data/_sass/includes/extensions/_code-highlight.scss +0 -0
  174. data/_sass/includes/extensions/_geopattern.scss +0 -0
  175. data/_sass/includes/extensions/_mathjax.scss +0 -0
  176. data/_sass/includes/extensions/_theme-mode.scss +0 -0
  177. data/_sass/includes/extensions/_theme-toggle.scss +0 -0
  178. data/_sass/includes/extensions/_trianglify.scss +0 -0
  179. data/_sass/includes/extensions/comments/_disqus.scss +0 -0
  180. data/_sass/includes/extensions/comments/_giscus.scss +0 -0
  181. data/_sass/includes/extensions/comments/_gitment.scss +0 -0
  182. data/_sass/includes/extensions/comments/_utterances.scss +0 -0
  183. data/_sass/includes/views/_copyright.scss +0 -0
  184. data/_sass/includes/views/_footer.scss +0 -0
  185. data/_sass/includes/views/_header-banner.scss +57 -0
  186. data/_sass/includes/views/_header-wide.scss +57 -0
  187. data/_sass/includes/views/_header.scss +57 -0
  188. data/_sass/includes/views/_panel-bottom.scss +0 -0
  189. data/_sass/includes/views/_panel-foot-2.scss +0 -0
  190. data/_sass/includes/views/_panel-foot-3.scss +0 -0
  191. data/_sass/includes/views/_panel-foot-4.scss +0 -0
  192. data/_sass/includes/views/_panel-foot-full.scss +0 -0
  193. data/_sass/includes/views/_panel-top-2.scss +0 -0
  194. data/_sass/includes/views/_panel-top-3.scss +0 -0
  195. data/_sass/includes/views/_panel-top-4.scss +0 -0
  196. data/_sass/includes/views/_panel-top-full.scss +0 -0
  197. data/_sass/includes/views/_post-nav.scss +0 -0
  198. data/_sass/includes/views/_post-share.scss +0 -0
  199. data/_sass/includes/views/_sidebar.scss +0 -0
  200. data/_sass/layouts/_base.scss +159 -0
  201. data/_sass/layouts/_breakpoints.scss +18 -0
  202. data/_sass/layouts/archive.scss +0 -0
  203. data/_sass/layouts/categories.scss +0 -0
  204. data/_sass/layouts/category.scss +0 -0
  205. data/_sass/layouts/error.scss +0 -0
  206. data/_sass/layouts/page.scss +0 -0
  207. data/_sass/layouts/panel-both.scss +3 -0
  208. data/_sass/layouts/panel-left.scss +3 -0
  209. data/_sass/layouts/panel-none.scss +100 -0
  210. data/_sass/layouts/panel-right.scss +3 -0
  211. data/_sass/layouts/post.scss +0 -0
  212. data/_sass/layouts/tag.scss +0 -0
  213. data/_sass/layouts/tags.scss +0 -0
  214. data/_sass/lib/bootstrap-5.0.2/scss/_accordion.scss +118 -0
  215. data/_sass/lib/bootstrap-5.0.2/scss/_alert.scss +57 -0
  216. data/_sass/lib/bootstrap-5.0.2/scss/_badge.scss +29 -0
  217. data/_sass/lib/bootstrap-5.0.2/scss/_breadcrumb.scss +28 -0
  218. data/_sass/lib/bootstrap-5.0.2/scss/_button-group.scss +139 -0
  219. data/_sass/lib/bootstrap-5.0.2/scss/_buttons.scss +111 -0
  220. data/_sass/lib/bootstrap-5.0.2/scss/_card.scss +215 -0
  221. data/_sass/lib/bootstrap-5.0.2/scss/_carousel.scss +229 -0
  222. data/_sass/lib/bootstrap-5.0.2/scss/_close.scss +40 -0
  223. data/_sass/lib/bootstrap-5.0.2/scss/_containers.scss +41 -0
  224. data/_sass/lib/bootstrap-5.0.2/scss/_dropdown.scss +240 -0
  225. data/_sass/lib/bootstrap-5.0.2/scss/_forms.scss +9 -0
  226. data/_sass/lib/bootstrap-5.0.2/scss/_functions.scss +263 -0
  227. data/_sass/lib/bootstrap-5.0.2/scss/_grid.scss +22 -0
  228. data/_sass/lib/bootstrap-5.0.2/scss/_helpers.scss +7 -0
  229. data/_sass/lib/bootstrap-5.0.2/scss/_images.scss +42 -0
  230. data/_sass/lib/bootstrap-5.0.2/scss/_list-group.scss +174 -0
  231. data/_sass/lib/bootstrap-5.0.2/scss/_mixins.scss +42 -0
  232. data/_sass/lib/bootstrap-5.0.2/scss/_modal.scss +219 -0
  233. data/_sass/lib/bootstrap-5.0.2/scss/_nav.scss +139 -0
  234. data/_sass/lib/bootstrap-5.0.2/scss/_navbar.scss +308 -0
  235. data/_sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss +79 -0
  236. data/_sass/lib/bootstrap-5.0.2/scss/_pagination.scss +64 -0
  237. data/_sass/lib/bootstrap-5.0.2/scss/_popover.scss +158 -0
  238. data/_sass/lib/bootstrap-5.0.2/scss/_progress.scss +48 -0
  239. data/_sass/lib/bootstrap-5.0.2/scss/_reboot.scss +621 -0
  240. data/_sass/lib/bootstrap-5.0.2/scss/_root.scss +16 -0
  241. data/_sass/lib/bootstrap-5.0.2/scss/_spinners.scss +69 -0
  242. data/_sass/lib/bootstrap-5.0.2/scss/_tables.scss +151 -0
  243. data/_sass/lib/bootstrap-5.0.2/scss/_toasts.scss +51 -0
  244. data/_sass/lib/bootstrap-5.0.2/scss/_tooltip.scss +115 -0
  245. data/_sass/lib/bootstrap-5.0.2/scss/_transitions.scss +21 -0
  246. data/_sass/lib/bootstrap-5.0.2/scss/_type.scss +104 -0
  247. data/_sass/lib/bootstrap-5.0.2/scss/_utilities.scss +594 -0
  248. data/_sass/lib/bootstrap-5.0.2/scss/_variables.scss +1468 -0
  249. data/_sass/lib/bootstrap-5.0.2/scss/bootstrap-grid.scss +65 -0
  250. data/_sass/lib/bootstrap-5.0.2/scss/bootstrap-reboot.scss +15 -0
  251. data/_sass/lib/bootstrap-5.0.2/scss/bootstrap-utilities.scss +18 -0
  252. data/_sass/lib/bootstrap-5.0.2/scss/bootstrap.scss +52 -0
  253. data/_sass/lib/bootstrap-5.0.2/scss/forms/_floating-labels.scss +63 -0
  254. data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-check.scss +152 -0
  255. data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-control.scss +219 -0
  256. data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-range.scss +91 -0
  257. data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-select.scss +70 -0
  258. data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-text.scss +11 -0
  259. data/_sass/lib/bootstrap-5.0.2/scss/forms/_input-group.scss +121 -0
  260. data/_sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss +36 -0
  261. data/_sass/lib/bootstrap-5.0.2/scss/forms/_validation.scss +12 -0
  262. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_clearfix.scss +3 -0
  263. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_colored-links.scss +12 -0
  264. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_position.scss +30 -0
  265. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_ratio.scss +26 -0
  266. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_stretched-link.scss +15 -0
  267. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_text-truncation.scss +7 -0
  268. data/_sass/lib/bootstrap-5.0.2/scss/helpers/_visually-hidden.scss +8 -0
  269. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_alert.scss +11 -0
  270. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_border-radius.scss +78 -0
  271. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_box-shadow.scss +18 -0
  272. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_breakpoints.scss +127 -0
  273. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_buttons.scss +133 -0
  274. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_caret.scss +64 -0
  275. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_clearfix.scss +9 -0
  276. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_color-scheme.scss +7 -0
  277. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_container.scss +9 -0
  278. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_deprecate.scss +10 -0
  279. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_forms.scss +144 -0
  280. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_gradients.scss +47 -0
  281. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_grid.scss +132 -0
  282. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_image.scss +16 -0
  283. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_list-group.scss +24 -0
  284. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_lists.scss +7 -0
  285. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_pagination.scss +31 -0
  286. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_reset-text.scss +17 -0
  287. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_resize.scss +6 -0
  288. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_table-variants.scss +21 -0
  289. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_text-truncate.scss +8 -0
  290. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_transition.scss +26 -0
  291. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_utilities.scss +68 -0
  292. data/_sass/lib/bootstrap-5.0.2/scss/mixins/_visually-hidden.scss +29 -0
  293. data/_sass/lib/bootstrap-5.0.2/scss/utilities/_api.scss +47 -0
  294. data/_sass/lib/bootstrap-5.0.2/scss/vendor/_rfs.scss +354 -0
  295. data/_sass/redeyed-jekyll-theme.scss +57 -23
  296. data/_sass/theme/common.scss +98 -0
  297. data/_sass/theme/mixins.scss +103 -0
  298. data/_sass/theme/scheme-brew.scss +3 -0
  299. data/_sass/theme/scheme-dark.scss +244 -0
  300. data/_sass/theme/scheme-light.scss +225 -0
  301. data/_sass/theme/syntax-dark.scss +150 -0
  302. data/_sass/{colors/light-syntax.scss → theme/syntax-light.scss} +5 -5
  303. data/_sass/theme/syntax.scss +246 -0
  304. data/_sass/theme/typography.scss +151 -0
  305. data/_sass/theme/variables.scss +751 -0
  306. data/_sass/variables-hook.scss +3 -0
  307. data/assets/css/style.scss +53 -0
  308. data/assets/img/banner.svg +40 -0
  309. data/assets/img/d20R/d20R-128.png +0 -0
  310. data/assets/img/d20R/d20R-16.png +0 -0
  311. data/assets/img/d20R/d20R-200.png +0 -0
  312. data/assets/img/d20R/d20R-240.png +0 -0
  313. data/assets/img/d20R/d20R-32.png +0 -0
  314. data/assets/img/d20R/d20R-320.png +0 -0
  315. data/assets/img/d20R/d20R-48.png +0 -0
  316. data/assets/img/d20R/d20R-500.png +0 -0
  317. data/assets/img/d20R/d20R-600.png +0 -0
  318. data/assets/img/d20R/d20R-64.png +0 -0
  319. data/assets/img/d20R/d20R.svg +0 -0
  320. data/assets/img/d20RB/d20RB-128.png +0 -0
  321. data/assets/img/d20RB/d20RB-16.png +0 -0
  322. data/assets/img/d20RB/d20RB-200.png +0 -0
  323. data/assets/img/d20RB/d20RB-240.png +0 -0
  324. data/assets/img/d20RB/d20RB-32.png +0 -0
  325. data/assets/img/d20RB/d20RB-320.png +0 -0
  326. data/assets/img/d20RB/d20RB-48.png +0 -0
  327. data/assets/img/d20RB/d20RB-500.png +0 -0
  328. data/assets/img/d20RB/d20RB-600.png +0 -0
  329. data/assets/img/d20RB/d20RB-64.png +0 -0
  330. data/assets/img/d20RB/d20RB.svg +0 -0
  331. data/assets/img/favicons/android-chrome-192x192.png +0 -0
  332. data/assets/img/favicons/android-chrome-512x512.png +0 -0
  333. data/assets/img/favicons/apple-touch-icon.png +0 -0
  334. data/assets/img/favicons/browserconfig.xml +0 -0
  335. data/assets/img/favicons/favicon-16x16.png +0 -0
  336. data/assets/img/favicons/favicon-32x32.png +0 -0
  337. data/assets/img/favicons/favicon-d20.ico +0 -0
  338. data/assets/img/favicons/favicon.ico +0 -0
  339. data/assets/img/favicons/mstile-150x150.png +0 -0
  340. data/assets/img/favicons/mstile-310x150.png +0 -0
  341. data/assets/img/favicons/mstile-310x310.png +0 -0
  342. data/assets/img/favicons/mstile-70x70.png +0 -0
  343. data/assets/img/favicons/safari-pinned-tab.svg +0 -0
  344. data/assets/img/favicons/site.webmanifest +0 -0
  345. data/assets/img/icons/bars-solid.svg +1 -0
  346. data/assets/img/social/facebook.svg +7 -0
  347. data/assets/img/social/github.svg +7 -0
  348. data/assets/img/social/guilded.svg +7 -0
  349. data/assets/img/social/patreon.svg +7 -0
  350. data/assets/img/social/reddit.svg +10 -0
  351. data/assets/img/social/tumblr.svg +7 -0
  352. data/assets/img/social/twitter.svg +7 -0
  353. data/assets/js/data/search.json +0 -0
  354. data/assets/js/data/swcache.js +0 -0
  355. data/assets/js/dist/categories.min.js +1 -0
  356. data/assets/js/dist/common.min.js +1 -0
  357. data/assets/js/dist/home.min.js +1 -0
  358. data/assets/js/dist/misc.min.js +1 -0
  359. data/assets/js/dist/page.min.js +1 -0
  360. data/assets/js/dist/post.min.js +1 -0
  361. data/assets/js/dist/pvreport.min.js +1 -0
  362. data/assets/js/fetch.js +0 -0
  363. data/assets/js/pwa/app.js +0 -0
  364. data/assets/js/pwa/sw.js +0 -0
  365. data/assets/js/pwa/unregister.js +0 -0
  366. data/assets/lib/MaterialDesign-Webfont-master/.github/ISSUE_TEMPLATE.md +3 -0
  367. data/assets/lib/MaterialDesign-Webfont-master/LICENSE +20 -0
  368. data/assets/lib/MaterialDesign-Webfont-master/README.md +25 -0
  369. data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.css +27458 -0
  370. data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.css.map +16 -0
  371. data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.min.css +3 -0
  372. data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.min.css.map +16 -0
  373. data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.eot +0 -0
  374. data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.ttf +0 -0
  375. data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.woff +0 -0
  376. data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.woff2 +0 -0
  377. data/assets/lib/MaterialDesign-Webfont-master/package.json +30 -0
  378. data/assets/lib/MaterialDesign-Webfont-master/preview.html +717 -0
  379. data/assets/lib/MaterialDesign-Webfont-master/scripts/verify.js +41 -0
  380. data/assets/lib/MaterialDesign-Webfont-master/scss/_animated.scss +27 -0
  381. data/assets/lib/MaterialDesign-Webfont-master/scss/_core.scss +10 -0
  382. data/assets/lib/MaterialDesign-Webfont-master/scss/_extras.scss +65 -0
  383. data/assets/lib/MaterialDesign-Webfont-master/scss/_functions.scss +20 -0
  384. data/assets/lib/MaterialDesign-Webfont-master/scss/_icons.scss +10 -0
  385. data/assets/lib/MaterialDesign-Webfont-master/scss/_path.scss +10 -0
  386. data/assets/lib/MaterialDesign-Webfont-master/scss/_variables.scss +6807 -0
  387. data/assets/lib/MaterialDesign-Webfont-master/scss/materialdesignicons.scss +8 -0
  388. data/assets/lib/bootstrap-5.0.2/bootstrap.bundle.min.js +7 -0
  389. data/assets/lib/bootstrap-5.0.2/bootstrap.min.css +7 -0
  390. data/assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.css +4 -0
  391. data/assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.js +5 -0
  392. data/assets/lib/clipboard-2.0.9/clipboard.min.js +7 -0
  393. data/assets/lib/countup.js-1.9.3/countUp.min.js +1 -0
  394. data/assets/lib/dayjs-1.10.7/dayjs.min.js +1 -0
  395. data/assets/lib/dayjs-1.10.7/locale/en.min.js +7 -0
  396. data/assets/lib/dayjs-1.10.7/plugin/localizedFormat.min.js +5 -0
  397. data/assets/lib/dayjs-1.10.7/plugin/relativeTime.min.js +5 -0
  398. data/assets/lib/fonts/Alegreya/Alegreya-Italic-VariableFont_wght.ttf +0 -0
  399. data/assets/lib/fonts/Alegreya/Alegreya-VariableFont_wght.ttf +0 -0
  400. data/assets/lib/fonts/Alegreya/OFL.txt +93 -0
  401. data/assets/lib/fonts/Alegreya/README.txt +75 -0
  402. data/assets/lib/fonts/Alegreya/static/Alegreya-Black.ttf +0 -0
  403. data/assets/lib/fonts/Alegreya/static/Alegreya-BlackItalic.ttf +0 -0
  404. data/assets/lib/fonts/Alegreya/static/Alegreya-Bold.ttf +0 -0
  405. data/assets/lib/fonts/Alegreya/static/Alegreya-BoldItalic.ttf +0 -0
  406. data/assets/lib/fonts/Alegreya/static/Alegreya-ExtraBold.ttf +0 -0
  407. data/assets/lib/fonts/Alegreya/static/Alegreya-ExtraBoldItalic.ttf +0 -0
  408. data/assets/lib/fonts/Alegreya/static/Alegreya-Italic.ttf +0 -0
  409. data/assets/lib/fonts/Alegreya/static/Alegreya-Medium.ttf +0 -0
  410. data/assets/lib/fonts/Alegreya/static/Alegreya-MediumItalic.ttf +0 -0
  411. data/assets/lib/fonts/Alegreya/static/Alegreya-Regular.ttf +0 -0
  412. data/assets/lib/fonts/Alegreya/static/Alegreya-SemiBold.ttf +0 -0
  413. data/assets/lib/fonts/Alegreya/static/Alegreya-SemiBoldItalic.ttf +0 -0
  414. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Black.ttf +0 -0
  415. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-BlackItalic.ttf +0 -0
  416. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Bold.ttf +0 -0
  417. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-BoldItalic.ttf +0 -0
  418. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-ExtraBold.ttf +0 -0
  419. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-ExtraBoldItalic.ttf +0 -0
  420. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Italic.ttf +0 -0
  421. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Medium.ttf +0 -0
  422. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-MediumItalic.ttf +0 -0
  423. data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Regular.ttf +0 -0
  424. data/assets/lib/fonts/Alegreya_SC/OFL.txt +93 -0
  425. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Black.ttf +0 -0
  426. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-BlackItalic.ttf +0 -0
  427. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf +0 -0
  428. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-BoldItalic.ttf +0 -0
  429. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.ttf +0 -0
  430. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-ExtraBoldItalic.ttf +0 -0
  431. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Italic.ttf +0 -0
  432. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Light.ttf +0 -0
  433. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-LightItalic.ttf +0 -0
  434. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Medium.ttf +0 -0
  435. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-MediumItalic.ttf +0 -0
  436. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf +0 -0
  437. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Thin.ttf +0 -0
  438. data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-ThinItalic.ttf +0 -0
  439. data/assets/lib/fonts/Alegreya_Sans/OFL.txt +93 -0
  440. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Black.ttf +0 -0
  441. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-BlackItalic.ttf +0 -0
  442. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Bold.ttf +0 -0
  443. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-BoldItalic.ttf +0 -0
  444. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-ExtraBold.ttf +0 -0
  445. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-ExtraBoldItalic.ttf +0 -0
  446. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Italic.ttf +0 -0
  447. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Light.ttf +0 -0
  448. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-LightItalic.ttf +0 -0
  449. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Medium.ttf +0 -0
  450. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-MediumItalic.ttf +0 -0
  451. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Regular.ttf +0 -0
  452. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Thin.ttf +0 -0
  453. data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-ThinItalic.ttf +0 -0
  454. data/assets/lib/fonts/Alegreya_Sans_SC/OFL.txt +93 -0
  455. data/assets/lib/fonts/Cormorant/Cormorant-Italic-VariableFont_wght.ttf +0 -0
  456. data/assets/lib/fonts/Cormorant/Cormorant-VariableFont_wght.ttf +0 -0
  457. data/assets/lib/fonts/Cormorant/OFL.txt +93 -0
  458. data/assets/lib/fonts/Cormorant/README.txt +73 -0
  459. data/assets/lib/fonts/Cormorant/static/Cormorant-Bold.ttf +0 -0
  460. data/assets/lib/fonts/Cormorant/static/Cormorant-BoldItalic.ttf +0 -0
  461. data/assets/lib/fonts/Cormorant/static/Cormorant-Italic.ttf +0 -0
  462. data/assets/lib/fonts/Cormorant/static/Cormorant-Light.ttf +0 -0
  463. data/assets/lib/fonts/Cormorant/static/Cormorant-LightItalic.ttf +0 -0
  464. data/assets/lib/fonts/Cormorant/static/Cormorant-Medium.ttf +0 -0
  465. data/assets/lib/fonts/Cormorant/static/Cormorant-MediumItalic.ttf +0 -0
  466. data/assets/lib/fonts/Cormorant/static/Cormorant-Regular.ttf +0 -0
  467. data/assets/lib/fonts/Cormorant/static/Cormorant-SemiBold.ttf +0 -0
  468. data/assets/lib/fonts/Cormorant/static/Cormorant-SemiBoldItalic.ttf +0 -0
  469. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Bold.ttf +0 -0
  470. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-BoldItalic.ttf +0 -0
  471. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Italic.ttf +0 -0
  472. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Light.ttf +0 -0
  473. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-LightItalic.ttf +0 -0
  474. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Medium.ttf +0 -0
  475. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-MediumItalic.ttf +0 -0
  476. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Regular.ttf +0 -0
  477. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-SemiBold.ttf +0 -0
  478. data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-SemiBoldItalic.ttf +0 -0
  479. data/assets/lib/fonts/Cormorant_Garamond/OFL.txt +93 -0
  480. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Bold.ttf +0 -0
  481. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-BoldItalic.ttf +0 -0
  482. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Italic.ttf +0 -0
  483. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Light.ttf +0 -0
  484. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-LightItalic.ttf +0 -0
  485. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Medium.ttf +0 -0
  486. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-MediumItalic.ttf +0 -0
  487. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Regular.ttf +0 -0
  488. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-SemiBold.ttf +0 -0
  489. data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-SemiBoldItalic.ttf +0 -0
  490. data/assets/lib/fonts/Cormorant_Infant/OFL.txt +93 -0
  491. data/assets/lib/fonts/Cormorant_SC/CormorantSC-Bold.ttf +0 -0
  492. data/assets/lib/fonts/Cormorant_SC/CormorantSC-Light.ttf +0 -0
  493. data/assets/lib/fonts/Cormorant_SC/CormorantSC-Medium.ttf +0 -0
  494. data/assets/lib/fonts/Cormorant_SC/CormorantSC-Regular.ttf +0 -0
  495. data/assets/lib/fonts/Cormorant_SC/CormorantSC-SemiBold.ttf +0 -0
  496. data/assets/lib/fonts/Cormorant_SC/OFL.txt +93 -0
  497. data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Bold.ttf +0 -0
  498. data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Light.ttf +0 -0
  499. data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Medium.ttf +0 -0
  500. data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Regular.ttf +0 -0
  501. data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-SemiBold.ttf +0 -0
  502. data/assets/lib/fonts/Cormorant_Unicase/OFL.txt +93 -0
  503. data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Bold.ttf +0 -0
  504. data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Light.ttf +0 -0
  505. data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Medium.ttf +0 -0
  506. data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Regular.ttf +0 -0
  507. data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-SemiBold.ttf +0 -0
  508. data/assets/lib/fonts/Cormorant_Upright/OFL.txt +93 -0
  509. data/assets/lib/fonts/Xanh_Mono/OFL.txt +93 -0
  510. data/assets/lib/fonts/Xanh_Mono/XanhMono-Italic.ttf +0 -0
  511. data/assets/lib/fonts/Xanh_Mono/XanhMono-Regular.ttf +0 -0
  512. data/assets/lib/fonts/fonts.css +97 -0
  513. data/assets/lib/jquery-3.6.0/jquery.min.js +2 -0
  514. data/assets/lib/lozad-1.16.0/lozad.min.js +10 -0
  515. data/assets/lib/magnific-popup-1.1.0/jquery.magnific-popup.min.js +4 -0
  516. data/assets/lib/magnific-popup-1.1.0/magnific-popup.css +2 -0
  517. data/assets/lib/mathjax-3.2.0/a11y/assistive-mml.js +1 -0
  518. data/assets/lib/mathjax-3.2.0/a11y/complexity.js +1 -0
  519. data/assets/lib/mathjax-3.2.0/a11y/explorer.js +1 -0
  520. data/assets/lib/mathjax-3.2.0/a11y/semantic-enrich.js +1 -0
  521. data/assets/lib/mathjax-3.2.0/adaptors/liteDOM.js +1 -0
  522. data/assets/lib/mathjax-3.2.0/core.js +1 -0
  523. data/assets/lib/mathjax-3.2.0/input/asciimath.js +1 -0
  524. data/assets/lib/mathjax-3.2.0/input/mml/entities.js +1 -0
  525. data/assets/lib/mathjax-3.2.0/input/mml/extensions/mml3.js +1 -0
  526. data/assets/lib/mathjax-3.2.0/input/mml/extensions/mml3.sef.json +1 -0
  527. data/assets/lib/mathjax-3.2.0/input/mml.js +1 -0
  528. data/assets/lib/mathjax-3.2.0/input/tex/extensions/action.js +1 -0
  529. data/assets/lib/mathjax-3.2.0/input/tex/extensions/all-packages.js +34 -0
  530. data/assets/lib/mathjax-3.2.0/input/tex/extensions/ams.js +1 -0
  531. data/assets/lib/mathjax-3.2.0/input/tex/extensions/amscd.js +1 -0
  532. data/assets/lib/mathjax-3.2.0/input/tex/extensions/autoload.js +1 -0
  533. data/assets/lib/mathjax-3.2.0/input/tex/extensions/bbox.js +1 -0
  534. data/assets/lib/mathjax-3.2.0/input/tex/extensions/boldsymbol.js +1 -0
  535. data/assets/lib/mathjax-3.2.0/input/tex/extensions/braket.js +1 -0
  536. data/assets/lib/mathjax-3.2.0/input/tex/extensions/bussproofs.js +1 -0
  537. data/assets/lib/mathjax-3.2.0/input/tex/extensions/cancel.js +1 -0
  538. data/assets/lib/mathjax-3.2.0/input/tex/extensions/centernot.js +1 -0
  539. data/assets/lib/mathjax-3.2.0/input/tex/extensions/color.js +1 -0
  540. data/assets/lib/mathjax-3.2.0/input/tex/extensions/colortbl.js +1 -0
  541. data/assets/lib/mathjax-3.2.0/input/tex/extensions/colorv2.js +1 -0
  542. data/assets/lib/mathjax-3.2.0/input/tex/extensions/configmacros.js +1 -0
  543. data/assets/lib/mathjax-3.2.0/input/tex/extensions/enclose.js +1 -0
  544. data/assets/lib/mathjax-3.2.0/input/tex/extensions/extpfeil.js +1 -0
  545. data/assets/lib/mathjax-3.2.0/input/tex/extensions/gensymb.js +1 -0
  546. data/assets/lib/mathjax-3.2.0/input/tex/extensions/html.js +1 -0
  547. data/assets/lib/mathjax-3.2.0/input/tex/extensions/mathtools.js +1 -0
  548. data/assets/lib/mathjax-3.2.0/input/tex/extensions/mhchem.js +34 -0
  549. data/assets/lib/mathjax-3.2.0/input/tex/extensions/newcommand.js +1 -0
  550. data/assets/lib/mathjax-3.2.0/input/tex/extensions/noerrors.js +1 -0
  551. data/assets/lib/mathjax-3.2.0/input/tex/extensions/noundefined.js +1 -0
  552. data/assets/lib/mathjax-3.2.0/input/tex/extensions/physics.js +1 -0
  553. data/assets/lib/mathjax-3.2.0/input/tex/extensions/require.js +1 -0
  554. data/assets/lib/mathjax-3.2.0/input/tex/extensions/setoptions.js +1 -0
  555. data/assets/lib/mathjax-3.2.0/input/tex/extensions/tagformat.js +1 -0
  556. data/assets/lib/mathjax-3.2.0/input/tex/extensions/textcomp.js +1 -0
  557. data/assets/lib/mathjax-3.2.0/input/tex/extensions/textmacros.js +1 -0
  558. data/assets/lib/mathjax-3.2.0/input/tex/extensions/unicode.js +1 -0
  559. data/assets/lib/mathjax-3.2.0/input/tex/extensions/upgreek.js +1 -0
  560. data/assets/lib/mathjax-3.2.0/input/tex/extensions/verb.js +1 -0
  561. data/assets/lib/mathjax-3.2.0/input/tex-base.js +1 -0
  562. data/assets/lib/mathjax-3.2.0/input/tex-full.js +34 -0
  563. data/assets/lib/mathjax-3.2.0/input/tex.js +1 -0
  564. data/assets/lib/mathjax-3.2.0/latest.js +1 -0
  565. data/assets/lib/mathjax-3.2.0/loader.js +1 -0
  566. data/assets/lib/mathjax-3.2.0/mml-chtml.js +1 -0
  567. data/assets/lib/mathjax-3.2.0/mml-svg.js +1 -0
  568. data/assets/lib/mathjax-3.2.0/node-main.js +1 -0
  569. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/tex.js +1 -0
  570. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  571. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  572. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  573. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  574. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  575. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  576. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  577. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  578. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  579. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  580. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  581. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  582. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  583. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  584. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  585. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  586. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  587. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  588. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  589. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  590. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  591. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  592. data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  593. data/assets/lib/mathjax-3.2.0/output/chtml.js +1 -0
  594. data/assets/lib/mathjax-3.2.0/output/svg/fonts/tex.js +1 -0
  595. data/assets/lib/mathjax-3.2.0/output/svg.js +1 -0
  596. data/assets/lib/mathjax-3.2.0/sre/mathmaps/de.js +125 -0
  597. data/assets/lib/mathjax-3.2.0/sre/mathmaps/en.js +131 -0
  598. data/assets/lib/mathjax-3.2.0/sre/mathmaps/es.js +122 -0
  599. data/assets/lib/mathjax-3.2.0/sre/mathmaps/fr.js +125 -0
  600. data/assets/lib/mathjax-3.2.0/sre/mathmaps/hi.js +125 -0
  601. data/assets/lib/mathjax-3.2.0/sre/mathmaps/it.js +125 -0
  602. data/assets/lib/mathjax-3.2.0/sre/mathmaps/nemeth.js +113 -0
  603. data/assets/lib/mathjax-3.2.0/sre/sre-node.js +11 -0
  604. data/assets/lib/mathjax-3.2.0/sre/sre_browser.js +999 -0
  605. data/assets/lib/mathjax-3.2.0/startup.js +1 -0
  606. data/assets/lib/mathjax-3.2.0/tex-chtml-full.js +34 -0
  607. data/assets/lib/mathjax-3.2.0/tex-chtml.js +1 -0
  608. data/assets/lib/mathjax-3.2.0/tex-mml-chtml.js +1 -0
  609. data/assets/lib/mathjax-3.2.0/tex-mml-svg.js +1 -0
  610. data/assets/lib/mathjax-3.2.0/tex-svg-full.js +34 -0
  611. data/assets/lib/mathjax-3.2.0/tex-svg.js +1 -0
  612. data/assets/lib/mathjax-3.2.0/ui/lazy.js +1 -0
  613. data/assets/lib/mathjax-3.2.0/ui/menu.js +1 -0
  614. data/assets/lib/mathjax-3.2.0/ui/safe.js +1 -0
  615. data/assets/lib/mermaid-8.13.10/mermaid.min.js +3 -0
  616. data/assets/lib/mermaid-8.13.10/mermaid.min.js.map +1 -0
  617. data/assets/lib/polyfill-v3-es6/polyfill.min.js +100 -0
  618. data/assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js +6 -0
  619. data/src/404.html +3 -10
  620. data/src/favicon.ico +0 -0
  621. data/src/feed.xml +0 -0
  622. data/src/index.md +0 -0
  623. data/src/robots.txt +0 -0
  624. data/src/style/html.md +0 -0
  625. data/src/style/index.md +0 -0
  626. data/src/style/markdown.md +0 -0
  627. metadata +720 -123
  628. data/_includes/ga-site-tag.html +0 -8
  629. data/_includes/header-banner.html +0 -1
  630. data/_includes/header-wide.html +0 -1
  631. data/_includes/header.html +0 -1
  632. data/_includes/lang.html +0 -6
  633. data/_includes/mermaid.html +0 -1
  634. data/_javascript/common/back-to-top.js +0 -20
  635. data/_javascript/common/mode-toggle.js +0 -13
  636. data/_javascript/common/scroll-helper.js +0 -36
  637. data/_javascript/common/search-display.js +0 -129
  638. data/_javascript/common/sidebar.js +0 -30
  639. data/_javascript/common/tooltip-loader.js +0 -6
  640. data/_javascript/common/topbar-switcher.js +0 -90
  641. data/_javascript/common/topbar-title.js +0 -67
  642. data/_javascript/utils/category-collapse.js +0 -30
  643. data/_javascript/utils/checkbox.js +0 -12
  644. data/_javascript/utils/clipboard.js +0 -133
  645. data/_javascript/utils/img-extra.js +0 -47
  646. data/_javascript/utils/locale-datetime.js +0 -45
  647. data/_javascript/utils/pageviews.js +0 -250
  648. data/_javascript/utils/smooth-scroll.js +0 -96
  649. data/_sass/addon/common.scss +0 -1630
  650. data/_sass/addon/mixins.scss +0 -144
  651. data/_sass/addon/variables.scss +0 -31
  652. data/_sass/colors/brew-scheme.scss +0 -7
  653. data/_sass/colors/dark-scheme.scss +0 -21
  654. data/_sass/colors/dark-syntax.scss +0 -88
  655. data/_sass/colors/light-scheme.scss +0 -7
  656. data/_sass/layout/panel-none.scss +0 -146
@@ -0,0 +1,108 @@
1
+ {% if include.translate_langs %}
2
+ {% assign translate_langs = include.translate_langs %}
3
+ {% endif %}
4
+
5
+ {% if include.lang %}
6
+ {% assign lang = include.lang %}
7
+ {% endif %}
8
+
9
+ <div id="google_translate_element" style="display: none;">
10
+ </div>
11
+
12
+ <span class="ct-language">
13
+ <ul class="list-unstyled ct-language-dropdown">
14
+ {% for item in translate_langs %}
15
+ <li>
16
+ <a href="#" class="lang-select" data-lang="{{ item.lang }}">
17
+ {% if item.img %}
18
+ <img src="{{ item.img }}" title="{{ item.text }}">
19
+ {% else %}
20
+ {{ item.text }}
21
+ {% endif %}
22
+ </a>
23
+ </li>
24
+ {% endfor %}
25
+ </ul>
26
+ </span>
27
+
28
+ <script type="text/javascript">
29
+ function googleTranslateElementInit() {
30
+ new google.translate.TranslateElement({
31
+ pageLanguage: '{{ lang }}',
32
+ autoDisplay: false,
33
+ layout: google.translate.TranslateElement.InlineLayout.VERTICAL
34
+ }, 'google_translate_element');
35
+
36
+ // Links to cross-origin destinations are unsafe
37
+ var gll = document.getElementsByClassName('goog-logo-link')[0];
38
+ if (gll) {
39
+ gll.setAttribute('rel', 'noopener');
40
+ }
41
+
42
+ function restoreLang() {
43
+ var iframe = document.getElementsByClassName('goog-te-banner-frame')[0];
44
+ if (!iframe) return;
45
+
46
+ var innerDoc = iframe.contentDocument || iframe.contentWindow.document;
47
+ var restore_el = innerDoc.getElementsByTagName("button");
48
+
49
+ for (var i = 0; i < restore_el.length; i++) {
50
+ if (restore_el[i].id.indexOf("restore") >= 0) {
51
+ restore_el[i].click();
52
+ var close_el = innerDoc.getElementsByClassName("goog-close-link");
53
+ close_el[0].click();
54
+ return;
55
+ }
56
+ }
57
+ }
58
+
59
+ function triggerHtmlEvent(element, eventName) {
60
+ var event;
61
+ if (document.createEvent) {
62
+ event = document.createEvent('HTMLEvents');
63
+ event.initEvent(eventName, true, true);
64
+ element.dispatchEvent(event);
65
+ } else {
66
+ event = document.createEventObject();
67
+ event.eventType = eventName;
68
+ element.fireEvent('on' + event.eventType, event);
69
+ }
70
+ }
71
+
72
+ var googleCombo = document.querySelector("select.goog-te-combo");
73
+ var langSelect = document.querySelector('.ct-language');
74
+ langSelect.addEventListener('click', function(event) {
75
+ if (!event.target) {
76
+ return;
77
+ }
78
+
79
+ var selected = document.querySelector('.ct-language .ct-language-selected');
80
+ if (selected) {
81
+ selected.classList.remove('ct-language-selected');
82
+ }
83
+
84
+ var target = event.target;
85
+ while (target && target !== langSelect ) {
86
+ if (target.matches('.lang-select')) {
87
+ break;
88
+ }
89
+ target = target.parentElement;
90
+ }
91
+
92
+ if (target && target.matches('.lang-select')) {
93
+ var lang = target.getAttribute('data-lang');
94
+ if (googleCombo.value == lang) {
95
+ restoreLang();
96
+ } else {
97
+ target.parentElement.classList.add('ct-language-selected');
98
+ googleCombo.value = lang;
99
+ triggerHtmlEvent(googleCombo, 'change');
100
+ }
101
+ }
102
+
103
+ event.preventDefault();
104
+ });
105
+ }
106
+ </script>
107
+
108
+ <script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
@@ -0,0 +1,44 @@
1
+ <script>
2
+ function hashLocate(hashValue) {
3
+ hashValue = hashValue.replace(/^.*#h-/, '');
4
+ hashValue = decodeURIComponent(hashValue);
5
+ var element = document.getElementById(hashValue);
6
+
7
+ if (!element) {
8
+ return;
9
+ }
10
+
11
+ var header = document.querySelector('header.site-header');
12
+ var headerRect = header.getBoundingClientRect();
13
+ var headerTop = Math.floor(headerRect.top);
14
+ var headerHeight = Math.floor(headerRect.height);
15
+ var scrollPos = getScrollPos();
16
+ var offsetY = element.offsetTop - (headerTop + headerHeight + 20);
17
+
18
+ if (offsetY == scrollPos.y) {
19
+ return;
20
+ }
21
+
22
+ if (headerTop == 0 && offsetY > scrollPos.y) {
23
+ offsetY += headerHeight + 2;
24
+ } else if (headerTop < 0 && offsetY < scrollPos.y) {
25
+ offsetY -= headerHeight - 2;
26
+ }
27
+
28
+ smoothScrollTo(offsetY);
29
+ }
30
+
31
+ // The first event occurred
32
+ window.addEventListener('load', function(event) {
33
+ if (window.location.hash) {
34
+ hashLocate(window.location.hash);
35
+ }
36
+ });
37
+
38
+ // The first event occurred
39
+ window.addEventListener('click', function(event) {
40
+ if (event.target.tagName.toLowerCase() == 'a') {
41
+ hashLocate(event.target.getAttribute('href'));
42
+ }
43
+ });
44
+ </script>
@@ -0,0 +1,9 @@
1
+ <script type="text/x-mathjax-config">
2
+ MathJax.Hub.Config({
3
+ tex2jax: {
4
+ skipTags: ['script', 'noscript', 'style', 'textarea', 'pre'],
5
+ inlineMath: [['$','$']]
6
+ }
7
+ });
8
+ </script>
9
+ <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML" type="text/javascript"></script>
@@ -8,7 +8,6 @@
8
8
  static get MODE_ATTR() { return "data-mode"; }
9
9
  static get DARK_MODE() { return "dark"; }
10
10
  static get LIGHT_MODE() { return "light"; }
11
- static get BREW_MODE() { return "brew"; }
12
11
  static get ID() { return "mode-toggle"; }
13
12
 
14
13
  constructor() {
@@ -57,8 +56,6 @@
57
56
 
58
57
  get isLightMode() { return this.mode === ModeToggle.LIGHT_MODE; }
59
58
 
60
- get isBrewMode() { return this.mode === ModeToggle.BREW_MODE; }
61
-
62
59
  get hasMode() { return this.mode != null; }
63
60
 
64
61
  get mode() { return sessionStorage.getItem(ModeToggle.MODE_KEY); }
@@ -67,8 +64,6 @@
67
64
  get modeStatus() {
68
65
  if (this.isDarkMode || (!this.hasMode && this.isSysDarkPrefer)) {
69
66
  return ModeToggle.DARK_MODE;
70
- } else if (this.isBrewMode) {
71
- return ModeToggle.BREW_MODE;
72
67
  } else {
73
68
  return ModeToggle.LIGHT_MODE;
74
69
  }
@@ -84,11 +79,6 @@
84
79
  sessionStorage.setItem(ModeToggle.MODE_KEY, ModeToggle.LIGHT_MODE);
85
80
  }
86
81
 
87
- setBrew() {
88
- $('html').attr(ModeToggle.MODE_ATTR, ModeToggle.BREW_MODE);
89
- sessionStorage.setItem(ModeToggle.MODE_KEY, ModeToggle.BREW_MODE);
90
- }
91
-
92
82
  clearMode() {
93
83
  $('html').removeAttr(ModeToggle.MODE_ATTR);
94
84
  sessionStorage.removeItem(ModeToggle.MODE_KEY);
@@ -0,0 +1,108 @@
1
+ <div class="theme-toggle">
2
+ <input type="checkbox" id="theme-switch">
3
+ <label for="theme-switch">
4
+ <div class="toggle"></div>
5
+ <div class="names">
6
+ <p class="light">Light</p>
7
+ <p class="dark">Dark</p>
8
+ </div>
9
+ </label>
10
+ </div>
11
+
12
+ {%- assign name = 'night_mode' -%}
13
+ {%- include functions.html func='get_value' default='auto' -%}
14
+ {%- assign night_mode = return -%}
15
+
16
+ <script>
17
+ (function() {
18
+ var sw = document.getElementById('theme-switch');
19
+ var html = document.getElementsByTagName('html')[0];
20
+ var nightModeOption = ('{{ night_mode }}' || 'auto').toLowerCase();
21
+ var storage = nightModeOption === 'manual'
22
+ ? localStorage
23
+ : sessionStorage;
24
+ var themeData = loadThemeData();
25
+
26
+ function saveThemeData(data) {
27
+ storage.setItem('theme', JSON.stringify(data));
28
+ }
29
+
30
+ function loadThemeData() {
31
+ var data = storage.getItem('theme');
32
+ try {
33
+ data = JSON.parse(data ? data : '');
34
+ } catch(e) {
35
+ data = { nightShift: undefined, autoToggleAt: 0 };
36
+ saveThemeData(data);
37
+ }
38
+ return data;
39
+ }
40
+
41
+ function handleThemeToggle(nightShift) {
42
+ themeData.nightShift = nightShift;
43
+ saveThemeData(themeData);
44
+ html.dataset.theme = nightShift ? 'dark' : 'light';
45
+ setTimeout(function() {
46
+ sw.checked = nightShift ? true : false;
47
+ }, 50);
48
+ }
49
+
50
+ function autoThemeToggle() {
51
+ // Next time point of theme toggle
52
+ var now = new Date();
53
+ var toggleAt = new Date();
54
+ var hours = now.getHours();
55
+ var nightShift = hours >= 19 || hours <=7;
56
+
57
+ if (nightShift) {
58
+ if (hours > 7) {
59
+ toggleAt.setDate(toggleAt.getDate() + 1);
60
+ }
61
+ toggleAt.setHours(7);
62
+ } else {
63
+ toggleAt.setHours(19);
64
+ }
65
+
66
+ toggleAt.setMinutes(0);
67
+ toggleAt.setSeconds(0);
68
+ toggleAt.setMilliseconds(0)
69
+
70
+ var delay = toggleAt.getTime() - now.getTime();
71
+
72
+ // auto toggle theme mode
73
+ setTimeout(function() {
74
+ handleThemeToggle(!nightShift);
75
+ }, delay);
76
+
77
+ return {
78
+ nightShift: nightShift,
79
+ toggleAt: toggleAt.getTime()
80
+ };
81
+ }
82
+
83
+ // Listen the theme toggle event
84
+ sw.addEventListener('change', function(event) {
85
+ handleThemeToggle(event.target.checked);
86
+ });
87
+
88
+ if (nightModeOption == 'auto') {
89
+ var data = autoThemeToggle();
90
+
91
+ // Toggle theme by local setting
92
+ if (data.toggleAt > themeData.autoToggleAt) {
93
+ themeData.autoToggleAt = data.toggleAt;
94
+ handleThemeToggle(data.nightShift);
95
+ } else {
96
+ handleThemeToggle(themeData.nightShift);
97
+ }
98
+ } else if (nightModeOption == 'manual') {
99
+ handleThemeToggle(themeData.nightShift);
100
+ } else {
101
+ var nightShift = themeData.nightShift;
102
+ if (nightShift === undefined) {
103
+ nightShift = nightModeOption === 'on';
104
+ }
105
+ handleThemeToggle(nightShift);
106
+ }
107
+ })();
108
+ </script>
@@ -0,0 +1,26 @@
1
+ {% if include.selector %}
2
+ {% assign selector = include.selector %}
3
+ {% endif %}
4
+
5
+ {% if include.seed %}
6
+ {% assign seed = include.seed %}
7
+ {% endif %}
8
+
9
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/2.0.0/trianglify.min.js"></script>
10
+ <script>
11
+ function setRandomBgImage(selector, seed, zoom) {
12
+ var element = document.querySelector(selector);
13
+ if (!element) return;
14
+ var pattern = Trianglify({
15
+ width: screen.width * zoom,
16
+ height: element.offsetHeight * zoom,
17
+ seed: seed
18
+ });
19
+
20
+ var image = document.createElement("div");
21
+ image.style.backgroundImage = "url(" + pattern.png() + ")";
22
+ element.appendChild(image);
23
+ }
24
+
25
+ setRandomBgImage('{{ selector }}', '{{ seed }}', {{ zoom | default: 1}});
26
+ </script>
@@ -0,0 +1,33 @@
1
+ {% if include.params.article %}
2
+ {% assign article = include.params.article %}
3
+ {% endif %}
4
+
5
+ {% if include.params.lang %}
6
+ {% assign lang = include.params.lang %}
7
+ {% else %}
8
+ {% assign lang = lang | default: site.lang | default: "en" %}
9
+ {% endif %}
10
+
11
+ {% if include.params.excerpt_size %}
12
+ {% assign excerpt_size = include.params.excerpt_size %}
13
+ {% else %}
14
+ {% assign excerpt_size = excerpt_size | default: site.excerpt_size | default: 350 %}
15
+ {% endif %}
16
+
17
+ {%- include functions.html func='get_article_words' -%}
18
+ {% assign words = return %}
19
+
20
+ {% assign _article = article | strip_html %}
21
+ {% assign _words = _article | size %}
22
+
23
+ {% assign _size = excerpt_size %}
24
+
25
+ {% if lang != "en" %}
26
+ {% assign _size = words | times: 1.0 | divided_by: _words | times: _size | round %}
27
+ {% endif %}
28
+
29
+ {% if _size > excerpt_size %}
30
+ {% assign _size = excerpt_size %}
31
+ {% endif %}
32
+
33
+ {% assign return = _article | truncate: _size %}
@@ -0,0 +1,18 @@
1
+ {% if include.params.article %}
2
+ {% assign article = include.params.article %}
3
+ {% endif %}
4
+
5
+ {% if include.params.lang %}
6
+ {% assign lang = include.params.lang %}
7
+ {% else %}
8
+ {% assign lang = lang | default: site.lang | default: "en" %}
9
+ {% endif %}
10
+
11
+ {% assign words = article | number_of_words %}
12
+
13
+ {% if lang != "en" %}
14
+ {% assign words = words | times: 0.6 | round %}
15
+ {% assign words = article | strip_html | strip_newlines | size | times: 0.4 | plus: words | round %}
16
+ {% endif %}
17
+
18
+ {% assign return = words %}
@@ -0,0 +1,67 @@
1
+ {%- include functions.html func='log' level='debug' msg='Get banner value' -%}
2
+ {% assign name = 'banner' %}
3
+ {%- include functions.html func='get_value' -%}
4
+ {% assign banner = return %}
5
+
6
+ {%- if banner.first -%}
7
+ {%- include functions.html func='log' level='debug' msg='Get banner_image value' -%}
8
+ {% assign name = 'banner.image' %}
9
+ {%- include functions.html func='get_value' -%}
10
+ {% assign banner_image = return | relative_url %}
11
+ {%- else -%}
12
+ {% assign banner_image = banner | relative_url %}
13
+ {%- endif -%}
14
+
15
+ {%- include functions.html func='log' level='debug' msg='Get banner_background value' -%}
16
+ {% assign name = 'banner.background' %}
17
+ {%- include functions.html func='get_value' -%}
18
+ {% assign banner_background = return %}
19
+
20
+ {%- include functions.html func='log' level='debug' msg='Get banner_opacity value' -%}
21
+ {% assign name = 'banner.opacity' %}
22
+ {%- include functions.html func='get_value' -%}
23
+ {% assign banner_opacity = return %}
24
+
25
+ {%- include functions.html func='log' level='debug' msg='Get banner_height value' -%}
26
+ {% assign name = 'banner.height' %}
27
+ {%- include functions.html func='get_value' -%}
28
+ {% assign banner_height = return %}
29
+
30
+ {%- include functions.html func='log' level='debug' msg='Get banner_min_height value' -%}
31
+ {% assign name = 'banner.min_height' %}
32
+ {%- include functions.html func='get_value' -%}
33
+ {% assign banner_min_height = return %}
34
+
35
+ {%- include functions.html func='log' level='debug' msg='Get banner_heading_style value' -%}
36
+ {% assign name = 'banner.heading_style' %}
37
+ {%- include functions.html func='get_value' -%}
38
+ {% assign banner_heading_style = return %}
39
+
40
+ {%- include functions.html func='log' level='debug' msg='Get banner_subheading_style value' -%}
41
+ {% assign name = 'banner.subheading_style' %}
42
+ {%- include functions.html func='get_value' -%}
43
+ {% assign banner_subheading_style = return %}
44
+
45
+ {%- include functions.html func='log' level='debug' msg='Get banner_video value' -%}
46
+ {% assign name = 'banner.video' %}
47
+ {%- include functions.html func='get_value' -%}
48
+ {% assign banner_video = return %}
49
+
50
+ {%- include functions.html func='log' level='debug' msg='Get banner_loop value' -%}
51
+ {% assign name = 'banner.loop' %}
52
+ {%- include functions.html func='get_value' default=true -%}
53
+ {% assign banner_loop = return %}
54
+
55
+ {%- include functions.html func='log' level='debug' msg='Get banner_volume value' -%}
56
+ {% assign name = 'banner.volume' %}
57
+ {%- include functions.html func='get_value' default=0 -%}
58
+ {% assign banner_volume = return %}
59
+
60
+ {%- include functions.html func='log' level='debug' msg='Get banner_start_at value' -%}
61
+ {% assign name = 'banner.start_at' %}
62
+ {%- include functions.html func='get_value' default=0 -%}
63
+ {% assign banner_start_at = return %}
64
+
65
+ {% if banner_image or banner_video %}
66
+ {% assign has_banner = true %}
67
+ {% endif %}
@@ -0,0 +1,9 @@
1
+ {% assign split_mark = '<|>' %}
2
+
3
+ {% assign categories = '' %}
4
+ {% for category in site.categories %}
5
+ {% assign name = category | first %}
6
+ {% assign categories = categories | append: split_mark | append: name %}
7
+ {% endfor %}
8
+
9
+ {% assign return = categories | remove_first: split_mark | split: split_mark | sort: self %}
@@ -0,0 +1,13 @@
1
+ {% if include.params.filter %}
2
+ {% assign filter = include.params.filter %}
3
+ {% endif %}
4
+
5
+ {% assign split_mark = '<|>' %}
6
+
7
+ {% assign dates = '' %}
8
+ {% for post in site.posts %}
9
+ {% assign name = post.date | date: filter %}
10
+ {% assign dates = dates | append: split_mark | append: name %}
11
+ {% endfor %}
12
+
13
+ {% assign return = dates | remove_first: split_mark | split: split_mark | sort: self | uniq %}
@@ -0,0 +1,39 @@
1
+ {% if include.params.article %}
2
+ {% assign article = include.params.article %}
3
+ {% endif %}
4
+
5
+ {% if include.params.lang %}
6
+ {% assign lang = include.params.lang %}
7
+ {% else %}
8
+ {% assign lang = lang | default: site.lang | default: "en" %}
9
+ {% endif %}
10
+
11
+ {% if include.params.speed %}
12
+ {% assign speed = include.params.speed %}
13
+ {% else %}
14
+ {% assign speed = 160 %}
15
+ {% endif %}
16
+
17
+ {%- include functions.html func='get_article_words' -%}
18
+ {% assign words = return %}
19
+
20
+ {% assign total_mins = words | divided_by: speed | at_least: 1 %}
21
+
22
+ {% assign hours = total_mins | divided_by: 60 %}
23
+ {% assign mins = total_mins | modulo: 60 %}
24
+
25
+ {% assign return = "About" %}
26
+
27
+ {% if hours > 0 %}
28
+ {% assign unit = "hour" %}
29
+ {% if hours > 1 %}
30
+ {% assign unit = unit | append: "s" %}
31
+ {% endif %}
32
+ {% assign return = return | append: " " | append: hours | append: " " | append: unit %}
33
+ {% endif %}
34
+
35
+ {% assign unit = "min" %}
36
+ {% if mins > 1 %}
37
+ {% assign unit = unit | append: "s" %}
38
+ {% endif %}
39
+ {% assign return = return | append: " " | append: mins | append: " " | append: unit %}
@@ -0,0 +1,9 @@
1
+ {% assign split_mark = '<|>' %}
2
+
3
+ {% assign tags = '' %}
4
+ {% for tag in site.tags %}
5
+ {% assign name = tag | first %}
6
+ {% assign tags = tags | append: split_mark | append: name %}
7
+ {% endfor %}
8
+
9
+ {% assign return = tags | remove_first: split_mark | split: split_mark | sort: self %}
@@ -0,0 +1,41 @@
1
+ {%- if include.params.name -%}
2
+ {%- assign name = include.params.name -%}
3
+ {%- endif -%}
4
+
5
+ {%- assign return = nil -%}
6
+
7
+ {%- assign keys = name | split:'.' -%}
8
+ {%- assign name = keys.first -%}
9
+ {%- assign keys = keys | shift -%}
10
+
11
+ {%- for step in (1..7) -%}
12
+
13
+ {%- case step -%}
14
+ {%- when 1 -%}
15
+ {%- assign return = page[name] -%}
16
+ {%- when 2 -%}
17
+ {%- assign return = site[name] -%}
18
+ {%- when 3 -%}
19
+ {%- assign return = site.data[name] -%}
20
+ {%- when 4 -%}
21
+ {%- assign return = site.defaults[page.layout][name] -%}
22
+ {%- when 5 -%}
23
+ {%- assign return = site.data.defaults[page.layout][name] -%}
24
+ {%- when 6 -%}
25
+ {%- assign return = layout[name] -%}
26
+ {%- else -%}
27
+ {%- assign return = include.params.default -%}
28
+ {%- endcase -%}
29
+
30
+ {%- for key in keys -%}
31
+ {%- assign return = return[key] -%}
32
+ {%- if return == nil -%}
33
+ {%- break -%}
34
+ {%- endif -%}
35
+ {%- endfor -%}
36
+
37
+ {%- if return != nil -%}
38
+ {%- break -%}
39
+ {%- endif -%}
40
+
41
+ {%- endfor -%}
@@ -1,18 +1,18 @@
1
- {% assign urls = include.urls | split: ',' %}
2
- {% assign combined_urls = nil %}
3
- {% assign domain = 'https://cdn.jsdelivr.net/' %}
4
- {% for url in urls %}
5
- {% if url contains domain %}
6
- {% assign url_snippet = url | slice: domain.size, url.size %}
7
- {% if combined_urls %}
8
- {% assign combined_urls = combined_urls | append: ',' | append: url_snippet %}
9
- {% else %}
10
- {% assign combined_urls = domain | append: 'combine/' | append: url_snippet %}
11
- {% endif %}
12
- {% elsif url contains '//' %}
13
- <script src="{{ url }}"></script>
14
- {% else %}
15
- <script src="{{ url | relative_url }}"></script>
16
- {% endif %}
17
- {% endfor %}
18
- {% if combined_urls %}<script src="{{ combined_urls }}"></script>{% endif %}
1
+ {% assign urls = include.urls | split: ',' %}
2
+ {% assign combined_urls = nil %}
3
+ {% assign domain = 'https://cdn.jsdelivr.net/' %}
4
+ {% for url in urls %}
5
+ {% if url contains domain %}
6
+ {% assign url_snippet = url | slice: domain.size, url.size %}
7
+ {% if combined_urls %}
8
+ {% assign combined_urls = combined_urls | append: ',' | append: url_snippet %}
9
+ {% else %}
10
+ {% assign combined_urls = domain | append: 'combine/' | append: url_snippet %}
11
+ {% endif %}
12
+ {% elsif url contains '//' %}
13
+ <script src="{{ url }}"></script>
14
+ {% else %}
15
+ <script src="{{ url | relative_url }}"></script>
16
+ {% endif %}
17
+ {% endfor %}
18
+ {% if combined_urls %}<script src="{{ combined_urls }}"></script>{% endif %}
@@ -0,0 +1,17 @@
1
+ {% if include.params.level %}
2
+ {% assign level = include.params.level %}
3
+ {% endif %}
4
+
5
+ {% if include.params.msg %}
6
+ {% assign msg = include.params.msg %}
7
+ {% endif %}
8
+
9
+ {% if site.debug == true %}
10
+ {% if level == 'debug' %}
11
+ {% if jekyll.environment == "development" %}
12
+ <!-- {{ msg }} -->
13
+ {% endif %}
14
+ {% else %}
15
+ <!-- {{ msg }} -->
16
+ {% endif %}
17
+ {% endif %}
data/_includes/head.html CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  <title>{% unless page.layout == "home" %}{{ page.title | append: " | "}}{% endunless %}{{ site.title }}</title>
26
26
 
27
- {% include favicons.html %}
27
+ {% include elements/favicons.html %}
28
28
 
29
29
  {% if site.resources.ignore_env != jekyll.environment and site.resources.self_hosted %}
30
30
  <link href="{{ site.data.assets[origin].webfonts | relative_url }}" rel="stylesheet">
@@ -36,8 +36,8 @@
36
36
  <link rel="stylesheet" href="{{ site.data.assets[origin].webfonts | relative_url }}">
37
37
  {% endif %}
38
38
 
39
- {% if jekyll.environment == 'production' and site.google_analytics.id != empty and site.google_analytics.id %}
40
- {% include ga-site-tag.html %}
39
+ {% if jekyll.environment == 'production' and site.google_analytics != empty %}
40
+ {% include extensions/google-analytics.html %}
41
41
  {% endif %}
42
42
 
43
43
  <!-- Bootstrap -->
@@ -66,7 +66,7 @@
66
66
  <script src="{{ site.data.assets[origin].jquery.js | relative_url }}"></script>
67
67
 
68
68
  {% unless site.theme_mode %}
69
- {% include mode-toggle.html %}
69
+ {% include extensions/theme-mode.html %}
70
70
  {% endunless %}
71
71
 
72
72
  </head>
File without changes
File without changes
@@ -0,0 +1,9 @@
1
+ <!-- HEADER-BANNER -->
2
+
3
+ <header id="banner">
4
+ <div id="header">
5
+ {% ifhascontent header %}
6
+ {% contentblock header %}
7
+ {% endifhascontent %}
8
+ </div>
9
+ </header>