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.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +187 -52
- data/_config.yml +28 -22
- data/_data/assets/cross-origin.yml +1 -7
- data/_data/assets/self-host.yml +0 -6
- data/_data/authors.yml +0 -0
- data/_data/contact.yml +0 -0
- data/_data/locale/en.yml +63 -58
- data/_data/locale/es-ES.yml +79 -0
- data/_data/locale/fr-FR.yml +79 -0
- data/_data/locale/id-ID.yml +79 -0
- data/_data/locale/ko-KR.yml +79 -0
- data/_data/locale/my-MM.yml +79 -0
- data/_data/locale/pt-BR.yml +79 -0
- data/_data/locale/ru-RU.yml +79 -0
- data/_data/locale/uk-UA.yml +79 -0
- data/_data/locale/vi-VN.yml +77 -0
- data/_data/locale/zh-CN.yml +78 -0
- data/_data/share.yml +0 -0
- data/{_includes/comments.html → _drafts/.gitkeep} +0 -0
- data/_includes/{breadcrumbs.html → components/breadcrumbs.html} +0 -0
- data/_includes/{datetime.html → components/datetime.html} +0 -0
- data/_includes/{favicons.html → components/favicons.html} +14 -14
- data/_includes/{javascript.html → components/javascript.html} +8 -31
- data/_includes/{no-linenos.html → components/jumbotron.html} +0 -0
- data/_includes/components/lang.html +11 -0
- data/_includes/{navbar.html → components/navbar.html} +13 -6
- data/_includes/{pagination.html → components/no-linenos.html} +0 -0
- data/_includes/{options.html → components/options.html} +13 -13
- data/_includes/{post-nav.html → components/pagination.html} +0 -0
- data/_includes/{readtime.html → components/readtime.html} +0 -0
- data/_includes/{related-posts.html → components/related-posts.html} +0 -0
- data/_includes/{search-loader.html → components/search-loader.html} +46 -46
- data/_includes/{search-results.html → components/search-results.html} +0 -0
- data/_includes/{toc.html → components/toc.html} +0 -0
- data/_includes/{back-to-top.html → extensions/back-to-top.html} +2 -2
- data/_includes/extensions/code-highlight.html +89 -0
- data/_includes/extensions/comments/disqus.html +17 -0
- data/_includes/extensions/comments/giscus.html +56 -0
- data/_includes/extensions/comments/gitment.html +15 -0
- data/_includes/extensions/comments/utterances.html +46 -0
- data/_includes/extensions/geopattern.html +19 -0
- data/_includes/extensions/google-analytics.html +7 -0
- data/_includes/{google-tags-body.html → extensions/google-tags-body.html} +3 -3
- data/_includes/{google-tags-head.html → extensions/google-tags-head.html} +5 -5
- data/_includes/extensions/google-translate.html +108 -0
- data/_includes/extensions/hashlocate.html +44 -0
- data/_includes/extensions/mathjax.html +9 -0
- data/_includes/{mode-toggle.html → extensions/theme-mode.html} +0 -10
- data/_includes/extensions/theme-toggle.html +108 -0
- data/_includes/extensions/trianglify.html +26 -0
- data/_includes/functions/get-article-excerpt.html +33 -0
- data/_includes/functions/get-article-words.html +18 -0
- data/_includes/functions/get-banner.html +67 -0
- data/_includes/functions/get-categories.html +9 -0
- data/_includes/functions/get-datetimes.html +13 -0
- data/_includes/functions/get-reading-time.html +39 -0
- data/_includes/functions/get-tags.html +9 -0
- data/_includes/functions/get-value.html +41 -0
- data/_includes/{jsdelivr-combine.html → functions/js-combine.html} +18 -18
- data/_includes/functions/log.html +17 -0
- data/_includes/head.html +4 -4
- data/_includes/{copyright.html → views/copyright.html} +0 -0
- data/_includes/{footer.html → views/footer.html} +0 -0
- data/_includes/views/header-banner.html +9 -0
- data/_includes/views/header-wide.html +9 -0
- data/_includes/views/header.html +9 -0
- data/_includes/{panel-bottom.html → views/panel-bottom.html} +0 -0
- data/_includes/{panel-foot-2.html → views/panel-foot-2.html} +0 -0
- data/_includes/{panel-foot-3.html → views/panel-foot-3.html} +0 -0
- data/_includes/{panel-foot-4.html → views/panel-foot-4.html} +0 -0
- data/_includes/{panel-foot-full.html → views/panel-foot-full.html} +0 -0
- data/_includes/{panel-top-2.html → views/panel-top-2.html} +0 -0
- data/_includes/{panel-top-3.html → views/panel-top-3.html} +0 -0
- data/_includes/{panel-top-4.html → views/panel-top-4.html} +0 -0
- data/_includes/{panel-top-full.html → views/panel-top-full.html} +0 -0
- data/_includes/{post-share.html → views/post-nav.html} +0 -0
- data/_includes/{sidebar.html → views/post-share.html} +0 -0
- data/{_sass/addon/syntax.scss → _includes/views/sidebar.html} +0 -0
- data/_layouts/archive.html +5 -0
- data/_layouts/categories.html +5 -0
- data/_layouts/category.html +5 -0
- data/_layouts/compress.html +10 -10
- data/_layouts/default.html +0 -0
- data/_layouts/error.html +44 -0
- data/_layouts/errors/404.html +9 -0
- data/_layouts/home.html +5 -0
- data/_layouts/page.html +5 -5
- data/_layouts/panel-both.html +13 -13
- data/_layouts/panel-left.html +13 -13
- data/_layouts/panel-none.html +28 -30
- data/_layouts/panel-right.html +13 -13
- data/_layouts/post.html +5 -5
- data/_layouts/tag.html +5 -0
- data/_layouts/tags.html +5 -0
- data/{_sass/layout/page.scss → _posts/.gitkeep} +0 -0
- data/_sass/{layout/panel-both.scss → includes/components/_accordian.scss} +0 -0
- data/_sass/includes/components/_alert.scss +22 -0
- data/_sass/{layout/panel-left.scss → includes/components/_badge.scss} +0 -0
- data/_sass/{layout/panel-right.scss → includes/components/_button-group.scss} +0 -0
- data/_sass/{layout/post.scss → includes/components/_buttons.scss} +0 -0
- data/_sass/includes/components/_card.scss +0 -0
- data/_sass/includes/components/_carousel.scss +0 -0
- data/_sass/includes/components/_close.scss +0 -0
- data/_sass/includes/components/_containers.scss +0 -0
- data/_sass/includes/components/_dropdown.scss +16 -0
- data/_sass/includes/components/_forms.scss +0 -0
- data/_sass/includes/components/_images.scss +0 -0
- data/_sass/includes/components/_jumbotron.scss +0 -0
- data/_sass/includes/components/_list-group.scss +0 -0
- data/_sass/includes/components/_mixins.scss +28 -0
- data/_sass/includes/components/_modal.scss +0 -0
- data/_sass/includes/components/_nav.scss +0 -0
- data/_sass/includes/components/_offcanvas.scss +0 -0
- data/_sass/includes/components/_popover.scss +0 -0
- data/_sass/includes/components/_progress.scss +0 -0
- data/_sass/includes/components/_spinners.scss +0 -0
- data/_sass/includes/components/_tables.scss +0 -0
- data/_sass/includes/components/_toasts.scss +0 -0
- data/_sass/includes/components/_tooltip.scss +0 -0
- data/_sass/includes/components/_transitions.scss +0 -0
- data/_sass/includes/components/_type.scss +0 -0
- data/_sass/includes/components/forms/_floating-labels.scss +0 -0
- data/_sass/includes/components/forms/_form-check.scss +0 -0
- data/_sass/includes/components/forms/_form-control.scss +0 -0
- data/_sass/includes/components/forms/_form-range.scss +0 -0
- data/_sass/includes/components/forms/_form-select.scss +0 -0
- data/_sass/includes/components/forms/_form-text.scss +0 -0
- data/_sass/includes/components/forms/_input-group.scss +0 -0
- data/_sass/includes/components/forms/_labels.scss +0 -0
- data/_sass/includes/components/forms/_validation.scss +0 -0
- data/_sass/includes/components/helpers/_clearfix.scss +0 -0
- data/_sass/includes/components/helpers/_colored-links.scss +0 -0
- data/_sass/includes/components/helpers/_position.scss +0 -0
- data/_sass/includes/components/helpers/_ratio.scss +0 -0
- data/_sass/includes/components/helpers/_stretched-link.scss +0 -0
- data/_sass/includes/components/helpers/_text-truncation.scss +0 -0
- data/_sass/includes/components/helpers/_visually-hidden.scss +0 -0
- data/_sass/includes/components/mixins/_alert.scss +0 -0
- data/_sass/includes/components/mixins/_border-radius.scss +0 -0
- data/_sass/includes/components/mixins/_box-shadow.scss +9 -0
- data/_sass/includes/components/mixins/_breakpoints.scss +0 -0
- data/_sass/includes/components/mixins/_buttons.scss +0 -0
- data/_sass/includes/components/mixins/_caret.scss +0 -0
- data/_sass/includes/components/mixins/_clearfix.scss +0 -0
- data/_sass/includes/components/mixins/_color-scheme.scss +0 -0
- data/_sass/includes/components/mixins/_container.scss +0 -0
- data/_sass/includes/components/mixins/_deprecate.scss +0 -0
- data/_sass/includes/components/mixins/_forms.scss +10 -0
- data/_sass/includes/components/mixins/_gradients.scss +0 -0
- data/_sass/includes/components/mixins/_grid.scss +0 -0
- data/_sass/includes/components/mixins/_image.scss +0 -0
- data/_sass/includes/components/mixins/_list-group.scss +0 -0
- data/_sass/includes/components/mixins/_lists.scss +0 -0
- data/_sass/includes/components/mixins/_pagination.scss +0 -0
- data/_sass/includes/components/mixins/_reset-text.scss +0 -0
- data/_sass/includes/components/mixins/_resize.scss +0 -0
- data/_sass/includes/components/mixins/_table-variants.scss +0 -0
- data/_sass/includes/components/mixins/_text-truncate.scss +0 -0
- data/_sass/includes/components/mixins/_transition.scss +0 -0
- data/_sass/includes/components/mixins/_utilities.scss +0 -0
- data/_sass/includes/components/mixins/_visually-hidden.scss +0 -0
- data/_sass/includes/elements/_breadcrumb.scss +0 -0
- data/_sass/includes/elements/_datetime.scss +0 -0
- data/_sass/includes/elements/_navbar.scss +59 -0
- data/_sass/includes/elements/_pagination.scss +0 -0
- data/_sass/includes/elements/_readtime.scss +0 -0
- data/_sass/includes/elements/_related-posts.scss +0 -0
- data/_sass/includes/elements/_search-results.scss +0 -0
- data/_sass/includes/elements/_toc.scss +0 -0
- data/_sass/includes/extensions/_back-to-top.scss +0 -0
- data/_sass/includes/extensions/_code-highlight.scss +0 -0
- data/_sass/includes/extensions/_geopattern.scss +0 -0
- data/_sass/includes/extensions/_mathjax.scss +0 -0
- data/_sass/includes/extensions/_theme-mode.scss +0 -0
- data/_sass/includes/extensions/_theme-toggle.scss +0 -0
- data/_sass/includes/extensions/_trianglify.scss +0 -0
- data/_sass/includes/extensions/comments/_disqus.scss +0 -0
- data/_sass/includes/extensions/comments/_giscus.scss +0 -0
- data/_sass/includes/extensions/comments/_gitment.scss +0 -0
- data/_sass/includes/extensions/comments/_utterances.scss +0 -0
- data/_sass/includes/views/_copyright.scss +0 -0
- data/_sass/includes/views/_footer.scss +0 -0
- data/_sass/includes/views/_header-banner.scss +57 -0
- data/_sass/includes/views/_header-wide.scss +57 -0
- data/_sass/includes/views/_header.scss +57 -0
- data/_sass/includes/views/_panel-bottom.scss +0 -0
- data/_sass/includes/views/_panel-foot-2.scss +0 -0
- data/_sass/includes/views/_panel-foot-3.scss +0 -0
- data/_sass/includes/views/_panel-foot-4.scss +0 -0
- data/_sass/includes/views/_panel-foot-full.scss +0 -0
- data/_sass/includes/views/_panel-top-2.scss +0 -0
- data/_sass/includes/views/_panel-top-3.scss +0 -0
- data/_sass/includes/views/_panel-top-4.scss +0 -0
- data/_sass/includes/views/_panel-top-full.scss +0 -0
- data/_sass/includes/views/_post-nav.scss +0 -0
- data/_sass/includes/views/_post-share.scss +0 -0
- data/_sass/includes/views/_sidebar.scss +0 -0
- data/_sass/layouts/_base.scss +159 -0
- data/_sass/layouts/_breakpoints.scss +18 -0
- data/_sass/layouts/archive.scss +0 -0
- data/_sass/layouts/categories.scss +0 -0
- data/_sass/layouts/category.scss +0 -0
- data/_sass/layouts/error.scss +0 -0
- data/_sass/layouts/page.scss +0 -0
- data/_sass/layouts/panel-both.scss +3 -0
- data/_sass/layouts/panel-left.scss +3 -0
- data/_sass/layouts/panel-none.scss +100 -0
- data/_sass/layouts/panel-right.scss +3 -0
- data/_sass/layouts/post.scss +0 -0
- data/_sass/layouts/tag.scss +0 -0
- data/_sass/layouts/tags.scss +0 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_accordion.scss +118 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_alert.scss +57 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_badge.scss +29 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_breadcrumb.scss +28 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_button-group.scss +139 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_buttons.scss +111 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_card.scss +215 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_carousel.scss +229 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_close.scss +40 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_containers.scss +41 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_dropdown.scss +240 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_forms.scss +9 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_functions.scss +263 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_grid.scss +22 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_helpers.scss +7 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_images.scss +42 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_list-group.scss +174 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_mixins.scss +42 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_modal.scss +219 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_nav.scss +139 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_navbar.scss +308 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_offcanvas.scss +79 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_pagination.scss +64 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_popover.scss +158 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_progress.scss +48 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_reboot.scss +621 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_root.scss +16 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_spinners.scss +69 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_tables.scss +151 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_toasts.scss +51 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_tooltip.scss +115 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_transitions.scss +21 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_type.scss +104 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_utilities.scss +594 -0
- data/_sass/lib/bootstrap-5.0.2/scss/_variables.scss +1468 -0
- data/_sass/lib/bootstrap-5.0.2/scss/bootstrap-grid.scss +65 -0
- data/_sass/lib/bootstrap-5.0.2/scss/bootstrap-reboot.scss +15 -0
- data/_sass/lib/bootstrap-5.0.2/scss/bootstrap-utilities.scss +18 -0
- data/_sass/lib/bootstrap-5.0.2/scss/bootstrap.scss +52 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_floating-labels.scss +63 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-check.scss +152 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-control.scss +219 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-range.scss +91 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-select.scss +70 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_form-text.scss +11 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_input-group.scss +121 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_labels.scss +36 -0
- data/_sass/lib/bootstrap-5.0.2/scss/forms/_validation.scss +12 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_clearfix.scss +3 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_colored-links.scss +12 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_position.scss +30 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_ratio.scss +26 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_stretched-link.scss +15 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_text-truncation.scss +7 -0
- data/_sass/lib/bootstrap-5.0.2/scss/helpers/_visually-hidden.scss +8 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_alert.scss +11 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_border-radius.scss +78 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_box-shadow.scss +18 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_breakpoints.scss +127 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_buttons.scss +133 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_caret.scss +64 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_clearfix.scss +9 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_color-scheme.scss +7 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_container.scss +9 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_deprecate.scss +10 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_forms.scss +144 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_gradients.scss +47 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_grid.scss +132 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_image.scss +16 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_list-group.scss +24 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_lists.scss +7 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_pagination.scss +31 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_reset-text.scss +17 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_resize.scss +6 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_table-variants.scss +21 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_text-truncate.scss +8 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_transition.scss +26 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_utilities.scss +68 -0
- data/_sass/lib/bootstrap-5.0.2/scss/mixins/_visually-hidden.scss +29 -0
- data/_sass/lib/bootstrap-5.0.2/scss/utilities/_api.scss +47 -0
- data/_sass/lib/bootstrap-5.0.2/scss/vendor/_rfs.scss +354 -0
- data/_sass/redeyed-jekyll-theme.scss +57 -23
- data/_sass/theme/common.scss +98 -0
- data/_sass/theme/mixins.scss +103 -0
- data/_sass/theme/scheme-brew.scss +3 -0
- data/_sass/theme/scheme-dark.scss +244 -0
- data/_sass/theme/scheme-light.scss +225 -0
- data/_sass/theme/syntax-dark.scss +150 -0
- data/_sass/{colors/light-syntax.scss → theme/syntax-light.scss} +5 -5
- data/_sass/theme/syntax.scss +246 -0
- data/_sass/theme/typography.scss +151 -0
- data/_sass/theme/variables.scss +751 -0
- data/_sass/variables-hook.scss +3 -0
- data/assets/css/style.scss +53 -0
- data/assets/img/banner.svg +40 -0
- data/assets/img/d20R/d20R-128.png +0 -0
- data/assets/img/d20R/d20R-16.png +0 -0
- data/assets/img/d20R/d20R-200.png +0 -0
- data/assets/img/d20R/d20R-240.png +0 -0
- data/assets/img/d20R/d20R-32.png +0 -0
- data/assets/img/d20R/d20R-320.png +0 -0
- data/assets/img/d20R/d20R-48.png +0 -0
- data/assets/img/d20R/d20R-500.png +0 -0
- data/assets/img/d20R/d20R-600.png +0 -0
- data/assets/img/d20R/d20R-64.png +0 -0
- data/assets/img/d20R/d20R.svg +0 -0
- data/assets/img/d20RB/d20RB-128.png +0 -0
- data/assets/img/d20RB/d20RB-16.png +0 -0
- data/assets/img/d20RB/d20RB-200.png +0 -0
- data/assets/img/d20RB/d20RB-240.png +0 -0
- data/assets/img/d20RB/d20RB-32.png +0 -0
- data/assets/img/d20RB/d20RB-320.png +0 -0
- data/assets/img/d20RB/d20RB-48.png +0 -0
- data/assets/img/d20RB/d20RB-500.png +0 -0
- data/assets/img/d20RB/d20RB-600.png +0 -0
- data/assets/img/d20RB/d20RB-64.png +0 -0
- data/assets/img/d20RB/d20RB.svg +0 -0
- data/assets/img/favicons/android-chrome-192x192.png +0 -0
- data/assets/img/favicons/android-chrome-512x512.png +0 -0
- data/assets/img/favicons/apple-touch-icon.png +0 -0
- data/assets/img/favicons/browserconfig.xml +0 -0
- data/assets/img/favicons/favicon-16x16.png +0 -0
- data/assets/img/favicons/favicon-32x32.png +0 -0
- data/assets/img/favicons/favicon-d20.ico +0 -0
- data/assets/img/favicons/favicon.ico +0 -0
- data/assets/img/favicons/mstile-150x150.png +0 -0
- data/assets/img/favicons/mstile-310x150.png +0 -0
- data/assets/img/favicons/mstile-310x310.png +0 -0
- data/assets/img/favicons/mstile-70x70.png +0 -0
- data/assets/img/favicons/safari-pinned-tab.svg +0 -0
- data/assets/img/favicons/site.webmanifest +0 -0
- data/assets/img/icons/bars-solid.svg +1 -0
- data/assets/img/social/facebook.svg +7 -0
- data/assets/img/social/github.svg +7 -0
- data/assets/img/social/guilded.svg +7 -0
- data/assets/img/social/patreon.svg +7 -0
- data/assets/img/social/reddit.svg +10 -0
- data/assets/img/social/tumblr.svg +7 -0
- data/assets/img/social/twitter.svg +7 -0
- data/assets/js/data/search.json +0 -0
- data/assets/js/data/swcache.js +0 -0
- data/assets/js/dist/categories.min.js +1 -0
- data/assets/js/dist/common.min.js +1 -0
- data/assets/js/dist/home.min.js +1 -0
- data/assets/js/dist/misc.min.js +1 -0
- data/assets/js/dist/page.min.js +1 -0
- data/assets/js/dist/post.min.js +1 -0
- data/assets/js/dist/pvreport.min.js +1 -0
- data/assets/js/fetch.js +0 -0
- data/assets/js/pwa/app.js +0 -0
- data/assets/js/pwa/sw.js +0 -0
- data/assets/js/pwa/unregister.js +0 -0
- data/assets/lib/MaterialDesign-Webfont-master/.github/ISSUE_TEMPLATE.md +3 -0
- data/assets/lib/MaterialDesign-Webfont-master/LICENSE +20 -0
- data/assets/lib/MaterialDesign-Webfont-master/README.md +25 -0
- data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.css +27458 -0
- data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.css.map +16 -0
- data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.min.css +3 -0
- data/assets/lib/MaterialDesign-Webfont-master/css/materialdesignicons.min.css.map +16 -0
- data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.eot +0 -0
- data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.ttf +0 -0
- data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.woff +0 -0
- data/assets/lib/MaterialDesign-Webfont-master/fonts/materialdesignicons-webfont.woff2 +0 -0
- data/assets/lib/MaterialDesign-Webfont-master/package.json +30 -0
- data/assets/lib/MaterialDesign-Webfont-master/preview.html +717 -0
- data/assets/lib/MaterialDesign-Webfont-master/scripts/verify.js +41 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_animated.scss +27 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_core.scss +10 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_extras.scss +65 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_functions.scss +20 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_icons.scss +10 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_path.scss +10 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/_variables.scss +6807 -0
- data/assets/lib/MaterialDesign-Webfont-master/scss/materialdesignicons.scss +8 -0
- data/assets/lib/bootstrap-5.0.2/bootstrap.bundle.min.js +7 -0
- data/assets/lib/bootstrap-5.0.2/bootstrap.min.css +7 -0
- data/assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.css +4 -0
- data/assets/lib/bootstrap-toc-1.0.1/bootstrap-toc.min.js +5 -0
- data/assets/lib/clipboard-2.0.9/clipboard.min.js +7 -0
- data/assets/lib/countup.js-1.9.3/countUp.min.js +1 -0
- data/assets/lib/dayjs-1.10.7/dayjs.min.js +1 -0
- data/assets/lib/dayjs-1.10.7/locale/en.min.js +7 -0
- data/assets/lib/dayjs-1.10.7/plugin/localizedFormat.min.js +5 -0
- data/assets/lib/dayjs-1.10.7/plugin/relativeTime.min.js +5 -0
- data/assets/lib/fonts/Alegreya/Alegreya-Italic-VariableFont_wght.ttf +0 -0
- data/assets/lib/fonts/Alegreya/Alegreya-VariableFont_wght.ttf +0 -0
- data/assets/lib/fonts/Alegreya/OFL.txt +93 -0
- data/assets/lib/fonts/Alegreya/README.txt +75 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-Black.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-BlackItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-Bold.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-ExtraBold.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-ExtraBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-Italic.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-Medium.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-Regular.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Alegreya/static/Alegreya-SemiBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Black.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-BlackItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Bold.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-ExtraBold.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-ExtraBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Italic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Medium.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/AlegreyaSC-Regular.ttf +0 -0
- data/assets/lib/fonts/Alegreya_SC/OFL.txt +93 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Black.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-BlackItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Bold.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-ExtraBold.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-ExtraBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Italic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Light.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-LightItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Medium.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Regular.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-Thin.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/AlegreyaSans-ThinItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans/OFL.txt +93 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Black.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-BlackItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Bold.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-ExtraBold.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-ExtraBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Italic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Light.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-LightItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Medium.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Regular.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-Thin.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/AlegreyaSansSC-ThinItalic.ttf +0 -0
- data/assets/lib/fonts/Alegreya_Sans_SC/OFL.txt +93 -0
- data/assets/lib/fonts/Cormorant/Cormorant-Italic-VariableFont_wght.ttf +0 -0
- data/assets/lib/fonts/Cormorant/Cormorant-VariableFont_wght.ttf +0 -0
- data/assets/lib/fonts/Cormorant/OFL.txt +93 -0
- data/assets/lib/fonts/Cormorant/README.txt +73 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-Bold.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-Italic.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-Light.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-LightItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-Medium.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-Regular.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Cormorant/static/Cormorant-SemiBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Bold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Italic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Light.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-LightItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Medium.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-Regular.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/CormorantGaramond-SemiBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Garamond/OFL.txt +93 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Bold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-BoldItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Italic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Light.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-LightItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Medium.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-MediumItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-Regular.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/CormorantInfant-SemiBoldItalic.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Infant/OFL.txt +93 -0
- data/assets/lib/fonts/Cormorant_SC/CormorantSC-Bold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_SC/CormorantSC-Light.ttf +0 -0
- data/assets/lib/fonts/Cormorant_SC/CormorantSC-Medium.ttf +0 -0
- data/assets/lib/fonts/Cormorant_SC/CormorantSC-Regular.ttf +0 -0
- data/assets/lib/fonts/Cormorant_SC/CormorantSC-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_SC/OFL.txt +93 -0
- data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Bold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Light.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Medium.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-Regular.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Unicase/CormorantUnicase-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Unicase/OFL.txt +93 -0
- data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Bold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Light.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Medium.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-Regular.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Upright/CormorantUpright-SemiBold.ttf +0 -0
- data/assets/lib/fonts/Cormorant_Upright/OFL.txt +93 -0
- data/assets/lib/fonts/Xanh_Mono/OFL.txt +93 -0
- data/assets/lib/fonts/Xanh_Mono/XanhMono-Italic.ttf +0 -0
- data/assets/lib/fonts/Xanh_Mono/XanhMono-Regular.ttf +0 -0
- data/assets/lib/fonts/fonts.css +97 -0
- data/assets/lib/jquery-3.6.0/jquery.min.js +2 -0
- data/assets/lib/lozad-1.16.0/lozad.min.js +10 -0
- data/assets/lib/magnific-popup-1.1.0/jquery.magnific-popup.min.js +4 -0
- data/assets/lib/magnific-popup-1.1.0/magnific-popup.css +2 -0
- data/assets/lib/mathjax-3.2.0/a11y/assistive-mml.js +1 -0
- data/assets/lib/mathjax-3.2.0/a11y/complexity.js +1 -0
- data/assets/lib/mathjax-3.2.0/a11y/explorer.js +1 -0
- data/assets/lib/mathjax-3.2.0/a11y/semantic-enrich.js +1 -0
- data/assets/lib/mathjax-3.2.0/adaptors/liteDOM.js +1 -0
- data/assets/lib/mathjax-3.2.0/core.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/asciimath.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/mml/entities.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/mml/extensions/mml3.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/mml/extensions/mml3.sef.json +1 -0
- data/assets/lib/mathjax-3.2.0/input/mml.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/action.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/all-packages.js +34 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/ams.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/amscd.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/autoload.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/bbox.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/boldsymbol.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/braket.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/bussproofs.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/cancel.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/centernot.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/color.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/colortbl.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/colorv2.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/configmacros.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/enclose.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/extpfeil.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/gensymb.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/html.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/mathtools.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/mhchem.js +34 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/newcommand.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/noerrors.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/noundefined.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/physics.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/require.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/setoptions.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/tagformat.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/textcomp.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/textmacros.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/unicode.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/upgreek.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex/extensions/verb.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex-base.js +1 -0
- data/assets/lib/mathjax-3.2.0/input/tex-full.js +34 -0
- data/assets/lib/mathjax-3.2.0/input/tex.js +1 -0
- data/assets/lib/mathjax-3.2.0/latest.js +1 -0
- data/assets/lib/mathjax-3.2.0/loader.js +1 -0
- data/assets/lib/mathjax-3.2.0/mml-chtml.js +1 -0
- data/assets/lib/mathjax-3.2.0/mml-svg.js +1 -0
- data/assets/lib/mathjax-3.2.0/node-main.js +1 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/tex.js +1 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
- data/assets/lib/mathjax-3.2.0/output/chtml.js +1 -0
- data/assets/lib/mathjax-3.2.0/output/svg/fonts/tex.js +1 -0
- data/assets/lib/mathjax-3.2.0/output/svg.js +1 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/de.js +125 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/en.js +131 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/es.js +122 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/fr.js +125 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/hi.js +125 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/it.js +125 -0
- data/assets/lib/mathjax-3.2.0/sre/mathmaps/nemeth.js +113 -0
- data/assets/lib/mathjax-3.2.0/sre/sre-node.js +11 -0
- data/assets/lib/mathjax-3.2.0/sre/sre_browser.js +999 -0
- data/assets/lib/mathjax-3.2.0/startup.js +1 -0
- data/assets/lib/mathjax-3.2.0/tex-chtml-full.js +34 -0
- data/assets/lib/mathjax-3.2.0/tex-chtml.js +1 -0
- data/assets/lib/mathjax-3.2.0/tex-mml-chtml.js +1 -0
- data/assets/lib/mathjax-3.2.0/tex-mml-svg.js +1 -0
- data/assets/lib/mathjax-3.2.0/tex-svg-full.js +34 -0
- data/assets/lib/mathjax-3.2.0/tex-svg.js +1 -0
- data/assets/lib/mathjax-3.2.0/ui/lazy.js +1 -0
- data/assets/lib/mathjax-3.2.0/ui/menu.js +1 -0
- data/assets/lib/mathjax-3.2.0/ui/safe.js +1 -0
- data/assets/lib/mermaid-8.13.10/mermaid.min.js +3 -0
- data/assets/lib/mermaid-8.13.10/mermaid.min.js.map +1 -0
- data/assets/lib/polyfill-v3-es6/polyfill.min.js +100 -0
- data/assets/lib/simple-jekyll-search-1.10.0/simple-jekyll-search.min.js +6 -0
- data/src/404.html +3 -10
- data/src/favicon.ico +0 -0
- data/src/feed.xml +0 -0
- data/src/index.md +0 -0
- data/src/robots.txt +0 -0
- data/src/style/html.md +0 -0
- data/src/style/index.md +0 -0
- data/src/style/markdown.md +0 -0
- metadata +720 -123
- data/_includes/ga-site-tag.html +0 -8
- data/_includes/header-banner.html +0 -1
- data/_includes/header-wide.html +0 -1
- data/_includes/header.html +0 -1
- data/_includes/lang.html +0 -6
- data/_includes/mermaid.html +0 -1
- data/_javascript/common/back-to-top.js +0 -20
- data/_javascript/common/mode-toggle.js +0 -13
- data/_javascript/common/scroll-helper.js +0 -36
- data/_javascript/common/search-display.js +0 -129
- data/_javascript/common/sidebar.js +0 -30
- data/_javascript/common/tooltip-loader.js +0 -6
- data/_javascript/common/topbar-switcher.js +0 -90
- data/_javascript/common/topbar-title.js +0 -67
- data/_javascript/utils/category-collapse.js +0 -30
- data/_javascript/utils/checkbox.js +0 -12
- data/_javascript/utils/clipboard.js +0 -133
- data/_javascript/utils/img-extra.js +0 -47
- data/_javascript/utils/locale-datetime.js +0 -45
- data/_javascript/utils/pageviews.js +0 -250
- data/_javascript/utils/smooth-scroll.js +0 -96
- data/_sass/addon/common.scss +0 -1630
- data/_sass/addon/mixins.scss +0 -144
- data/_sass/addon/variables.scss +0 -31
- data/_sass/colors/brew-scheme.scss +0 -7
- data/_sass/colors/dark-scheme.scss +0 -21
- data/_sass/colors/dark-syntax.scss +0 -88
- data/_sass/colors/light-scheme.scss +0 -7
- data/_sass/layout/panel-none.scss +0 -146
File without changes
|
File without changes
|
File without changes
|
@@ -1,14 +1,14 @@
|
|
1
|
-
{% comment %}
|
2
|
-
The Favicons for Web, Android, Microsoft, and iOS (iPhone and iPad) Apps
|
3
|
-
Generated by: https://realfavicongenerator.net/
|
4
|
-
{% endcomment %}
|
5
|
-
|
6
|
-
{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
|
7
|
-
|
8
|
-
<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
|
9
|
-
<link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
|
10
|
-
<link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
|
11
|
-
<link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
|
12
|
-
<link rel="mask-icon" href="{{ favicon_path }}/safari-pinned-tab.svg" color="#d30000">
|
13
|
-
<meta name="msapplication-TileColor" content="#000000">
|
14
|
-
<meta name="theme-color" content="#ffffff">
|
1
|
+
{% comment %}
|
2
|
+
The Favicons for Web, Android, Microsoft, and iOS (iPhone and iPad) Apps
|
3
|
+
Generated by: https://realfavicongenerator.net/
|
4
|
+
{% endcomment %}
|
5
|
+
|
6
|
+
{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
|
7
|
+
|
8
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
|
9
|
+
<link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
|
10
|
+
<link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
|
11
|
+
<link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
|
12
|
+
<link rel="mask-icon" href="{{ favicon_path }}/safari-pinned-tab.svg" color="#d30000">
|
13
|
+
<meta name="msapplication-TileColor" content="#000000">
|
14
|
+
<meta name="theme-color" content="#ffffff">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
| append: ',' | append: site.data.assets[origin].lozad.js
|
16
16
|
| append: ',' | append: site.data.assets[origin].clipboard.js
|
17
17
|
%}
|
18
|
-
{% include
|
18
|
+
{% include functions/js-combine.html urls=_urls %}
|
19
19
|
{% endif %}
|
20
20
|
|
21
21
|
{% if page.layout == 'home'
|
@@ -34,7 +34,7 @@
|
|
34
34
|
| append: ',' | append: site.data.assets[origin].dayjs.js.relativeTime
|
35
35
|
| append: ',' | append: site.data.assets[origin].dayjs.js.localizedFormat
|
36
36
|
%}
|
37
|
-
{% include
|
37
|
+
{% include functions/js-combine.html urls=_urls %}
|
38
38
|
{% endif %}
|
39
39
|
|
40
40
|
{% if page.layout == 'home'
|
@@ -53,37 +53,14 @@
|
|
53
53
|
{% capture script %}/assets/js/dist/{{ type }}.min.js{% endcapture %}
|
54
54
|
<script defer src="{{ script | relative_url }}"></script>
|
55
55
|
|
56
|
-
{% if page.math %}
|
57
|
-
<!-- MathJax -->
|
58
|
-
<script>
|
59
|
-
/* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
|
60
|
-
MathJax = {
|
61
|
-
tex: {
|
62
|
-
inlineMath: [ /* start/end delimiter pairs for in-line math */
|
63
|
-
['$','$'],
|
64
|
-
['\\(','\\)']
|
65
|
-
],
|
66
|
-
displayMath: [ /* start/end delimiter pairs for display math */
|
67
|
-
['$$', '$$'],
|
68
|
-
['\\[', '\\]']
|
69
|
-
]
|
70
|
-
}
|
71
|
-
};
|
72
|
-
</script>
|
73
|
-
<script src="{{ site.data.assets[origin].polyfill.js | relative_url }}"></script>
|
74
|
-
<script id="MathJax-script" async src="{{ site.data.assets[origin].mathjax.js | relative_url }}">
|
75
|
-
</script>
|
76
|
-
{% endif %}
|
77
|
-
|
78
56
|
<!-- Bootstrap JS -->
|
79
57
|
<script src="{{ site.data.assets[origin].bootstrap.js | relative_url }}"></script>
|
80
58
|
|
81
59
|
{% if jekyll.environment == 'production' %}
|
82
|
-
<!-- PWA -->
|
83
|
-
{% if site.pwa.enabled %}
|
84
|
-
<script defer src="{{ '/app.js' | relative_url }}"></script>
|
85
|
-
{% else %}
|
86
|
-
<script defer src="{{ '/unregister.js' | relative_url }}"></script>
|
87
|
-
{% endif %}
|
88
|
-
|
60
|
+
<!-- PWA -->
|
61
|
+
{% if site.pwa.enabled %}
|
62
|
+
<script defer src="{{ '/app.js' | relative_url }}"></script>
|
63
|
+
{% else %}
|
64
|
+
<script defer src="{{ '/unregister.js' | relative_url }}"></script>
|
65
|
+
{% endif %}
|
89
66
|
{% endif %}
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{% comment %} Detect language and return it through variable "lang" {% endcomment %}
|
2
|
+
{% if page.lang %}
|
3
|
+
{% assign lang = page.lang %}
|
4
|
+
{% elsif site.lang %}
|
5
|
+
{% assign lang = site.lang %}
|
6
|
+
{% endif %}
|
7
|
+
{% if site.data.locales[site.lang] %}
|
8
|
+
{% assign lang = site.lang %}
|
9
|
+
{% else %}
|
10
|
+
{% assign lang = 'en' %}
|
11
|
+
{% endif %}
|
@@ -1,6 +1,13 @@
|
|
1
|
-
|
2
|
-
<nav>
|
3
|
-
|
4
|
-
<
|
5
|
-
|
6
|
-
</
|
1
|
+
<!-- NAVBAR -->
|
2
|
+
<nav>
|
3
|
+
<div class="container-fluid">
|
4
|
+
<ul class="navbar-nav">
|
5
|
+
|
6
|
+
</ul>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
|
10
|
+
{% for item in site.data.navigation %}
|
11
|
+
<a href="{{ item.link }}" {% if page.url == item.link %}style="color: red;"{% endif %}>{{ item.name }}</a>
|
12
|
+
{% endfor %}
|
13
|
+
</nav>
|
File without changes
|
@@ -1,13 +1,13 @@
|
|
1
|
-
{% comment %} Site static assets origin {% endcomment %}
|
2
|
-
|
3
|
-
{% assign origin = 'cross_origin' %}
|
4
|
-
|
5
|
-
{% if site.assets.self_host.enabled %}
|
6
|
-
{% if site.assets.self_host.env %}
|
7
|
-
{% if site.assets.self_host.env == jekyll.environment %}
|
8
|
-
{% assign origin = 'self_host' %}
|
9
|
-
{% endif %}
|
10
|
-
{% else %}
|
11
|
-
{% assign origin = 'self_host' %}
|
12
|
-
{% endif %}
|
13
|
-
{% endif %}
|
1
|
+
{% comment %} Site static assets origin {% endcomment %}
|
2
|
+
|
3
|
+
{% assign origin = 'cross_origin' %}
|
4
|
+
|
5
|
+
{% if site.assets.self_host.enabled %}
|
6
|
+
{% if site.assets.self_host.env %}
|
7
|
+
{% if site.assets.self_host.env == jekyll.environment %}
|
8
|
+
{% assign origin = 'self_host' %}
|
9
|
+
{% endif %}
|
10
|
+
{% else %}
|
11
|
+
{% assign origin = 'self_host' %}
|
12
|
+
{% endif %}
|
13
|
+
{% endif %}
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,46 +1,46 @@
|
|
1
|
-
<!--
|
2
|
-
Jekyll Simple Search loader
|
3
|
-
See: <https://github.com/christian-fei/Simple-Jekyll-Search>
|
4
|
-
-->
|
5
|
-
|
6
|
-
{% capture result_elem %}
|
7
|
-
<div class="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-lg-4 pr-lg-4 pl-xl-0 pr-xl-0">
|
8
|
-
<a href="{url}">{title}</a>
|
9
|
-
<div class="post-meta d-flex flex-column flex-sm-row text-muted mt-1 mb-1">
|
10
|
-
{categories}
|
11
|
-
{tags}
|
12
|
-
</div>
|
13
|
-
<p>{snippet}</p>
|
14
|
-
</div>
|
15
|
-
{% endcapture %}
|
16
|
-
|
17
|
-
{% capture not_found %}<p class="mt-5">{{ site.data.locales[lang].search.no_results }}</p>{% endcapture %}
|
18
|
-
|
19
|
-
<script src="{{ site.data.assets[origin].search.js | relative_url }}"></script>
|
20
|
-
|
21
|
-
<script>
|
22
|
-
SimpleJekyllSearch({
|
23
|
-
searchInput: document.getElementById('search-input'),
|
24
|
-
resultsContainer: document.getElementById('search-results'),
|
25
|
-
json: '{{ '/assets/js/data/search.json' | relative_url }}',
|
26
|
-
searchResultTemplate: '{{ result_elem | strip_newlines }}',
|
27
|
-
noResultsText: '{{ not_found }}',
|
28
|
-
templateMiddleware: function(prop, value, template) {
|
29
|
-
if (prop === 'categories') {
|
30
|
-
if (value === '') {
|
31
|
-
return `${value}`;
|
32
|
-
} else {
|
33
|
-
return `<div class="mr-sm-4"><i class="far fa-folder fa-fw"></i>${value}</div>`;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
if (prop === 'tags') {
|
38
|
-
if (value === '') {
|
39
|
-
return `${value}`;
|
40
|
-
} else {
|
41
|
-
return `<div><i class="fa fa-tag fa-fw"></i>${value}</div>`;
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
45
|
-
});
|
46
|
-
</script>
|
1
|
+
<!--
|
2
|
+
Jekyll Simple Search loader
|
3
|
+
See: <https://github.com/christian-fei/Simple-Jekyll-Search>
|
4
|
+
-->
|
5
|
+
|
6
|
+
{% capture result_elem %}
|
7
|
+
<div class="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-lg-4 pr-lg-4 pl-xl-0 pr-xl-0">
|
8
|
+
<a href="{url}">{title}</a>
|
9
|
+
<div class="post-meta d-flex flex-column flex-sm-row text-muted mt-1 mb-1">
|
10
|
+
{categories}
|
11
|
+
{tags}
|
12
|
+
</div>
|
13
|
+
<p>{snippet}</p>
|
14
|
+
</div>
|
15
|
+
{% endcapture %}
|
16
|
+
|
17
|
+
{% capture not_found %}<p class="mt-5">{{ site.data.locales[lang].search.no_results }}</p>{% endcapture %}
|
18
|
+
|
19
|
+
<script src="{{ site.data.assets[origin].search.js | relative_url }}"></script>
|
20
|
+
|
21
|
+
<script>
|
22
|
+
SimpleJekyllSearch({
|
23
|
+
searchInput: document.getElementById('search-input'),
|
24
|
+
resultsContainer: document.getElementById('search-results'),
|
25
|
+
json: '{{ '/assets/js/data/search.json' | relative_url }}',
|
26
|
+
searchResultTemplate: '{{ result_elem | strip_newlines }}',
|
27
|
+
noResultsText: '{{ not_found }}',
|
28
|
+
templateMiddleware: function(prop, value, template) {
|
29
|
+
if (prop === 'categories') {
|
30
|
+
if (value === '') {
|
31
|
+
return `${value}`;
|
32
|
+
} else {
|
33
|
+
return `<div class="mr-sm-4"><i class="far fa-folder fa-fw"></i>${value}</div>`;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
if (prop === 'tags') {
|
38
|
+
if (value === '') {
|
39
|
+
return `${value}`;
|
40
|
+
} else {
|
41
|
+
return `<div><i class="fa fa-tag fa-fw"></i>${value}</div>`;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
});
|
46
|
+
</script>
|
File without changes
|
File without changes
|
@@ -1,2 +1,2 @@
|
|
1
|
-
{% comment %} BACK TO TOP {% endcomment %}
|
2
|
-
<a id="back-to-top" href="#" aria-label="back-to-top" class="btn btn-lg btn-box-shadow" role="button"><i class="fas fa-angle-up"></i></a>
|
1
|
+
{% comment %} BACK TO TOP {% endcomment %}
|
2
|
+
<a id="back-to-top" href="#" aria-label="back-to-top" class="btn btn-lg btn-box-shadow" role="button"><i class="fas fa-angle-up"></i></a>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/default.min.css">
|
2
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js"></script>
|
3
|
+
<!-- and it's easy to individually load additional languages -->
|
4
|
+
<script charset="UTF-8" src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/languages/go.min.js"></script>
|
5
|
+
|
6
|
+
{%- assign name = 'code_badge.enabled' -%}
|
7
|
+
{%- include functions.html func='get_value' default='true' -%}
|
8
|
+
{%- assign badge_enabled = return -%}
|
9
|
+
|
10
|
+
{%- assign name = 'code_badge.color' -%}
|
11
|
+
{%- include functions.html func='get_value' default='#fff' -%}
|
12
|
+
{%- assign badge_color = return -%}
|
13
|
+
|
14
|
+
{%- assign name = 'code_badge.background_color' -%}
|
15
|
+
{%- include functions.html func='get_value' default='#ff4e00' -%}
|
16
|
+
{%- assign badge_background_color = return -%}
|
17
|
+
|
18
|
+
{%- assign name = 'code_badge.text_transform' -%}
|
19
|
+
{%- include functions.html func='get_value' default='uppercase' -%}
|
20
|
+
{%- assign badge_text_transform = return -%}
|
21
|
+
|
22
|
+
<script>
|
23
|
+
// Init highlight js
|
24
|
+
document.addEventListener('DOMContentLoaded', function(event) {
|
25
|
+
var els = document.querySelectorAll('pre code')
|
26
|
+
|
27
|
+
function addLangData(block) {
|
28
|
+
var outer = block.parentElement.parentElement.parentElement;
|
29
|
+
var lang = block.getAttribute('data-lang');
|
30
|
+
for (var i = 0; i < outer.classList.length; i++) {
|
31
|
+
var cls = outer.classList[i];
|
32
|
+
if (cls.startsWith('language-')) {
|
33
|
+
lang = cls;
|
34
|
+
break;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
if (!lang) {
|
38
|
+
cls = block.getAttribute('class');
|
39
|
+
lang = cls ? cls.replace('hljs ', '') : '';
|
40
|
+
}
|
41
|
+
if (lang.startsWith('language-')) {
|
42
|
+
lang = lang.substr(9);
|
43
|
+
}
|
44
|
+
block.setAttribute('class', 'hljs ' + lang);
|
45
|
+
block.parentNode.setAttribute('data-lang', lang);
|
46
|
+
}
|
47
|
+
|
48
|
+
function addBadge(block) {
|
49
|
+
var enabled = ('{{ badge_enabled }}' || 'true').toLowerCase();
|
50
|
+
if (enabled == 'true') {
|
51
|
+
var pre = block.parentElement;
|
52
|
+
pre.classList.add('badge');
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
function handle(block) {
|
57
|
+
addLangData(block);
|
58
|
+
addBadge(block)
|
59
|
+
hljs.highlightBlock(block);
|
60
|
+
}
|
61
|
+
|
62
|
+
for (var i = 0; i < els.length; i++) {
|
63
|
+
var el = els[i];
|
64
|
+
handle(el);
|
65
|
+
}
|
66
|
+
});
|
67
|
+
</script>
|
68
|
+
|
69
|
+
<style>
|
70
|
+
/* code language badge */
|
71
|
+
pre.badge::before {
|
72
|
+
content: attr(data-lang);
|
73
|
+
color: {{badge_color}};
|
74
|
+
background-color: {{badge_background_color}};
|
75
|
+
padding: 0 .5em;
|
76
|
+
border-radius: 0 2px;
|
77
|
+
text-transform: {{badge_text_transform}};
|
78
|
+
text-align: center;
|
79
|
+
min-width: 32px;
|
80
|
+
display: inline-block;
|
81
|
+
position: absolute;
|
82
|
+
right: 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
/* fix wrong badge display for firefox browser */
|
86
|
+
code > table pre::before {
|
87
|
+
display: none;
|
88
|
+
}
|
89
|
+
</style>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div id="disqus_thread"></div>
|
2
|
+
<script>
|
3
|
+
var disqus_config = function () {
|
4
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
5
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
6
|
+
};
|
7
|
+
|
8
|
+
(function() {
|
9
|
+
var d = document, s = d.createElement('script');
|
10
|
+
|
11
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
12
|
+
|
13
|
+
s.setAttribute('data-timestamp', +new Date());
|
14
|
+
(d.head || d.body).appendChild(s);
|
15
|
+
})();
|
16
|
+
</script>
|
17
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<!-- https://giscus.app/ -->
|
2
|
+
<script type="text/javascript">
|
3
|
+
$(function () {
|
4
|
+
const origin = "https://giscus.app";
|
5
|
+
const iframe = "iframe.giscus-frame";
|
6
|
+
const lightTheme = "light";
|
7
|
+
const darkTheme = "dark_dimmed";
|
8
|
+
let initTheme = lightTheme;
|
9
|
+
|
10
|
+
if ($("html[data-mode=dark]").length > 0
|
11
|
+
|| ($("html[data-mode]").length == 0
|
12
|
+
&& window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
13
|
+
initTheme = darkTheme;
|
14
|
+
}
|
15
|
+
|
16
|
+
let giscusAttributes = {
|
17
|
+
"src": "https://giscus.app/client.js",
|
18
|
+
"data-repo": "{{ site.comments.giscus.repo}}",
|
19
|
+
"data-repo-id": "{{ site.comments.giscus.repo_id }}",
|
20
|
+
"data-category": "{{ site.comments.giscus.category }}",
|
21
|
+
"data-category-id": "{{ site.comments.giscus.category_id }}",
|
22
|
+
"data-mapping": "{{ site.comments.giscus.mapping | default: 'pathname' }}",
|
23
|
+
"data-reactions-enabled": "1",
|
24
|
+
"data-emit-metadata": "0",
|
25
|
+
"data-theme": initTheme,
|
26
|
+
"data-input-position": "{{ site.comments.giscus.input_position | default: 'bottom' }}",
|
27
|
+
"data-lang": "{{ site.comments.giscus.lang | default: lang }}",
|
28
|
+
"crossorigin": "anonymous",
|
29
|
+
"async": ""
|
30
|
+
};
|
31
|
+
|
32
|
+
let giscusScript = document.createElement("script");
|
33
|
+
Object.entries(giscusAttributes).forEach(([key, value]) => giscusScript.setAttribute(key, value));
|
34
|
+
document.getElementById("tail-wrapper").appendChild(giscusScript);
|
35
|
+
|
36
|
+
addEventListener("message", (event) => {
|
37
|
+
if (event.source === window && event.data &&
|
38
|
+
event.data.direction === ModeToggle.ID) {
|
39
|
+
/* global theme mode changed */
|
40
|
+
const mode = event.data.message;
|
41
|
+
const theme = (mode === ModeToggle.DARK_MODE ? darkTheme : lightTheme);
|
42
|
+
|
43
|
+
const message = {
|
44
|
+
setConfig: {
|
45
|
+
theme: theme
|
46
|
+
}
|
47
|
+
};
|
48
|
+
|
49
|
+
const giscus = document.querySelector(iframe).contentWindow;
|
50
|
+
giscus.postMessage({ giscus: message }, origin);
|
51
|
+
}
|
52
|
+
|
53
|
+
});
|
54
|
+
|
55
|
+
});
|
56
|
+
</script>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<div id="gitment_thread"></div>
|
2
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/theme-next/theme-next-gitment@1/default.css"/>
|
3
|
+
<script src="https://cdn.jsdelivr.net/gh/theme-next/theme-next-gitment@1/gitment.browser.js"></script>
|
4
|
+
<script>
|
5
|
+
var gitment = new Gitment({
|
6
|
+
id: '{{ page.id }}',
|
7
|
+
owner: '{{ site.gitment.username }}',
|
8
|
+
repo: '{{ site.gitment.repo }}',
|
9
|
+
oauth: {
|
10
|
+
client_id: '{{ site.gitment.client_id }}',
|
11
|
+
client_secret: '{{ site.gitment.client_secret }}',
|
12
|
+
},
|
13
|
+
});
|
14
|
+
gitment.render('gitment_thread')
|
15
|
+
</script>
|
@@ -0,0 +1,46 @@
|
|
1
|
+
<script async
|
2
|
+
crossorigin="anonymous"
|
3
|
+
issue-term="{{ site.utterances.issue_term }}"
|
4
|
+
label="{{ site.utterances.label }}"
|
5
|
+
{%- if site.utterances.follow_site_theme -%}
|
6
|
+
onload="initUtterancesTheme()"
|
7
|
+
{%- endif -%}
|
8
|
+
repo="{{ site.utterances.repo }}"
|
9
|
+
src="https://utteranc.es/client.js"
|
10
|
+
theme="{{ site.utterances.theme }}">
|
11
|
+
</script>
|
12
|
+
|
13
|
+
{%- if site.utterances.follow_site_theme -%}
|
14
|
+
<script>
|
15
|
+
const setUtterancesTheme = (dataTheme) => {
|
16
|
+
const iframe = document.querySelector('.utterances-frame');
|
17
|
+
if (iframe) {
|
18
|
+
const utterancesTheme = dataTheme === 'dark' ? 'github-dark' : 'github-light'
|
19
|
+
const message = {
|
20
|
+
type: 'set-theme',
|
21
|
+
theme: utterancesTheme
|
22
|
+
};
|
23
|
+
iframe.contentWindow.postMessage(message, 'https://utteranc.es');
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
// init theme
|
28
|
+
const initUtterancesTheme = () => {
|
29
|
+
const iframe = document.querySelector('.utterances-frame');
|
30
|
+
if (!iframe) return
|
31
|
+
iframe.onload = () => {
|
32
|
+
setUtterancesTheme(document.documentElement.getAttribute('data-theme'))
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
// dynamic change
|
37
|
+
const observer = new MutationObserver((mutationsList, observer) => {
|
38
|
+
for (let mutation of mutationsList) {
|
39
|
+
if (mutation.type === 'attributes' && mutation.attributeName === 'data-theme') {
|
40
|
+
setUtterancesTheme(document.documentElement.getAttribute('data-theme'))
|
41
|
+
}
|
42
|
+
}
|
43
|
+
});
|
44
|
+
observer.observe(document.documentElement, {attributes: true, childList: false, subtree: false});
|
45
|
+
</script>
|
46
|
+
{%- endif -%}
|
@@ -0,0 +1,19 @@
|
|
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/geopattern/1.2.3/js/geopattern.min.js"></script>
|
10
|
+
<script>
|
11
|
+
function setRandomBgImage(selector, seed) {
|
12
|
+
var pattern = GeoPattern.generate(seed);
|
13
|
+
var element = document.querySelector(selector)
|
14
|
+
if (element) {
|
15
|
+
element.style.backgroundImage = pattern.toDataUrl();
|
16
|
+
}
|
17
|
+
}
|
18
|
+
setRandomBgImage('{{ selector }}', '{{ seed }}');
|
19
|
+
</script>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
2
|
+
<script>
|
3
|
+
window.dataLayer = window.dataLayer || [];
|
4
|
+
function gtag(){dataLayer.push(arguments);}
|
5
|
+
gtag('js', new Date());
|
6
|
+
gtag('config', '{{ site.google_analytics }}');
|
7
|
+
</script>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
{% comment %} Google Tag Manager (noscript) {% endcomment %}
|
2
|
-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-58TMKPV"
|
3
|
-
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
1
|
+
{% comment %} Google Tag Manager (noscript) {% endcomment %}
|
2
|
+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-58TMKPV"
|
3
|
+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
4
4
|
<!-- End Google Tag Manager (noscript) -->
|
@@ -1,6 +1,6 @@
|
|
1
|
-
{% comment %} Google Tag Manager {% endcomment %}
|
2
|
-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
3
|
-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
4
|
-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
|
5
|
-
f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-58TMKPV');</script>
|
1
|
+
{% comment %} Google Tag Manager {% endcomment %}
|
2
|
+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
3
|
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
4
|
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
|
5
|
+
f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-58TMKPV');</script>
|
6
6
|
{% comment %} End Google Tag Manager {% endcomment %}
|