From b31b8757fe25f37e98563a1ac00cfdf89d7de394 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Mon, 14 Dec 2020 04:39:54 +0100 Subject: [PATCH] migrate to hugo modules --- .../SandpointsTheme}/archetypes/default.md | 0 .../SandpointsTheme}/archetypes/session.md | 0 .../SandpointsTheme}/archetypes/topic.md | 0 .../SandpointsTheme}/assets/css/player.css | 0 .../assets/css/postcss.config.js | 0 .../SandpointsTheme/assets/css/site.css | 920 +++++++++++ .../SandpointsTheme}/assets/js/sandpoints.js | 2 +- .../SandpointsTheme/data/books/catalog.json | 1 + .../data/sandpointsnamegraph.json | 4 +- .../SandpointsTheme}/layouts/404.html | 0 .../_default/_markup/render-heading.html | 0 .../_default/_markup/render-image.html | 0 .../layouts/_default/_markup/render-link.html | 1 + .../layouts/_default/baseof.html | 0 .../layouts/_default/list.html | 36 + .../layouts/_default/single.html | 0 .../layouts/metadata/baseof.js.js | 0 .../layouts/metadata/list.js.js | 0 .../layouts/partials/backlinks.html | 0 .../layouts/partials/footer.html | 0 .../layouts/partials/head.html | 10 +- .../layouts/partials/header.html | 23 +- .../layouts/partials/pagedjs.html | 0 .../layouts/partials/sandpointjs.html | 0 .../layouts/partials/scratch.html | 11 + .../layouts/partials/singlebody.html | 81 + .../layouts/shortcodes/gloss.html | 25 + .../layouts/shortcodes/nosup.html | 0 .../layouts/shortcodes/soundcloud.html | 0 .../SandpointsTheme}/layouts/urls/baseof.html | 0 .../SandpointsTheme}/layouts/urls/list.html | 15 +- .../static/android-chrome-192x192.png | Bin .../static/android-chrome-512x512.png | Bin .../static/apple-touch-icon.png | Bin .../static/css/paged_interface.css | 0 .../static}/css/player.min.css | 0 .../SandpointsTheme/static/css/site.min.css | 1 + .../SandpointsTheme}/static/favicon-16x16.png | Bin .../SandpointsTheme}/static/favicon-32x32.png | Bin .../SandpointsTheme}/static/favicon.ico | Bin ...great-vibes-v7-latin-ext_latin-regular.eot | Bin ...great-vibes-v7-latin-ext_latin-regular.svg | 0 ...great-vibes-v7-latin-ext_latin-regular.ttf | Bin ...reat-vibes-v7-latin-ext_latin-regular.woff | Bin ...eat-vibes-v7-latin-ext_latin-regular.woff2 | Bin .../vollkorn-sc-v4-latin-ext_latin-600.eot | Bin 0 -> 40091 bytes .../vollkorn-sc-v4-latin-ext_latin-600.svg | 437 +++++ .../vollkorn-sc-v4-latin-ext_latin-600.ttf | Bin 0 -> 86992 bytes .../vollkorn-sc-v4-latin-ext_latin-600.woff | Bin 0 -> 42300 bytes .../vollkorn-sc-v4-latin-ext_latin-600.woff2 | Bin 0 -> 34532 bytes .../vollkorn-sc-v4-latin-ext_latin-700.eot | Bin 0 -> 40373 bytes .../vollkorn-sc-v4-latin-ext_latin-700.svg | 436 +++++ .../vollkorn-sc-v4-latin-ext_latin-700.ttf | Bin 0 -> 87264 bytes .../vollkorn-sc-v4-latin-ext_latin-700.woff | Bin 0 -> 42608 bytes .../vollkorn-sc-v4-latin-ext_latin-700.woff2 | Bin 0 -> 34848 bytes .../vollkorn-sc-v4-latin-ext_latin-900.eot | Bin 0 -> 40437 bytes .../vollkorn-sc-v4-latin-ext_latin-900.svg | 441 ++++++ .../vollkorn-sc-v4-latin-ext_latin-900.ttf | Bin 0 -> 89616 bytes .../vollkorn-sc-v4-latin-ext_latin-900.woff | Bin 0 -> 42532 bytes .../vollkorn-sc-v4-latin-ext_latin-900.woff2 | Bin 0 -> 34892 bytes ...vollkorn-sc-v4-latin-ext_latin-regular.eot | Bin 0 -> 39479 bytes ...vollkorn-sc-v4-latin-ext_latin-regular.svg | 434 +++++ ...vollkorn-sc-v4-latin-ext_latin-regular.ttf | Bin 0 -> 87488 bytes ...ollkorn-sc-v4-latin-ext_latin-regular.woff | Bin 0 -> 41712 bytes ...llkorn-sc-v4-latin-ext_latin-regular.woff2 | Bin 0 -> 34216 bytes .../vollkorn-v12-latin-ext_latin-500.eot | Bin .../vollkorn-v12-latin-ext_latin-500.svg | 0 .../vollkorn-v12-latin-ext_latin-500.ttf | Bin .../vollkorn-v12-latin-ext_latin-500.woff | Bin .../vollkorn-v12-latin-ext_latin-500.woff2 | Bin ...vollkorn-v12-latin-ext_latin-500italic.eot | Bin ...vollkorn-v12-latin-ext_latin-500italic.svg | 0 ...vollkorn-v12-latin-ext_latin-500italic.ttf | Bin ...ollkorn-v12-latin-ext_latin-500italic.woff | Bin ...llkorn-v12-latin-ext_latin-500italic.woff2 | Bin .../vollkorn-v12-latin-ext_latin-italic.eot | Bin .../vollkorn-v12-latin-ext_latin-italic.svg | 0 .../vollkorn-v12-latin-ext_latin-italic.ttf | Bin .../vollkorn-v12-latin-ext_latin-italic.woff | Bin .../vollkorn-v12-latin-ext_latin-italic.woff2 | Bin .../vollkorn-v12-latin-ext_latin-regular.eot | Bin .../vollkorn-v12-latin-ext_latin-regular.svg | 0 .../vollkorn-v12-latin-ext_latin-regular.ttf | Bin .../vollkorn-v12-latin-ext_latin-regular.woff | Bin ...vollkorn-v12-latin-ext_latin-regular.woff2 | Bin .../static/images/bibliotheke.svg | 0 .../static/js/paged.polyfill.js | 0 .../SandpointsTheme}/static/js/popcorn.min.js | 0 .../static/js/soundcite.min.js | 0 .../Drawwell/SandpointsTheme}/static/moog.mp3 | Bin .../SandpointsTheme}/static/site.webmanifest | 0 .../Drawwell/SandpointsTheme/theme.toml | 17 + _vendor/modules.txt | 1 + config.toml | 55 + config/_default/config-local.toml | 26 - config/_default/config.toml | 26 - config/offline/config.toml | 2 - data/books/catalog.json | 1 - go.mod | 5 + go.sum | 2 + themes/sandpoints/LICENSE | 20 - themes/sandpoints/assets/css/site.css | 872 ---------- themes/sandpoints/assets/css/site.min.css | 1 - themes/sandpoints/config/_default/config.toml | 28 - themes/sandpoints/config/offline/config.toml | 2 - themes/sandpoints/data/settings.yml | 1 - .../layouts/_default/_markup/render-link.html | 2 - themes/sandpoints/layouts/_default/list.html | 3 - .../layouts/partials/singlebody.html | 48 - themes/sandpoints/package-lock.json | 1407 ----------------- themes/sandpoints/package.json | 26 - themes/sandpoints/static/css/player.css | 84 - themes/sandpoints/theme.toml | 15 - 113 files changed, 2939 insertions(+), 2583 deletions(-) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/archetypes/default.md (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/archetypes/session.md (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/archetypes/topic.md (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/assets/css/player.css (100%) mode change 100755 => 100644 rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/assets/css/postcss.config.js (100%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/assets/js/sandpoints.js (96%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/books/catalog.json rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/data/sandpointsnamegraph.json (77%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/404.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/_default/_markup/render-heading.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/_default/_markup/render-image.html (100%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-link.html rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/_default/baseof.html (100%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/_default/single.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/metadata/baseof.js.js (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/metadata/list.js.js (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/backlinks.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/footer.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/head.html (80%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/header.html (73%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/pagedjs.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/sandpointjs.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/partials/scratch.html (94%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/shortcodes/nosup.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/shortcodes/soundcloud.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/urls/baseof.html (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/layouts/urls/list.html (84%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/android-chrome-192x192.png (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/android-chrome-512x512.png (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/apple-touch-icon.png (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/css/paged_interface.css (100%) rename {themes/sandpoints/assets => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static}/css/player.min.css (100%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/favicon-16x16.png (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/favicon-32x32.png (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/favicon.ico (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/great-vibes-v7-latin-ext_latin-regular.eot (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/great-vibes-v7-latin-ext_latin-regular.svg (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/great-vibes-v7-latin-ext_latin-regular.ttf (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/great-vibes-v7-latin-ext_latin-regular.woff (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/great-vibes-v7-latin-ext_latin-regular.woff2 (100%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-600.eot create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-600.svg create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-600.ttf create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-600.woff create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-600.woff2 create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-700.eot create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-700.svg create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-700.ttf create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-700.woff create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-700.woff2 create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-900.eot create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-900.svg create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-900.ttf create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-900.woff create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-900.woff2 create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-regular.eot create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-regular.svg create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-regular.ttf create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-regular.woff create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/fonts/vollkorn-sc-v4-latin-ext_latin-regular.woff2 rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500.eot (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500.svg (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500.ttf (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500.woff (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500.woff2 (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500italic.eot (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500italic.svg (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500italic.ttf (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500italic.woff (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-500italic.woff2 (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-italic.eot (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-italic.svg (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-italic.ttf (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-italic.woff (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-italic.woff2 (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-regular.eot (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-regular.svg (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-regular.ttf (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-regular.woff (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/fonts/vollkorn-v12-latin-ext_latin-regular.woff2 (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/images/bibliotheke.svg (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/js/paged.polyfill.js (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/js/popcorn.min.js (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/js/soundcite.min.js (100%) rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/moog.mp3 (100%) mode change 100755 => 100644 rename {themes/sandpoints => _vendor/git.sandpoints.org/Drawwell/SandpointsTheme}/static/site.webmanifest (100%) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/theme.toml create mode 100644 _vendor/modules.txt create mode 100644 config.toml delete mode 100644 config/_default/config-local.toml delete mode 100644 config/_default/config.toml delete mode 100644 config/offline/config.toml delete mode 100644 data/books/catalog.json create mode 100644 go.mod create mode 100644 go.sum delete mode 100644 themes/sandpoints/LICENSE delete mode 100644 themes/sandpoints/assets/css/site.css delete mode 100644 themes/sandpoints/assets/css/site.min.css delete mode 100644 themes/sandpoints/config/_default/config.toml delete mode 100644 themes/sandpoints/config/offline/config.toml delete mode 100644 themes/sandpoints/data/settings.yml delete mode 100644 themes/sandpoints/layouts/_default/_markup/render-link.html delete mode 100644 themes/sandpoints/layouts/_default/list.html delete mode 100644 themes/sandpoints/layouts/partials/singlebody.html delete mode 100644 themes/sandpoints/package-lock.json delete mode 100644 themes/sandpoints/package.json delete mode 100755 themes/sandpoints/static/css/player.css delete mode 100644 themes/sandpoints/theme.toml diff --git a/themes/sandpoints/archetypes/default.md b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/archetypes/default.md similarity index 100% rename from themes/sandpoints/archetypes/default.md rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/archetypes/default.md diff --git a/themes/sandpoints/archetypes/session.md b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/archetypes/session.md similarity index 100% rename from themes/sandpoints/archetypes/session.md rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/archetypes/session.md diff --git a/themes/sandpoints/archetypes/topic.md b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/archetypes/topic.md similarity index 100% rename from themes/sandpoints/archetypes/topic.md rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/archetypes/topic.md diff --git a/themes/sandpoints/assets/css/player.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/player.css old mode 100755 new mode 100644 similarity index 100% rename from themes/sandpoints/assets/css/player.css rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/player.css diff --git a/themes/sandpoints/assets/css/postcss.config.js b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/postcss.config.js similarity index 100% rename from themes/sandpoints/assets/css/postcss.config.js rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/postcss.config.js diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css new file mode 100644 index 0000000..218b23d --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/css/site.css @@ -0,0 +1,920 @@ +html, +body, +dl, +dt, +dd, +blockquote, +figure, +fieldset, +legend, +textarea, +pre, +iframe, +hr { + margin: 0; + padding: 0; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-size: 100%; + font-weight: normal; +} + +ul { + list-style: none; +} + +button, +input, +select, +textarea { + margin: 0; +} + +html { + box-sizing: border-box; +} + +img, +video { + height: auto; + max-width: 100%; +} + +iframe { + border: 0; +} + +strong del { + /* font-weight: normal; */ + display: inline; + text-decoration: none; + margin-left: 1rem; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; +} + +table { + border-collapse: collapse; + border-spacing: 0; + background-color: #fff9f9; + border-left: 1px red solid; + margin-left: 1rem; +} + +td, +th { + padding: 0; + vertical-align: top; + padding-right: 1rem; + padding-left: 1rem; + padding-bottom: 0.5rem; +} + +td:not([align]), +th:not([align]) { + text-align: left; +} + +/* vollkorn-sc-regular - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn SC"; + font-style: normal; + font-weight: 400; + src: url("../fonts/vollkorn-sc-v4-latin-ext_latin-regular.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-sc-v4-latin-ext_latin-regular.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-regular.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-regular.woff") format("woff"), + /* Modern Browsers */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-regular.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-regular.svg#VollkornSC") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-sc-600 - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn SC"; + font-style: normal; + font-weight: 600; + src: url("../fonts/vollkorn-sc-v4-latin-ext_latin-600.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-sc-v4-latin-ext_latin-600.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-600.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-600.woff") format("woff"), + /* Modern Browsers */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-600.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-600.svg#VollkornSC") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-sc-700 - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn SC"; + font-style: normal; + font-weight: 700; + src: url("../fonts/vollkorn-sc-v4-latin-ext_latin-700.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-sc-v4-latin-ext_latin-700.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-700.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-700.woff") format("woff"), + /* Modern Browsers */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-700.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-700.svg#VollkornSC") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-sc-900 - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn SC"; + font-style: normal; + font-weight: 900; + src: url("../fonts/vollkorn-sc-v4-latin-ext_latin-900.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-sc-v4-latin-ext_latin-900.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-900.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-900.woff") format("woff"), + /* Modern Browsers */ url("../fonts/vollkorn-sc-v4-latin-ext_latin-900.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-sc-v4-latin-ext_latin-900.svg#VollkornSC") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-500italic - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn"; + font-style: italic; + font-weight: 500; + src: url("../fonts/vollkorn-v12-latin-ext_latin-500italic.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-v12-latin-ext_latin-500italic.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-v12-latin-ext_latin-500italic.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-500italic.woff") format("woff"), + /* Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-500italic.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-v12-latin-ext_latin-500italic.svg#Vollkorn") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-regular - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn"; + font-style: normal; + font-weight: 400; + src: url("../fonts/vollkorn-v12-latin-ext_latin-regular.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-v12-latin-ext_latin-regular.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-v12-latin-ext_latin-regular.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-regular.woff") format("woff"), + /* Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-regular.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-v12-latin-ext_latin-regular.svg#Vollkorn") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-500 - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn"; + font-style: normal; + font-weight: 500; + src: url("../fonts/vollkorn-v12-latin-ext_latin-500.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-v12-latin-ext_latin-500.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-v12-latin-ext_latin-500.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-500.woff") format("woff"), + /* Modern Browsers */ url("../fonts/vollkorn-v12-latin-ext_latin-500.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-v12-latin-ext_latin-500.svg#Vollkorn") + format("svg"); + /* Legacy iOS */ +} + +/* vollkorn-italic - latin-ext_latin */ + +@font-face { + font-family: "Vollkorn"; + font-style: italic; + font-weight: 400; + src: url("../fonts/vollkorn-v12-latin-ext_latin-italic.eot"); + /* IE9 Compat Modes */ + src: local(""), + url("../fonts/vollkorn-v12-latin-ext_latin-italic.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/vollkorn-v12-latin-ext_latin-italic.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-italic.woff") format("woff"), + /* Modern Browsers */ + url("../fonts/vollkorn-v12-latin-ext_latin-italic.ttf") format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/vollkorn-v12-latin-ext_latin-italic.svg#Vollkorn") + format("svg"); + /* Legacy iOS */ +} + +/* great-vibes-regular - latin-ext_latin */ + +@font-face { + font-family: "Great Vibes"; + font-style: normal; + font-weight: 400; + src: url("../fonts/great-vibes-v7-latin-ext_latin-regular.eot"); + /* IE9 Compat Modes */ + src: local("Great Vibes"), local("GreatVibes-Regular"), + url("../fonts/great-vibes-v7-latin-ext_latin-regular.eot?#iefix") + format("embedded-opentype"), + /* IE6-IE8 */ url("../fonts/great-vibes-v7-latin-ext_latin-regular.woff2") + format("woff2"), + /* Super Modern Browsers */ + url("../fonts/great-vibes-v7-latin-ext_latin-regular.woff") format("woff"), + /* Modern Browsers */ + url("../fonts/great-vibes-v7-latin-ext_latin-regular.ttf") + format("truetype"), + /* Safari, Android, iOS */ + url("../fonts/great-vibes-v7-latin-ext_latin-regular.svg#GreatVibes") + format("svg"); + /* Legacy iOS */ +} + +html { + line-height: 1.5; +} + +body { + font-family: "Vollkorn", serif; + font-weight: 400; + max-width: 1024px; + font-size: 1.4rem; + padding-left: 3rem; + padding-top: 0.5rem; + padding-right: 2rem; + color: black; +} + +sup, +sub { + vertical-align: baseline; + position: relative; + top: -0.4em; +} + +sub { + top: 0.4em; +} + +.headiter { + display: flex; + justify-content: space-between; + border-bottom: 0.3rem solid red; + border-top: 0.1rem solid red; + padding-top: 1rem; + padding-bottom: 0.5rem; + padding-left: 1rem; + padding-right: 1rem; + margin-bottom: 1rem; +} + +a.edit-button { + color: #000; + text-decoration: none; +} + +a.edit-button:hover { + text-decoration: underline; + -webkit-text-decoration-color: red; + text-decoration-color: red; + font-weight: 500; + font-size: 0.97em; + cursor: pointer; +} + +.header { + display: grid; + grid-template-columns: auto; + grid-auto-flow: column; + position: sticky; + top: 0; + padding-top: 0.5rem; + font-size: 1.1rem; + background-color: white; + z-index: 10; +} + +.mantlebar { + display: none; +} + +.breadcrumbs { + grid-column: 1; +} + +.bibliotheke { + width: 2.4rem; + grid-column: 2; + margin-left: auto; +} + +.bibliotheke:hover { + text-decoration: none; + font-size: 1rem; +} + +.alsoin { + font-weight: bold; + display: inline-flex; + padding-left: 0.2rem; + padding-right: 0.3rem; +} + +.ddmenu { + cursor: pointer; + display: inline-grid; +} + +.ddmenu input { + display: none; +} + +.ddmenu li { + list-style-type: none; +} + +.ddmenu .hiddendiv { + display: none; + margin-top: -0.9rem; +} + +input:focus, +select:focus, +textarea:focus, +label:focus, +button:focus { + outline: none; +} + +.ddmenu input:checked ~ .hiddendiv { + display: block; +} + +.logolink { + width: 2.4rem; + margin-left: auto; +} + +.sandpointlogo { + border-radius: 50%; + border: 0.3em solid red; + display: inline-flex; + font-family: "Great Vibes", cursive; + font-size: 1.2rem; + font-weight: bold; + color: white; + background-color: red; + position: relative; + padding-left: 1em; + padding-right: 0.3em; + padding-bottom: 1.2em; + max-width: 0em; + max-height: 0em; +} + +.sandpointF { + position: absolute; + font-size: 1.2em; + margin-top: -0.2em; + margin-left: -0.4em; +} + +.sandpointN { + position: absolute; + font-size: 0.7em; + margin-top: 0.4em; + color: red; + margin-left: -0.5em; +} + +.sandpointC { + position: absolute; + font-size: 1em; + margin-left: -0.37em; +} + +footer { + display: flex; + margin-bottom: 1rem; + margin-top: 4rem; +} + +li { + list-style-type: "› "; +} + +li[role="doc-endnote"] { + list-style-type: decimal; +} + +ol li { + list-style-type: decimal; +} + +img { + width: 100%; +} + +.supt { + display: inline-flex; + flex-wrap: nowrap; + font-family: "Great Vibes", cursive; + font-size: 0.9em; + font-style: normal; + color: rgba(0, 0, 0, 0.8); + vertical-align: baseline; + position: relative; + top: -0.3em; +} + +.sup { + display: inline-flex; + flex-wrap: nowrap; + font-family: "Great Vibes", cursive; + font-size: 0.9em; + font-style: normal; + color: red; + vertical-align: baseline; + position: relative; + top: -0.3em; +} + +.sup:hover { + font-weight: normal !important; +} + +.nosup a { + color: red; +} + +.nosup a span.sup { + display: none; +} + +.syllabustitle, +.coretitle { + margin-top: 4rem; + font-style: italic; + font-size: 4rem; + margin-bottom: 4rem; +} + +.mantletitle, +.crusttitle { + margin-top: 4rem; + font-style: italic; + font-size: 2rem; + margin-bottom: 4rem; +} + +.grid { + padding-left: 3rem; + margin-bottom: 2rem; + display: grid; + grid-template-columns: 1fr 1fr; +} + +.leftcolumn { + grid-column: 1; + padding-right: 1.2rem; + position: relative; +} + +#TableOfContents { + margin-left: -2rem; + margin-top: -1.5rem; +} + +#TableOfContents li { + list-style: decimal inside; + padding-left: 0.5rem; + color: rgba(0, 0, 0, 0.4); + margin: 0; + padding: 0; +} + +#TableOfContents li a { + font-family: "Vollkorn"; + font-size: 1.4rem; + font-weight: 500; + font-style: normal; +} + +#TableOfContents > ol:first-child > span > li > a::after { + content: "¶"; + color: rgba(0, 0, 0, 0.2); + font-size: 1.3em; + padding-left: 0.1em; +} + +.rightcolumn { + /* display: grid; + grid-column: 2; + grid-template-columns: auto 1fr; + grid-auto-rows: max-content; */ + padding-left: 0.5rem; +} + +.has { + display: inline-grid; + grid-column: 2; + grid-auto-rows: max-content; + font-size: 1.4rem; + font-style: italic; + margin-bottom: 0.8rem; +} + +.hasauthors { + font-size: 1.6rem !important; +} + +.hassup { + grid-column: 1; + font-family: "Great Vibes", cursive; + font-size: 0.9em; + font-style: normal; + color: red; + vertical-align: baseline; + position: relative; + /* top: -0.3em; */ +} + +.afterhas { + grid-column: 2; +} + +.content { + margin-top: 4rem; + padding-left: 3rem; + padding-right: 10rem; + max-width: 720px; +} + +a { + color: black; + text-decoration: none; +} + +a:hover { + text-decoration: underline; + text-decoration-color: red; + font-weight: 500; + font-size: 0.97em; + cursor: pointer; +} + +h1 { + display: none; +} + +h2 { + font-weight: 500; + font-size: 1.6rem; +} + +h3 { + font-weight: 500; + font-size: 1.4rem; +} + +h4 { + font-weight: 500; + font-size: 1.2rem; +} + +h5 { + font-weight: 500; + font-size: 1.1rem; +} + +h6 { + font-weight: 500; + font-size: 1rem; +} + +.abstract { + font-style: italic; + border-left: 1px solid rgb(0, 0, 0); + margin-left: 5rem; + margin-right: 2rem; + margin-bottom: 1.2rem; + padding-left: 1rem; + padding-right: 2rem; + padding-top: 1.2rem; + padding-bottom: 1.2rem; + background-color: rgba(0, 0, 0, 0.05); + max-width: 70ch; +} + +.authors { + display: inline-block; + font-size: 1.8rem; + margin-left: 5rem; + margin-right: 2rem; + padding-left: 1rem; +} + +.keywords { + display: inline-block; + font-size: 1.2rem; + margin-left: 5rem; + margin-right: 2rem; + padding-left: 1rem; + padding-right: 2rem; + margin-bottom: 2.2rem; + max-width: 72ch; +} + +blockquote { + border-left: 1px red solid; + margin-left: 1rem; + margin-right: 2rem; + padding-left: 1rem; + padding-right: 2rem; + padding-top: 0.1rem; + padding-bottom: 0.1rem; + background-color: #fff9f9; +} + +h2 + p:first-letter { + font-family: "Great Vibes", cursive; + color: rgba(0, 0, 0, 0.8); + font-size: 1.5em; + line-height: 0; +} + +.hx { + position: relative; +} + +.hpar { + position: absolute; + font-size: 1.7em; + font-style: normal; + color: rgba(0, 0, 0, 0.1); + top: 0; + margin-top: -0.4em; +} + +.smallcaps { + font-family: "Vollkorn SC", serif; + font-weight: 400; +} + +body { + counter-reset: h2 glossN; +} + +h2 { + counter-reset: h3; +} + +h3 { + counter-reset: h4; +} + +h4 { + counter-reset: h5; +} + +h5 { + counter-reset: h6; +} + +h2:before { + color: rgba(0, 0, 0, 0.4); + counter-increment: h2; + content: counter(h2) ". "; +} + +h3:before { + color: rgba(0, 0, 0, 0.4); + counter-increment: h3; + content: counter(h2) "." counter(h3) ". "; +} + +h4:before { + color: rgba(0, 0, 0, 0.4); + counter-increment: h4; + content: counter(h2) "." counter(h3) "." counter(h4) ". "; +} + +h5:before { + color: rgba(0, 0, 0, 0.4); + counter-increment: h5; + content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". "; +} + +h6:before { + color: rgba(0, 0, 0, 0.4); + counter-increment: h6; + content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." + counter(h6) ". "; +} + +h2.nocount:before, +h3.nocount:before, +h4.nocount:before, +h5.nocount:before, +h6.nocount:before { + content: ""; + counter-increment: none; +} + +details { + padding-left: 1rem; +} + +#toggleAllLinks { + font-size: 0.8rem; +} + +#toggleAllLinks:hover { + cursor: pointer; + text-decoration: underline; + text-decoration-color: red; +} + +.glosscontainer { + display: grid; + grid-template-columns: auto 1fr; + grid-template-rows: 1fr; + gap: 0px 0px; + grid-template-areas: "glossnumber gloss"; + border-left: 1px red solid; + background-color: #fff9f9; + padding-top: 0.4em; + margin-top: 1rem; + margin-bottom: 1rem; + margin-left: 1rem; + margin-right: 2rem; + padding-bottom: 0.4em; + padding-left: 1rem; + padding-right: 2rem; +} + +.gloss { + grid-area: gloss; +} + +.glossnumber { + grid-area: glossnumber; + padding-right: 0.6rem; +} + +.glossnumberAuto::before { + counter-increment: glossN; + content: "(" counter(glossN) ")"; +} + +/* .glossline { + border-bottom: lightgray solid 1px; + border-top: lightgray solid 1px; +} */ + +.glosswords { + display: inline-block; + padding-left: -0.3rem; + padding-right: 1rem; +} + +.sitemap { + padding-left: 3rem; + font-size: 1.2rem; +} + +.sitemap a { + color: rgba(0, 0, 0, 0.4); +} +.sitemap .sup { + color: rgba(255, 0, 0, 0.7); +} + +.highline a, +.sitemap a:hover { + color: rgba(0, 0, 0, 1); +} + +.highline .sup, +.sitemap .sup:hover { + color: red; +} + +.highline { + font-size: 1.6rem; + color: rgb(0, 0, 0); + border-left: 1px red solid; + padding-left: 1rem; + padding-top: 0.1rem; + padding-bottom: 0.1rem; + background-color: #fff9f9; +} + +@media (max-width: 767px) { + html { + box-sizing: border-box; + max-width: 767px; + margin: 0 auto; + padding: 0; + } + body { + font-size: 1rem; + padding-left: 10px; + padding-right: 10px; + } + .grid { + display: inline; + } + .coretitle { + margin-top: 3rem; + margin-bottom: 2rem; + font-size: 2.2rem; + } + .leftcolumn { + display: none; + } + .has, + .afterhas { + font-size: 1.1rem; + } + .mantle, + .crust { + margin-bottom: 0.2em; + } + .content { + padding: 0px; + margin: 0 auto; + margin-top: 4rem; + } + .hpar { + display: none; + } + .mantletitle { + font-size: 1.7rem; + } + .sessiongrid { + display: none; + } +} diff --git a/themes/sandpoints/assets/js/sandpoints.js b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js similarity index 96% rename from themes/sandpoints/assets/js/sandpoints.js rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js index 9a72c0f..8021e55 100644 --- a/themes/sandpoints/assets/js/sandpoints.js +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/assets/js/sandpoints.js @@ -64,7 +64,7 @@ window.addEventListener('DOMContentLoaded', (e) => { } - document.querySelectorAll('#TableOfContents a').forEach(i => { + document.querySelectorAll('#TableOfContents a, .anchorz, .footnote-backref, .footnote-ref').forEach(i => { i.addEventListener('click', e => { setTimeout(() => { window.scrollBy({top: document.querySelector('.header').clientHeight * -1.25, behavior: 'smooth'})}, 50); diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/books/catalog.json b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/books/catalog.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/books/catalog.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/themes/sandpoints/data/sandpointsnamegraph.json b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/sandpointsnamegraph.json similarity index 77% rename from themes/sandpoints/data/sandpointsnamegraph.json rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/sandpointsnamegraph.json index bc50a70..a61716f 100644 --- a/themes/sandpoints/data/sandpointsnamegraph.json +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/data/sandpointsnamegraph.json @@ -9,5 +9,7 @@ "experiment": "experiments", "session": "sessions", "chapter": "chapters", - "article": "articles" + "article": "articles", + "annex": "annexes", + "author": "authors" } diff --git a/themes/sandpoints/layouts/404.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/404.html similarity index 100% rename from themes/sandpoints/layouts/404.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/404.html diff --git a/themes/sandpoints/layouts/_default/_markup/render-heading.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-heading.html similarity index 100% rename from themes/sandpoints/layouts/_default/_markup/render-heading.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-heading.html diff --git a/themes/sandpoints/layouts/_default/_markup/render-image.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-image.html similarity index 100% rename from themes/sandpoints/layouts/_default/_markup/render-image.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-image.html diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-link.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-link.html new file mode 100644 index 0000000..ed0b063 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-link.html @@ -0,0 +1 @@ +{{- .Page.Scratch.Add "urls" (slice .Destination) -}}{{- $t := .Text -}}{{- $sup := "" -}}{{- if and (strings.HasPrefix .Destination "{") (.Destination | strings.Count "}") -}}{{- range first 1 (split .Destination "}") -}}{{- range $frmt := (split (substr . 1) ",") -}}{{- if eq $frmt "sc" -}}{{- $t -}}{{- end -}}{{- end -}}{{- end -}}{{- else }}{{- if strings.HasPrefix .Destination "http" -}}{{- $sup = "www" -}}{{- end -}}{{- if strings.HasPrefix .Destination "#" -}}{{- $sup = "§" -}}{{- end -}}{{- $sup -}}⁄{{ .Text | safeHTML }}{{- end -}} \ No newline at end of file diff --git a/themes/sandpoints/layouts/_default/baseof.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/baseof.html similarity index 100% rename from themes/sandpoints/layouts/_default/baseof.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/baseof.html diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html new file mode 100644 index 0000000..b872a6e --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html @@ -0,0 +1,36 @@ +{{ define "singlebody" }} + + +{{ $currentNode := . }} +{{ $currentDir := "" }} +{{ with .File }} +{{ $currentDir = .Dir }} +{{ end }} +{{ $currentFile := (printf "/%s" .File) }} + +
Sitemap⁄{{ substr $.Site.Title 0 1 }}{{ substr $.Site.Title 1 }} ({{ $currentDir }})
+ +{{ $s := partialCached "scratch.html" . }} +{{ $noTriad := (slice) }} +{{ range $p := .Site.RegularPages }} +{{ $scratch := $s.Get (printf "/%s" $p.File) }} +{{ if eq $scratch.depth "core" }} +
+ {{ range $coreKid := $scratch.has_children }} +
+ {{ $scratchCKid := $s.Get (printf "/%s" $coreKid.File) }} + {{ range $mantleKid := $scratchCKid.has_children }} + + {{ end }} +
+ {{ end }} + {{ else if not (in (slice "core" "mantle" "crust") $scratch.depth)}} + {{ $noTriad = $noTriad | append $p }} + {{ else }} +
+ {{ end }} + {{ end }} + {{ range $noTriad }} +
{{- substr .File.Dir 0 -1 -}}⁄{{- .Title -}}
+ {{ end }} +{{ end }} diff --git a/themes/sandpoints/layouts/_default/single.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/single.html similarity index 100% rename from themes/sandpoints/layouts/_default/single.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/single.html diff --git a/themes/sandpoints/layouts/metadata/baseof.js.js b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/metadata/baseof.js.js similarity index 100% rename from themes/sandpoints/layouts/metadata/baseof.js.js rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/metadata/baseof.js.js diff --git a/themes/sandpoints/layouts/metadata/list.js.js b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/metadata/list.js.js similarity index 100% rename from themes/sandpoints/layouts/metadata/list.js.js rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/metadata/list.js.js diff --git a/themes/sandpoints/layouts/partials/backlinks.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/backlinks.html similarity index 100% rename from themes/sandpoints/layouts/partials/backlinks.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/backlinks.html diff --git a/themes/sandpoints/layouts/partials/footer.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/footer.html similarity index 100% rename from themes/sandpoints/layouts/partials/footer.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/footer.html diff --git a/themes/sandpoints/layouts/partials/head.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html similarity index 80% rename from themes/sandpoints/layouts/partials/head.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html index 0fa0470..e180fec 100644 --- a/themes/sandpoints/layouts/partials/head.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html @@ -24,14 +24,12 @@ -{{ if (or (eq hugo.Environment "gitea") (eq hugo.Environment "preview") ) }} - {{ $sitemin := resources.Get "css/site.min.css" }} - - {{ $player := resources.Get "css/player.min.css" }} - -{{ else }} +{{ if eq hugo.Environment "dev" }} {{ $style := resources.Get "css/site.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }} {{ $style := resources.Get "css/player.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }} +{{ else }} + + {{ end }} diff --git a/themes/sandpoints/layouts/partials/header.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html similarity index 73% rename from themes/sandpoints/layouts/partials/header.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html index 0e61029..4eb37a3 100644 --- a/themes/sandpoints/layouts/partials/header.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html @@ -1,5 +1,10 @@ {{ $s := partialCached "scratch.html" . }} +{{ $currentDir := "" }} +{{ with .File }} + {{ $currentDir = .Dir }} +{{ end }} + {{ $currentFile := (printf "/%s" .File) }} {{ $scratch := $s.Get $currentFile }} @@ -22,14 +27,14 @@ {{ end }} {{ if eq hugo.Environment "preview" }} - {{- $giteaUrl := .Site.Params.sandpointsGiteaUrl -}}
- EDIT_THIS - ADD_{{ with $scratch.core }}{{ index . 0 | upper }}{{ end }} - ADD_{{ with $scratch.mantle }}{{ index . 0 | upper }}{{ end }} - ADD_{{ with $scratch.crust }}{{ index . 0 | upper }}{{ end }} - PUBLISH - ? + EDIT_THIS + {{ with $scratch.core }}ADD_{{ index . 0 | upper }}{{ end }} + {{ with $scratch.mantle }}ADD_{{ index . 0 | upper }}{{ end }} + {{ with $scratch.crust }}ADD_{{ index . 0 | upper }}{{ end }} + {{ if not $scratch.core }}ADD_{{ substr $currentDir 0 -1 | upper }}{{ end }} + PUBLISH + ?
{{ end }} @@ -52,7 +57,7 @@ {{ else }} - {{ with (index $scratch.is_in 0) }}{{ substr .Title 0 1 }}{{ substr .Title 1 }}{{ end }} + {{ with (index $scratch.is_in 0) }}{{ substr .Title 0 1 }}{{ substr .Title 1 }}{{ end }} {{ end }} » {{ .Title }} {{ end }} @@ -72,7 +77,7 @@ {{ else }} {{ $home := index $is_in_is_in 0 }} - {{ substr $home.Title 0 1 }}{{ substr $home.Title 1 }} + {{ substr $home.Title 0 1 }}{{ substr $home.Title 1 }} {{ end }} {{ with gt (len $scratch.is_in) 1 }} diff --git a/themes/sandpoints/layouts/partials/pagedjs.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/pagedjs.html similarity index 100% rename from themes/sandpoints/layouts/partials/pagedjs.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/pagedjs.html diff --git a/themes/sandpoints/layouts/partials/sandpointjs.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/sandpointjs.html similarity index 100% rename from themes/sandpoints/layouts/partials/sandpointjs.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/sandpointjs.html diff --git a/themes/sandpoints/layouts/partials/scratch.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html similarity index 94% rename from themes/sandpoints/layouts/partials/scratch.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html index 881bdf2..3cbf6a8 100644 --- a/themes/sandpoints/layouts/partials/scratch.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html @@ -23,6 +23,17 @@ {{ end }} {{ end }} + {{ with $authors := $p.Params.authors }} + {{ range $author := $authors }} + {{ $authorLink := printf "/author/%s" $author }} + {{ with ($_.Get $authorLink) }} + {{ $_.SetInMap $authorLink "backlinks" (uniq ((index ($_.Get $authorLink) "backlinks") | append $p)) }} + {{ else }} + {{ $_.SetInMap $authorLink "backlinks" (slice $p) }} + {{ end }} + {{ end }} + {{ end }} + {{ $gp := $.GetPage $pPath }} {{ $gpPath := printf "/%s" $gp.File }} {{ range $k, $v := $gp.Params }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html new file mode 100644 index 0000000..6cfda2b --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html @@ -0,0 +1,81 @@ +{{ $s := partialCached "scratch.html" . }} + +{{ $currentNode := . }} +{{ $currentDir := "" }} +{{ with .File }} + {{ $currentDir = .Dir }} +{{ end }} +{{ $currentFile := (printf "/%s" .File) }} +{{ $scratch := $s.Get $currentFile }} + +
{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}{{ substr .Title 1 }}
+ +
+
+ {{ if ne (trim .Page.TableOfContents "\n") "" }} + {{ .Page.TableOfContents }} + {{ end }} +
+
+ {{- range $k, $v := .Page.Params.authors -}} + {{- with $.GetPage (printf "/author/%s" $v) -}} + {{- with not $k -}} +
+
author{{ with $.Page.Params.authors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}⁄
+
+ {{- end -}} + + {{- end -}} + {{- end -}} + {{- with .Page.Params.authors -}}
{{- end -}} + + {{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }} +
+ {{ with $scratch.backlinks }} +
mentioned in⁄
+ {{ end }} +
+ {{ range $scratch.backlinks }} + + {{ end }} +
+ {{ end }} + + {{ if and (not (eq $scratch.depth "crust")) $scratch.has_children }} +
+ {{ with $scratch.has }} +
has {{ $scratch.has }}⁄
+ {{ end }} +
+ {{ range $scratch.has_children }} + + {{ end }} +
+ {{ end }} + + {{ if eq $scratch.depth "crust" }} +
+
in {{ index $scratch.in 1 }}⁄
+
+ {{ range $scratch.is_in }} + + {{ end }} +
+ {{ end }} +
+
+ + +{{ with .Page.Params.abstract }}
abstract⁄{{ . | markdownify }}
{{ end }} + +{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}
keywords⁄{{- $v -}}{{- else -}}, {{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}
{{- end -}} +{{ with .Page.Params.abstract }}{{ end }} \ No newline at end of file diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html new file mode 100644 index 0000000..0d23469 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html @@ -0,0 +1,25 @@ +{{ $inn := .Inner | $.Page.RenderString }} +
+
+ {{- range $g := (split $inn "\n") -}} + {{- if hasPrefix $g "{r}" -}} +
+ {{- substr $g 3 | htmlUnescape | safeHTML -}} +
+ {{- else if hasPrefix $g "{g}" -}} +
+ {{- range (split (substr $g 3) "|") -}} + {{- with . -}} +
+ {{- range (split . "," ) -}} +
{{- . | htmlUnescape | safeHTML -}}
+ {{- end -}} +
+ {{- end -}} + {{- end -}} +
+ {{- end -}} + {{- end -}} +
+
{{ with .Get 0 }}{{ . }}{{ end}}
+
\ No newline at end of file diff --git a/themes/sandpoints/layouts/shortcodes/nosup.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/nosup.html similarity index 100% rename from themes/sandpoints/layouts/shortcodes/nosup.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/nosup.html diff --git a/themes/sandpoints/layouts/shortcodes/soundcloud.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/soundcloud.html similarity index 100% rename from themes/sandpoints/layouts/shortcodes/soundcloud.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/soundcloud.html diff --git a/themes/sandpoints/layouts/urls/baseof.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/baseof.html similarity index 100% rename from themes/sandpoints/layouts/urls/baseof.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/baseof.html diff --git a/themes/sandpoints/layouts/urls/list.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html similarity index 84% rename from themes/sandpoints/layouts/urls/list.html rename to _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html index 89bbef3..1896278 100644 --- a/themes/sandpoints/layouts/urls/list.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html @@ -33,6 +33,7 @@ {{ $http_links := (slice) }} {{ $library_links := (slice) }} + {{ $anchor_links := (slice) }} {{ $other_links := (slice) }} {{ with ($p.Scratch.Get "urls") }} @@ -79,12 +80,22 @@ {{ end }} {{ with $other_links }} + {{ $formattingN := 0 }} + {{ $anchorN := 0 }} {{ range $i, $_ := $other_links }} {{ if eq $i 0 }} -
Other links ({{ len $other_links }}):