!publish! big update.
This commit is contained in:
parent
8bcaf6aa93
commit
2f3c32f2e4
32 changed files with 4752 additions and 2432 deletions
|
@ -90,18 +90,18 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -114,17 +114,17 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -137,17 +137,17 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -160,17 +160,17 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -183,18 +183,18 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -207,18 +207,18 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -231,17 +231,17 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -254,17 +254,17 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -277,18 +277,18 @@ th:not([align]) {
|
|||
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");
|
||||
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 */
|
||||
}
|
||||
|
||||
|
@ -477,8 +477,11 @@ ol li {
|
|||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
img, video {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.supt {
|
||||
|
@ -575,9 +578,9 @@ img {
|
|||
|
||||
.rightcolumn {
|
||||
/* display: grid;
|
||||
grid-column: 2;
|
||||
grid-template-columns: auto 1fr;
|
||||
grid-auto-rows: max-content; */
|
||||
grid-column: 2;
|
||||
grid-template-columns: auto 1fr;
|
||||
grid-auto-rows: max-content; */
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
|
@ -592,6 +595,7 @@ img {
|
|||
|
||||
.hasauthors {
|
||||
font-size: 1.6rem !important;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.hassup {
|
||||
|
@ -669,7 +673,7 @@ h6 {
|
|||
padding-top: 1.2rem;
|
||||
padding-bottom: 1.2rem;
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
max-width: 70ch;
|
||||
max-width: 45ch;
|
||||
}
|
||||
|
||||
.authors {
|
||||
|
@ -775,7 +779,7 @@ h6:before {
|
|||
color: rgba(0, 0, 0, 0.4);
|
||||
counter-increment: h6;
|
||||
content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "."
|
||||
counter(h6) ". ";
|
||||
counter(h6) ". ";
|
||||
}
|
||||
|
||||
h2.nocount:before,
|
||||
|
@ -834,9 +838,9 @@ details {
|
|||
}
|
||||
|
||||
/* .glossline {
|
||||
border-bottom: lightgray solid 1px;
|
||||
border-top: lightgray solid 1px;
|
||||
} */
|
||||
border-bottom: lightgray solid 1px;
|
||||
border-top: lightgray solid 1px;
|
||||
} */
|
||||
|
||||
.glosswords {
|
||||
display: inline-block;
|
||||
|
@ -876,6 +880,11 @@ details {
|
|||
background-color: #fff9f9;
|
||||
}
|
||||
|
||||
.svedit {
|
||||
display: none;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
html {
|
||||
box-sizing: border-box;
|
||||
|
|
|
@ -54,7 +54,48 @@ window.addEventListener("scroll", function (e) {
|
|||
}
|
||||
});
|
||||
|
||||
function editPage(repoJsId) {
|
||||
let relPath = "../".repeat(relPathDepth - 1);
|
||||
var el = document.createElement('script');
|
||||
el.onload = ()=> {
|
||||
console.log("loading...")
|
||||
console.log(repo)
|
||||
}
|
||||
el.src = `${relPath}js/repo/${repoJsId}.js`
|
||||
document.body.appendChild(el)
|
||||
document.location.href = `${relPath}edit/index.html?edit=${repoJsId}`
|
||||
ev}
|
||||
|
||||
window.addEventListener("keyup", (e)=> {
|
||||
if (e.key == "e" && location.protocol == "file:") {
|
||||
editPage(sandpointsPageId)
|
||||
} else if (e.key == "E" && location.protocol == "file:") {
|
||||
let preview = document.querySelector("#preview");
|
||||
if (preview.style.display == "flex") {
|
||||
preview.style.display = "none";
|
||||
} else {
|
||||
preview.style.display = "flex";
|
||||
}
|
||||
console.log("preview: ", preview);
|
||||
}
|
||||
})
|
||||
|
||||
window.addEventListener("DOMContentLoaded", (e) => {
|
||||
if (location.protocol == "file:") {
|
||||
document.querySelectorAll(".svedit").forEach((i) => {
|
||||
i.style.display = "inline";
|
||||
})
|
||||
}
|
||||
|
||||
document.querySelectorAll('.triadlink').forEach((i) => {
|
||||
i.addEventListener("click", (ev) => {
|
||||
if (ev.ctrlKey) {
|
||||
ev.preventDefault()
|
||||
editPage(ev.target.getAttribute("repoid"))
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
let preview = document.querySelector("#preview");
|
||||
if (
|
||||
location.pathname.split("/").includes("_preview") ||
|
||||
|
@ -66,15 +107,17 @@ window.addEventListener("DOMContentLoaded", (e) => {
|
|||
let par = document.querySelector(
|
||||
"#TableOfContents > ol:first-child > li:first-child"
|
||||
);
|
||||
let s = document.createElement("span");
|
||||
s.appendChild(par.cloneNode(true));
|
||||
par.remove();
|
||||
document
|
||||
.querySelector("#TableOfContents > ol:first-child")
|
||||
.insertBefore(
|
||||
s,
|
||||
document.querySelector("#TableOfContents > ol:first-child").firstChild
|
||||
);
|
||||
if (par) {
|
||||
let s = document.createElement("span");
|
||||
s.appendChild(par.cloneNode(true));
|
||||
par.remove();
|
||||
document
|
||||
.querySelector("#TableOfContents > ol:first-child")
|
||||
.insertBefore(
|
||||
s,
|
||||
document.querySelector("#TableOfContents > ol:first-child").firstChild
|
||||
);
|
||||
}
|
||||
|
||||
if (document.querySelector(".soundcite")) {
|
||||
let relPath = "../".repeat(relPathDepth - 1);
|
||||
|
|
|
@ -427,6 +427,7 @@ ol li {
|
|||
|
||||
.hasauthors {
|
||||
font-size: 1.6rem !important;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.hassup {
|
||||
|
|
|
@ -5,7 +5,17 @@
|
|||
{{ $_.Add "triads" $k }}
|
||||
{{- end -}}
|
||||
|
||||
{{- if strings.HasPrefix .Destination "bib:" -}}
|
||||
{{- if strings.HasPrefix .Destination "img:" -}}
|
||||
{{- $img_params := (substr .Destination 4) -}}
|
||||
{{- $img_src := index (split $img_params " ") 0 -}}
|
||||
{{- $img_attr := index (split $img_params $img_src) 1 -}}
|
||||
<img class="sandpoints-img" src="{{ $img_src }}" {{ $img_attr | safeHTMLAttr }} />
|
||||
{{- else if strings.HasPrefix .Destination "vid:" -}}
|
||||
{{- $vid_params := (substr .Destination 4) -}}
|
||||
{{- $vid_src := index (split $vid_params " ") 0 -}}
|
||||
{{- $vid_attr := index (split $vid_params $vid_src) 1 -}}
|
||||
<video class="sandpoints-vid" controls src="{{ $vid_src }}" {{ $vid_attr | safeHTMLAttr }}></video>
|
||||
{{- else if strings.HasPrefix .Destination "bib:" -}}
|
||||
{{- $destination := (substr .Destination 4) -}}
|
||||
{{- $c_prefix := .Page.Site.Params.sandpointsCatalogPrefix | default "/library/" -}}
|
||||
{{- if index $.Page.Site.Data.books.catalog $destination -}}
|
||||
|
@ -22,16 +32,16 @@
|
|||
<span class="sup">bib⁄</span><a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank">{{- $text_link -}}</a>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}>{{- $text_link -}}⦚<span class="text-xs font-bold p-1 bg-AuChico text-CoconutCream">bib:{{- $destination -}} not found</span></a>
|
||||
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}>{{- $text_link -}}⦚<span>bib:{{- $destination -}} not found</span></a>
|
||||
{{- end -}}
|
||||
{{- else if in ($_.Get "triads") (index (split .Destination ":") 0) -}}
|
||||
{{- if $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}}
|
||||
{{- $session := $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}}
|
||||
{{ .Page.Scratch.Add "links" (slice $session) }}
|
||||
{{- if not $text_link -}}
|
||||
<a printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $session.Title}} title="{{- $session.Title -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $session.Title -}}</a>
|
||||
<a class="triadlink" repoid="{{- $session.File.UniqueID -}}" printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $session.Title}} title="{{- $session.Title -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $session.Title -}}</a>
|
||||
{{- else -}}
|
||||
<a printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $text_link -}}</a>
|
||||
<a class="triadlink" repoid="{{- $session.File.UniqueID -}}" printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $text_link -}}</a>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<a href="{{- .Destination -}}/{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}">{{- $text_link -}}⦚<span>{{- .Destination -}} not found</span></a>
|
||||
|
|
|
@ -33,9 +33,19 @@
|
|||
{{ with $scratch.mantle }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ with $scratch.crust }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ if not $scratch.core }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_edit/master/PUBLISH.trigger.md">PUBLISH</a>
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_edit/master/PUBLISH.trigger.mkd">PUBLISH</a>
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}"> ? </a>
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ $editPage := $.Site.GetPage "/edit" }}
|
||||
<div class="headiter" id="preview">
|
||||
<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?edit={{ .File.UniqueID }}">EDIT_THIS</a>
|
||||
{{ with $scratch.core }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ with $scratch.mantle }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ with $scratch.crust }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ if not $scratch.core }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="header">
|
||||
|
@ -43,6 +53,9 @@
|
|||
<img src="/images/bibliotheke.svg" />
|
||||
</a>
|
||||
<div class="breadcrumbs">
|
||||
{{ if and (not $scratch.depth) $.Site.Params.sandpointsHome }}
|
||||
<a href="{{ with $.GetPage $.Site.Params.sandpointsHome }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}"><span class="supt">{{ with $.GetPage $.Site.Params.sandpointsHome }}{{ substr .Title 0 1 }}</span><i>{{ substr .Title 1 }}</i></a>{{ end }}
|
||||
{{ end }}
|
||||
{{ if eq $scratch.depth "mantle" }}
|
||||
{{ with gt (len $scratch.is_in) 1 }}
|
||||
<div class="ddmenu">
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
{{ $scratch := $s.Get $currentFile }}
|
||||
|
||||
{{ $sandnamePlural := (slice) }}
|
||||
{{ $sandnameSingular := "" }}
|
||||
{{ $mentionLink := "" }}
|
||||
|
||||
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}⁄</span>{{ .Title }}</div>
|
||||
|
||||
|
@ -31,12 +33,17 @@
|
|||
{{ $mentions := intersect $paramsKeys $sandnamePlural }}
|
||||
{{ range $mention := $mentions }}
|
||||
{{ range $k, $m := index $currentNode.Params $mention }}
|
||||
{{ $mentionLink := printf "/%s/%s" (substr $mention 0 -1) $m }}
|
||||
{{ range $k, $v := $.Site.Data.sandpointsnamegraph }}
|
||||
{{ if eq $v $mention }}
|
||||
{{ $mentionLink = printf "/%s/%s" $k $m }}
|
||||
{{ $sandnameSingular = $k }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- with $.GetPage $mentionLink -}}
|
||||
{{- with not $k -}}
|
||||
{{ $closeDivs = true }}
|
||||
<div class="has hasauthors">
|
||||
<div class="hassup">{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ substr $mention 0 -1 }}{{ end }}{{ end }}⁄</div>
|
||||
<div class="hassup">{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ $sandnameSingular }}{{ end }}{{ end }}⁄</div>
|
||||
<div class="afterhas">
|
||||
{{- end -}}
|
||||
<div class="crust">
|
||||
|
@ -44,8 +51,8 @@
|
|||
</div>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{- with $closeDivs -}}</div></div>{{ end }}
|
||||
{{ end }}
|
||||
{{- with $closeDivs -}}</div></div>{{ end }}
|
||||
|
||||
{{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
|
||||
<div class="has hasmentionedin">
|
||||
|
@ -92,4 +99,7 @@
|
|||
|
||||
{{ with .Page.Params.abstract }}<div class="abstract"><span class="supt">abstract⁄</span>{{ . | $.Page.RenderString | htmlUnescape | safeHTML }}</div>{{ end }}
|
||||
|
||||
{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}<div class="keywords"><span class="sup">keywords⁄</span>{{- $v -}}{{- else -}}, {{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}</div>{{- end -}}
|
||||
{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}<div class="keywords"><span class="sup">keywords⁄</span><a href="/keywords/{{ urlize $v }}/{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{- $v -}}</a>{{- else -}}, <a href="/keywords/{{ urlize $v }}/{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{- $v -}}</a>{{- end -}}{{- end -}}{{- with $vld -}}</div>{{- end -}}
|
||||
|
||||
{{ $var := printf "repo={\"frontmatter\": %s, \"content\": %s, \"path\": \"%s\", \"relpermalink\": \"%s\" }" (jsonify .Params) (jsonify .RawContent) .File.Path .RelPermalink | resources.FromString (printf "js/repo/%s.js" .File.UniqueID) }}
|
||||
{{ $dummy := $var.Permalink }}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,20 +1,61 @@
|
|||
{
|
||||
"syllabus": "syllabi",
|
||||
"curriculum": "curriculums",
|
||||
"notebook": "notebooks",
|
||||
"book": "books",
|
||||
"journal": "journals",
|
||||
"topic": "topics",
|
||||
"part": "parts",
|
||||
"issue": "issues",
|
||||
"tab": "tabs",
|
||||
"experiment": "experiments",
|
||||
"session": "sessions",
|
||||
"chapter": "chapters",
|
||||
"article": "articles",
|
||||
"note": "notes",
|
||||
"annex": "annexes",
|
||||
"article": "articles",
|
||||
"atlas": "atlases",
|
||||
"author": "authors",
|
||||
"book": "books",
|
||||
"bundle": "bundles",
|
||||
"cabin": "cabins",
|
||||
"chapter": "chapters",
|
||||
"compartment": "compartments",
|
||||
"contributor": "contributors",
|
||||
"curriculum": "curriculums",
|
||||
"deck": "decks",
|
||||
"doc": "docs",
|
||||
"document": "documents",
|
||||
"editor": "editors",
|
||||
"contributor": "contributors"
|
||||
"entry": "entries",
|
||||
"experiment": "experiments",
|
||||
"factor": "factors",
|
||||
"floor": "floors",
|
||||
"fragment": "fragments",
|
||||
"glossary": "glossaries",
|
||||
"highlight": "highlights",
|
||||
"house": "houses",
|
||||
"issue": "issues",
|
||||
"item": "items",
|
||||
"journal": "journals",
|
||||
"library": "libraries",
|
||||
"librarian": "librarians",
|
||||
"logbook": "logbooks",
|
||||
"glassblower": "glassblowers",
|
||||
"map": "maps",
|
||||
"mirror": "mirrors",
|
||||
"memory": "memories",
|
||||
"note": "notes",
|
||||
"notebook": "notebooks",
|
||||
"part": "parts",
|
||||
"person": "people",
|
||||
"pin": "pins",
|
||||
"print": "prints",
|
||||
"record": "records",
|
||||
"reflection": "reflections",
|
||||
"repertorium": "repertoriums",
|
||||
"research": "researches",
|
||||
"room": "rooms",
|
||||
"scribe": "scribes",
|
||||
"section": "sections",
|
||||
"series": "series",
|
||||
"session": "sessions",
|
||||
"shard": "shards",
|
||||
"ship": "ships",
|
||||
"spectre": "spectres",
|
||||
"struggle": "struggles",
|
||||
"syllabus": "syllabi",
|
||||
"tab": "tabs",
|
||||
"term":"terms",
|
||||
"thing": "things",
|
||||
"topic": "topics",
|
||||
"toponym": "toponyms",
|
||||
"voice": "voices"
|
||||
}
|
||||
|
|
|
@ -5,7 +5,17 @@
|
|||
{{ $_.Add "triads" $k }}
|
||||
{{- end -}}
|
||||
|
||||
{{- if strings.HasPrefix .Destination "bib:" -}}
|
||||
{{- if strings.HasPrefix .Destination "img:" -}}
|
||||
{{- $img_params := (substr .Destination 4) -}}
|
||||
{{- $img_src := index (split $img_params " ") 0 -}}
|
||||
{{- $img_attr := index (split $img_params $img_src) 1 -}}
|
||||
<img class="sandpoints-img" src="{{ $img_src }}" {{ $img_attr | safeHTMLAttr }} />
|
||||
{{- else if strings.HasPrefix .Destination "vid:" -}}
|
||||
{{- $vid_params := (substr .Destination 4) -}}
|
||||
{{- $vid_src := index (split $vid_params " ") 0 -}}
|
||||
{{- $vid_attr := index (split $vid_params $vid_src) 1 -}}
|
||||
<video class="sandpoints-vid" controls src="{{ $vid_src }}" {{ $vid_attr | safeHTMLAttr }}></video>
|
||||
{{- else if strings.HasPrefix .Destination "bib:" -}}
|
||||
{{- $destination := (substr .Destination 4) -}}
|
||||
{{- $c_prefix := .Page.Site.Params.sandpointsCatalogPrefix | default "/library/" -}}
|
||||
{{- if index $.Page.Site.Data.books.catalog $destination -}}
|
||||
|
@ -17,21 +27,21 @@
|
|||
{{ end }}
|
||||
{{ .Page.Scratch.Add "bibs" (slice (slice $bibhref $bibtitle)) }}
|
||||
{{- if not $text_link -}}
|
||||
<span>{{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}.<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank"><span class="sup">bib⁄</span><i>‘{{- $b.title -}}’</i></a>. {{- with $b.publisher -}}{{- . -}}.{{- end -}}</span>
|
||||
{{- else -}}
|
||||
<span class="sup">bib⁄</span><a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank">{{- $text_link -}}</a>
|
||||
<span>{{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}. <a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank"><span class="sup">bib⁄</span><i>{{- $b.title -}}</i></a>. {{- with $b.publisher -}}{{- . -}}.{{- end -}}</span>
|
||||
{{- else -}}
|
||||
<span class="sup">bib⁄</span><a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with $b.title}} title="{{- . -}}"{{- end -}} target="_blank">{{- $text_link -}}</a>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}>{{- $text_link -}}⦚<span class="text-xs font-bold p-1 bg-AuChico text-CoconutCream">bib:{{- $destination -}} not found</span></a>
|
||||
<a href="{{- $c_prefix | safeURL -}}BROWSE_LIBRARY.html#/book/{{- $destination -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}>{{- $text_link -}}⦚<span>bib:{{- $destination -}} not found</span></a>
|
||||
{{- end -}}
|
||||
{{- else if in ($_.Get "triads") (index (split .Destination ":") 0) -}}
|
||||
{{- if $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}}
|
||||
{{- $session := $.Page.Site.GetPage (printf "/%s" (replace .Destination ":" "/")) -}}
|
||||
{{ .Page.Scratch.Add "links" (slice $session) }}
|
||||
{{- if not $text_link -}}
|
||||
<a printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $session.Title}} title="{{- $session.Title -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $session.Title -}}</a>
|
||||
<a class="triadlink" repoid="{{- $session.File.UniqueID -}}" printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $session.Title}} title="{{- $session.Title -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $session.Title -}}</a>
|
||||
{{- else -}}
|
||||
<a printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $text_link -}}</a>
|
||||
<a class="triadlink" repoid="{{- $session.File.UniqueID -}}" printhref="#ph-{{- $session.File.UniqueID -}}" href="{{- $session.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title}} title="{{- . -}}"{{- end -}}><span class="sup">{{- index (split .Destination ":") 0 -}}⁄</span>{{- $text_link -}}</a>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
<a href="{{- .Destination -}}/{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}">{{- $text_link -}}⦚<span>{{- .Destination -}} not found</span></a>
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
|
||||
<head>
|
||||
{{- partialCached "head.html" . -}}
|
||||
{{- partial "head.html" . -}}
|
||||
<title>{{- .Title }} - {{ .Site.Title -}}</title>
|
||||
{{- partialCached "sandpointjs.html" . .RelPermalink -}}
|
||||
</head>
|
||||
<body>
|
||||
{{- block "singlebody" . }}{{- end }}
|
||||
{{- block "singlebody" . }}{{- end -}}
|
||||
{{- partialCached "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
{{ $currentDir = .Dir }}
|
||||
{{ end }}
|
||||
{{ $currentFile := (printf "/%s" .File) }}
|
||||
{{ $editFile := $.Site.GetPage "/edit" }}
|
||||
{{ $editFilePath := $editFile.RelPermalink }}
|
||||
|
||||
|
||||
<div class="coretitle"><span class="supt">Sitemap⁄{{ substr $.Site.Title 0 1 }}</span>{{ substr $.Site.Title 1 }} {{with $currentDir}}({{ . }}){{ end }}</div>
|
||||
|
||||
|
@ -14,12 +17,12 @@
|
|||
{{ range $p := .Site.RegularPages }}
|
||||
{{ $scratch := $s.Get (printf "/%s" $p.File) }}
|
||||
{{ if eq $scratch.depth "core" }}
|
||||
<div class="sitemap" ><div class="{{ with $p.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><a href="{{- $p.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $p.Title}} title="{{- $p.Title -}}"{{- end -}}><span class="sup">{{- substr $p.File.Dir 0 -1 -}}⁄</span>{{- $p.Title -}}</a></div>
|
||||
<div class="sitemap" ><div class="{{ with $p.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><a href="{{- $p.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $p.Title}} title="{{- $p.Title -}}"{{- end -}}><span class="sup">{{- substr $p.File.Dir 0 -1 -}}⁄</span>{{- $p.Title -}}</a><a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath $p.File.UniqueID -}}">[EDIT]</a></div>
|
||||
{{ range $coreKid := $scratch.has_children }}
|
||||
<div class="sitemap"><a href="{{- $coreKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $coreKid.Title}} title="{{- $coreKid.Title -}}"{{- end -}}><div class="{{ with $coreKid.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><span class="sup">{{- substr $coreKid.File.Dir 0 -1 -}}⁄</span>{{- $coreKid.Title -}}</a></div>
|
||||
<div class="sitemap"><a href="{{- $coreKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $coreKid.Title}} title="{{- $coreKid.Title -}}"{{- end -}}><div class="{{ with $coreKid.File }}{{ if eq $currentDir .Dir }}highline{{ end }}{{ end }}"><span class="sup">{{- substr $coreKid.File.Dir 0 -1 -}}⁄</span>{{- $coreKid.Title -}}</a><a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath $coreKid.File.UniqueID -}}">[EDIT]</a></div>
|
||||
{{ $scratchCKid := $s.Get (printf "/%s" $coreKid.File) }}
|
||||
{{ range $mantleKid := $scratchCKid.has_children }}
|
||||
<div class="sitemap"><div class="{{ with $mantleKid.File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- $mantleKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $mantleKid.Title}} title="{{- $mantleKid.Title -}}"{{- end -}}><span class="sup">{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}</span>{{- $mantleKid.Title -}}</a></div></div>
|
||||
<div class="sitemap"><div class="{{ with $mantleKid.File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- $mantleKid.RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with $mantleKid.Title}} title="{{- $mantleKid.Title -}}"{{- end -}}><span class="sup">{{ with $mantleKid.File }}{{substr .Dir 0 -1 -}}⁄{{ end }}</span>{{- $mantleKid.Title -}}</a><a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath $mantleKid.File.UniqueID -}}">[EDIT]</a></div></div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -30,6 +33,6 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ range $noTriad }}
|
||||
<div class="sitemap {{ with .File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- .RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title }} title="{{- . -}}"{{- end -}}><span class="sup">{{- substr .File.Dir 0 -1 -}}⁄</span>{{- .Title -}}</a></div>
|
||||
<div class="sitemap {{ with .File }}{{ if eq $currentDir .Dir }} highline{{ end }}{{ end }}"><a href="{{- .RelPermalink -}}{{- if eq hugo.Environment "offline" -}}index.html{{- end -}}"{{- with .Title }} title="{{- . -}}"{{- end -}}><span class="sup">{{- substr .File.Dir 0 -1 -}}⁄</span>{{- .Title -}}</a>{{ if not (or (hasPrefix .File.Dir "edit") (hasPrefix .File.Dir "print")) }}<a class="svedit" href="{{- printf "%sindex.html#%s" $editFilePath .File.UniqueID -}}">[EDIT]</a>{{ end }}</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
|
||||
<head>
|
||||
<title>{{- .Title }} - {{ .Site.Title -}}</title>
|
||||
<meta charset='utf-8'>
|
||||
<meta name='viewport' content='width=device-width,initial-scale=1'>
|
||||
<link rel='stylesheet' href='build/global.css'>
|
||||
<!-- <link rel='stylesheet' href='build/bundle.css'> -->
|
||||
<script defer src='../metadata/index.js'></script>
|
||||
<script defer src='build/bundle.js'></script>
|
||||
<title>edit⁄{{- .Site.Title -}}</title>
|
||||
</head>
|
||||
<body>
|
||||
{{ block "edit" . }}{{ end }}
|
||||
</body>
|
||||
<body>{{- block "main" . -}}{{- end -}}</body>
|
||||
</html>
|
||||
|
|
|
@ -1,10 +1,2 @@
|
|||
{{ define "edit" }}
|
||||
{{ range (readDir ".") }}
|
||||
{{ if .IsDir }}
|
||||
<p>Dir: {{ .Name }}</p>
|
||||
{{ partial "readdir.html" .Name }}
|
||||
{{ else }}
|
||||
<p>File: {{ .Name }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
{{ end }}
|
||||
|
|
1
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/single.html
generated
Normal file
1
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/edit/single.html
generated
Normal file
|
@ -0,0 +1 @@
|
|||
{{- define "main" -}}{{- end -}}
|
|
@ -1 +1,20 @@
|
|||
{{ define "main" }}SECTIONS=[{{ range .Site.Sections }}{"section": "{{ with .File }}{{ trim .Dir "/" }}{{ end }}", "items": [{{ range .Pages }}"{{ .File.BaseFileName }}", {{ end }}]}, {{ end }}];{{ end }}
|
||||
{{- define "main" -}}
|
||||
{{ $sections := (slice) }}
|
||||
{{ $tiers := (slice) }}
|
||||
{{ range $.Site.Sections }}
|
||||
{{ with .File }}
|
||||
{{ $sections = $sections | append (strings.TrimSuffix "/" .Dir) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $metasp := (dict) }}
|
||||
{{ range $k, $v := $.Site.Data.sandpointsnamegraph }}
|
||||
{{ if in $sections $k }}
|
||||
{{ $tiers = (slice) }}
|
||||
{{ range where $.Site.RegularPages "Section" $k }}
|
||||
{{ $tiers = $tiers | append (merge (dict "file" .File.LogicalName) (dict "title" .Title)) }}
|
||||
{{ end }}
|
||||
{{ $metasp = merge $metasp (dict $v (merge (dict "singular" $k) (dict "tiers" $tiers))) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ printf "METASP=%s;" (jsonify $metasp) }}
|
||||
{{ end }}
|
||||
|
|
|
@ -11,10 +11,21 @@
|
|||
<meta name="keywords" content="{{ delimit .Keywords "," }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.Author }}
|
||||
<meta name="author" content="{{ .Params.Author }}" />
|
||||
{{ if .Params.editors }}
|
||||
{{ range .Params.editors }}
|
||||
{{ $e := $.GetPage (printf "editor/%s" .) }}
|
||||
<meta name="editor" content="{{ $e.Title }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Params.authors }}
|
||||
{{ range .Params.authors }}
|
||||
{{ $e := $.GetPage (printf "author/%s" .) }}
|
||||
<meta name="author" content="{{ $e.Title }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
|
@ -27,9 +38,9 @@
|
|||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#996561">
|
||||
|
||||
{{ if eq hugo.Environment "dev" }}
|
||||
{{ $style := resources.Get "css/site.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }}
|
||||
{{ $style := resources.Get "css/site.css" | resources.PostCSS (dict "config" "assets/css/postcss.config.js") | minify }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
|
||||
{{ $style := resources.Get "css/player.css" | postCSS (dict "config" "assets/css/postcss.config.js") | minify }}
|
||||
{{ $style := resources.Get "css/player.css" | resources.PostCSS (dict "config" "assets/css/postcss.config.js") | minify }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
|
||||
{{ else }}
|
||||
<link rel="stylesheet" href="/css/site.min.css" />
|
||||
|
|
|
@ -33,9 +33,19 @@
|
|||
{{ with $scratch.mantle }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ with $scratch.crust }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ index . 0 }}/">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ if not $scratch.core }}<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_new/master/content/{{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_edit/master/PUBLISH.trigger.md">PUBLISH</a>
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}/_edit/master/PUBLISH.trigger.mkd">PUBLISH</a>
|
||||
<a class="edit-button" target="_blank" href="{{ $.Site.Params.sandpointsGiteaUrl }}"> ? </a>
|
||||
</div>
|
||||
{{ else }}
|
||||
{{ $editPage := $.Site.GetPage "/edit" }}
|
||||
<div class="headiter" id="preview">
|
||||
<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?edit={{ .File.UniqueID }}">EDIT_THIS</a>
|
||||
{{ with $scratch.core }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ with $scratch.mantle }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ with $scratch.crust }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ index . 0 }}">ADD_{{ index . 0 | upper }}</a>{{ end }}
|
||||
{{ if not $scratch.core }}<a class="edit-button" href="{{ $editPage.RelPermalink }}index.html?new={{ $currentDir }}">ADD_{{ substr $currentDir 0 -1 | upper }}</a>{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="header">
|
||||
|
@ -43,6 +53,9 @@
|
|||
<img src="/images/bibliotheke.svg" />
|
||||
</a>
|
||||
<div class="breadcrumbs">
|
||||
{{ if and (not $scratch.depth) $.Site.Params.sandpointsHome }}
|
||||
<a href="{{ with $.GetPage $.Site.Params.sandpointsHome }}{{ .RelPermalink }}{{ end }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}"><span class="supt">{{ with $.GetPage $.Site.Params.sandpointsHome }}{{ substr .Title 0 1 }}</span><i>{{ substr .Title 1 }}</i></a>{{ end }}
|
||||
{{ end }}
|
||||
{{ if eq $scratch.depth "mantle" }}
|
||||
{{ with gt (len $scratch.is_in) 1 }}
|
||||
<div class="ddmenu">
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
{{ $currentFile := (printf "/%s" .File) }}
|
||||
{{ $scratch := $s.Get $currentFile }}
|
||||
|
||||
{{ $longestTitle := "" }}
|
||||
|
||||
<div id="ph-{{ .File.UniqueID }}" class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}⁄</span>{{ .Title }}</div>
|
||||
|
||||
<div class="grid">
|
||||
|
@ -64,7 +66,13 @@
|
|||
<div class="{{ $scratch.child_depth }} crustoc">
|
||||
<a class="toc" href="#ph-{{ .File.UniqueID }}"><span><span class="back">{{ .Title }} {{with $authors}}({{ $authors }}){{ end }}</span></span></a>
|
||||
</div>
|
||||
{{ if gt (len .Title) (len $longestTitle) }}
|
||||
{{ $longestTitle = .Title }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div class="{{ $scratch.child_depth }} crustoc longesttitle">
|
||||
<a class="toc" href="javascript:;"><span><span class="back">{{ $longestTitle }}.....</span></span></a>
|
||||
</div>
|
||||
</div></div>
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
<p>_Dir: {{ $currentName }}</p>
|
||||
{{ partial "readdir.html" $currentName }}
|
||||
{{ else }}
|
||||
<p>_File: {{ $currentName }}
|
||||
{{ if eq (path.Ext .Name) ".md" }}
|
||||
{{ $f := readFile $currentName }}
|
||||
<textarea wrap="off" col="108" row="48 ">{{ $f }}</textarea>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script type="text/javascript">var relPathDepth = {{- .RelPermalink | strings.Count "/" -}};</script>
|
||||
<script type="text/javascript">var relPathDepth = {{- .RelPermalink | strings.Count "/" -}};var sandpointsPageId = "{{- with .File -}}{{- .UniqueID -}}{{- end -}}";</script>
|
||||
{{ $sjsopts := dict "targetPath" "js/sandpoints.js" "minify" "true"}}
|
||||
{{ $sjs := resources.Get "js/sandpoints.js" | js.Build $sjsopts }}
|
||||
<script defer src='{{ $sjs.RelPermalink }}' type="application/javascript"></script>
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
{{ $scratch := $s.Get $currentFile }}
|
||||
|
||||
{{ $sandnamePlural := (slice) }}
|
||||
{{ $sandnameSingular := "" }}
|
||||
{{ $mentionLink := "" }}
|
||||
|
||||
<div class="{{ $scratch.depth | default "crust" }}title"><span class="supt">{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}</span>{{ substr .Title 1 }}</div></div>
|
||||
|
||||
|
@ -31,12 +33,17 @@
|
|||
{{ $mentions := intersect $paramsKeys $sandnamePlural }}
|
||||
{{ range $mention := $mentions }}
|
||||
{{ range $k, $m := index $currentNode.Params $mention }}
|
||||
{{ $mentionLink := printf "/%s/%s" (substr $mention 0 -1) $m }}
|
||||
{{ range $k, $v := $.Site.Data.sandpointsnamegraph }}
|
||||
{{ if eq $v $mention }}
|
||||
{{ $mentionLink = printf "/%s/%s" $k $m }}
|
||||
{{ $sandnameSingular = $k }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- with $.GetPage $mentionLink -}}
|
||||
{{- with not $k -}}
|
||||
{{ $closeDivs = true }}
|
||||
<div class="has hasauthors">
|
||||
<div class="hassup">{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ substr $mention 0 -1 }}{{ end }}{{ end }}⁄</div>
|
||||
<div class="hassup">{{ with (index $currentNode.Params $mention) }}{{ if gt (len (index $currentNode.Params $mention)) 1 }}{{ $mention }}{{ else }}{{ $sandnameSingular }}{{ end }}{{ end }}⁄</div>
|
||||
<div class="afterhas">
|
||||
{{- end -}}
|
||||
<div class="crust">
|
||||
|
@ -44,8 +51,8 @@
|
|||
</div>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{- with $closeDivs -}}</div></div>{{ end }}
|
||||
{{ end }}
|
||||
{{- with $closeDivs -}}</div></div>{{ end }}
|
||||
|
||||
{{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}
|
||||
<div class="has hasmentionedin">
|
||||
|
@ -92,4 +99,7 @@
|
|||
|
||||
{{ with .Page.Params.abstract }}<div class="abstract"><span class="supt">abstract⁄</span>{{ . | $.Page.RenderString | htmlUnescape | safeHTML }}</div>{{ end }}
|
||||
|
||||
{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}<div class="keywords"><span class="sup">keywords⁄</span>{{- $v -}}{{- else -}}, {{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}</div>{{- end -}}
|
||||
{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}<div class="keywords"><span class="sup">keywords⁄</span><a href="/keywords/{{ urlize $v }}/{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{- $v -}}</a>{{- else -}}, <a href="/keywords/{{ urlize $v }}/{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{- $v -}}</a>{{- end -}}{{- end -}}{{- with $vld -}}</div>{{- end -}}
|
||||
|
||||
{{ $var := printf "repo={\"frontmatter\": %s, \"content\": %s, \"path\": \"%s\", \"relpermalink\": \"%s\" }" (jsonify .Params) (jsonify .RawContent) .File.Path .RelPermalink | resources.FromString (printf "js/repo/%s.js" .File.UniqueID) }}
|
||||
{{ $dummy := $var.Permalink }}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{- else -}}en-us{{- end -}}">
|
||||
<head>
|
||||
{{- partialCached "head.html" . -}}
|
||||
{{- partial "head.html" . -}}
|
||||
{{- partial "pagedjs.html" . -}}
|
||||
</head>
|
||||
<body>
|
||||
|
|
12
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/taxonomy/baseof.html
generated
Normal file
12
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/taxonomy/baseof.html
generated
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}">
|
||||
<head>
|
||||
{{- partialCached "head.html" . -}}
|
||||
<title>{{- .Title }} - {{ .Site.Title -}}</title>
|
||||
{{- partialCached "sandpointjs.html" . .RelPermalink -}}
|
||||
</head>
|
||||
<body>
|
||||
{{- block "keywords" . -}}{{- end -}}
|
||||
{{- partialCached "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
23
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/taxonomy/list.html
generated
Normal file
23
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/taxonomy/list.html
generated
Normal file
|
@ -0,0 +1,23 @@
|
|||
{{ define "keywords" }}
|
||||
{{ $p := split (trim .RelPermalink "/") "/" }}
|
||||
{{ if eq (len $p) 1 }}
|
||||
<div class="coretitle"><span class="supt">{{ index $p 0 }}⁄</span>All</div>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
|
||||
{{ if eq (index $p 0) $taxonomyname }}
|
||||
{{ range $key, $value := $taxonomy }}
|
||||
<span> <a href="/{{ index $p 0 }}/{{ $key }}/{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ $key }}</a>({{ len (index (index $.Site.Taxonomies $taxonomyname) $key) }})</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="coretitle"><span class="supt">{{ index $p 0 }}⁄</span>{{ index $p 1 }}</div>
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
<div class="blog-date">{{ .Date.Format "Jan 2, 2006" }}</div>
|
||||
<div class="blog-title"><a href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">{{ .Title }}</a></div>
|
||||
{{ range $n, $authorFile := .Params.authors }}
|
||||
{{ $author := $.GetPage (printf "/author/%s" $authorFile) }}
|
||||
<span class="blog-author"><a href="{{ $author.RelPermalink }}">{{ $author.Title }}</a></span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -200,7 +200,8 @@
|
|||
bottom: 0
|
||||
}
|
||||
|
||||
.crustoc::after {
|
||||
a.toc::before {
|
||||
direction: rtl;
|
||||
content: " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ";
|
||||
line-height: 0;
|
||||
height: 1px;
|
||||
|
@ -233,4 +234,9 @@
|
|||
ol[data-split-from] {
|
||||
padding-left: 0.5rem;
|
||||
}
|
||||
|
||||
.longesttitle {
|
||||
visibility: hidden;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
|
2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css
generated
vendored
2
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/css/site.min.css
generated
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
BIN
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/logo/800x418.png
generated
Normal file
BIN
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/logo/800x418.png
generated
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/logo/800x800.png
generated
Normal file
BIN
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/logo/800x800.png
generated
Normal file
Binary file not shown.
After Width: | Height: | Size: 37 KiB |
145
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/logo/index.html
generated
Normal file
145
_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/static/logo/index.html
generated
Normal file
|
@ -0,0 +1,145 @@
|
|||
<!doctype html>
|
||||
<html lang="en-us">
|
||||
<head><meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<html class="no-js" lang="">
|
||||
<style>
|
||||
@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("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 */
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.sandpointslogosize {
|
||||
font-size: 15rem;
|
||||
}
|
||||
|
||||
.sandpointlogo {
|
||||
border-radius: 50%;
|
||||
border: 0.3em solid red;
|
||||
display: inline-flex;
|
||||
font-family: "Great Vibes", cursive;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
background-color: red;
|
||||
position: relative;
|
||||
padding-left: 1em;
|
||||
padding-right: 0.2em;
|
||||
padding-bottom: 1.2em;
|
||||
max-width: 0em;
|
||||
max-height: 0em;
|
||||
}
|
||||
|
||||
.sandpointF {
|
||||
position: absolute;
|
||||
font-size: 1.2em;
|
||||
margin-top: -0.2em;
|
||||
margin-left: -0.44em;
|
||||
}
|
||||
|
||||
.sandpointN {
|
||||
position: absolute;
|
||||
font-size: 0.9em;
|
||||
margin-top: 0.2em;
|
||||
color: red;
|
||||
margin-left: -0.45em;
|
||||
}
|
||||
|
||||
.sandpointC {
|
||||
position: absolute;
|
||||
font-size: 1em;
|
||||
margin-left: -0.4em;
|
||||
margin-top: -0.04em;
|
||||
padding-bottom: 2;
|
||||
}
|
||||
|
||||
@media print {
|
||||
.sandpointlogo {
|
||||
border-radius: 50%;
|
||||
border: 0.3em solid red;
|
||||
display: inline-flex;
|
||||
font-family: "Great Vibes", cursive;
|
||||
font-size: 1.2em;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
background-color: red;
|
||||
position: relative;
|
||||
padding-left: 1em;
|
||||
padding-right: 0.2em;
|
||||
padding-bottom: 1.2em;
|
||||
max-width: 0em;
|
||||
max-height: 0em;
|
||||
}
|
||||
|
||||
.sandpointF {
|
||||
position: absolute;
|
||||
font-size: 1.2em;
|
||||
margin-top: -0.2em;
|
||||
margin-left: -0.44em;
|
||||
}
|
||||
|
||||
.sandpointN {
|
||||
position: absolute;
|
||||
font-size: 0.9em;
|
||||
margin-top: 0.2em;
|
||||
color: red;
|
||||
margin-left: -0.45em;
|
||||
}
|
||||
|
||||
.sandpointC {
|
||||
position: absolute;
|
||||
font-size: 1em;
|
||||
margin-left: -0.4em;
|
||||
margin-top: -0.04em;
|
||||
padding-bottom: 2;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.sandpointslogosize {
|
||||
font-size: 15rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<div class="sandpointslogosize">
|
||||
<div class="sandpointlogo">
|
||||
<span class="sandpointF">ß</span>
|
||||
<span class="sandpointN">•</span>
|
||||
<span class="sandpointC">:</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1 +1 @@
|
|||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210314123921-28595383157a
|
||||
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20221212163146-fea2002f3205
|
||||
|
|
117
config.toml
117
config.toml
|
@ -5,38 +5,37 @@ relativeurls = true
|
|||
disableKinds = ["RSS", "sitemap"]
|
||||
|
||||
[taxonomies]
|
||||
keyword = "keywords"
|
||||
keyword = "keywords"
|
||||
|
||||
[params]
|
||||
description = "Some description should land here..."
|
||||
images = ["/UNS-logo.png"]
|
||||
title = "Dotawo Journal"
|
||||
sandpointsGiteaUrl = "https://git.sandpoints.org/UnionForNubianStudies/Dotawo"
|
||||
sandpointsCatalogPrefix = "/library/"
|
||||
sandpointsCatalogName = "dotawo"
|
||||
sandpointsMentionedIn = ["annex", "author", "editor"]
|
||||
description = "Some description should land here..."
|
||||
images = ["/UNS-logo.png"]
|
||||
sandpointsGiteaUrl = "https://git.sandpoints.org/UnionForNubianStudies/Dotawo"
|
||||
sandpointsCatalogPrefix = "/library/"
|
||||
sandpointsCatalogName = "dotawo"
|
||||
sandpointsMentionedIn = ["annex", "author", "editor"]
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.js]
|
||||
isPlainText = true
|
||||
mediaType = "text/javascript"
|
||||
[outputFormats.js]
|
||||
isPlainText = true
|
||||
mediaType = "text/javascript"
|
||||
|
||||
[outputs]
|
||||
list = ["html", "js"]
|
||||
list = ["html", "js"]
|
||||
|
||||
[markup]
|
||||
[markup.tableOfContents]
|
||||
endLevel=4
|
||||
ordered = true
|
||||
startLevel = 1
|
||||
[markup.tableOfContents]
|
||||
endLevel=4
|
||||
ordered = true
|
||||
startLevel = 1
|
||||
|
||||
[markup.goldmark.renderer]
|
||||
unsafe = true
|
||||
unsafe = true
|
||||
|
||||
[module]
|
||||
# replacements = "git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme"
|
||||
[[module.imports]]
|
||||
path = "git.sandpoints.org/Drawwell/SandpointsTheme"
|
||||
# replacements = "git.sandpoints.org/Drawwell/SandpointsTheme -> /home/m/devel/SandpointsTheme"
|
||||
[[module.imports]]
|
||||
path = "git.sandpoints.org/Drawwell/SandpointsTheme"
|
||||
|
||||
# if only [[module.imports]]'s path is provided
|
||||
# and repo is made into hugo module (hugo mod init repo_name)
|
||||
|
@ -45,42 +44,42 @@ disableKinds = ["RSS", "sitemap"]
|
|||
# if repo needs some specific customization the rest of the
|
||||
# mounts below should be added respectively
|
||||
#
|
||||
[[module.imports.mounts]]
|
||||
source = "archetypes"
|
||||
target = "archetypes"
|
||||
[[module.imports.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[module.imports.mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
[[module.imports.mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
[[module.imports.mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/static/fonts"
|
||||
target = "static/fonts"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/assets/css/site.css"
|
||||
target = "assets/css/site.css"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/static/css/site.min.css"
|
||||
target = "static/css/site.min.css"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/static/css/dyn.css"
|
||||
target = "static/css/dyn.css"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/partials/header.html"
|
||||
target = "layouts/partials/header.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/partials/singlebody.html"
|
||||
target = "layouts/partials/singlebody.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/_default/_markup/render-image.html"
|
||||
target = "layouts/_default/_markup/render-image.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/_default/_markup/render-link.html"
|
||||
target = "layouts/_default/_markup/render-link.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "archetypes"
|
||||
target = "archetypes"
|
||||
[[module.imports.mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
[[module.imports.mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
[[module.imports.mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
[[module.imports.mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/static/fonts"
|
||||
target = "static/fonts"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/assets/css/site.css"
|
||||
target = "assets/css/site.css"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/static/css/site.min.css"
|
||||
target = "static/css/site.min.css"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/static/css/dyn.css"
|
||||
target = "static/css/dyn.css"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/partials/header.html"
|
||||
target = "layouts/partials/header.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/partials/singlebody.html"
|
||||
target = "layouts/partials/singlebody.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/_default/_markup/render-image.html"
|
||||
target = "layouts/_default/_markup/render-image.html"
|
||||
[[module.imports.mounts]]
|
||||
source = "customizations/Dotawo/layouts/_default/_markup/render-link.html"
|
||||
target = "layouts/_default/_markup/render-link.html"
|
||||
|
|
Loading…
Add table
Reference in a new issue