From aa9fb83435444a435bada2b59786def45a529cce Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Fri, 18 Dec 2020 15:02:50 +0100 Subject: [PATCH] simplifying design... --- .../customizations/Dotawo/assets/css/site.css | 25 +- .../Dotawo/layouts/partials/header.html | 101 ++++++ .../Dotawo/layouts/partials/singlebody.html | 81 +++++ .../Dotawo/static/css/site.min.css | 2 +- .../_default/_markup/render-image.html | 62 ++-- .../layouts/_default/baseof.html | 18 +- .../layouts/_default/list.html | 57 ++- .../layouts/_default/single.html | 13 +- .../layouts/partials/backlinks.html | 1 - .../layouts/partials/head.html | 8 +- .../layouts/partials/header.html | 144 ++++---- .../layouts/partials/scratch.html | 330 +++++++++--------- .../layouts/partials/singlebody.html | 58 +-- .../SandpointsTheme/layouts/print/baseof.html | 13 + .../SandpointsTheme/layouts/print/single.html | 24 ++ .../layouts/shortcodes/gloss.html | 44 +-- .../layouts/shortcodes/soundcloud.html | 14 +- .../SandpointsTheme/layouts/urls/baseof.html | 18 +- .../SandpointsTheme/layouts/urls/list.html | 184 +++++----- .../Drawwell/SandpointsTheme/theme.toml | 10 +- _vendor/modules.txt | 2 +- config.toml | 7 + 22 files changed, 720 insertions(+), 496 deletions(-) create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/header.html create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/singlebody.html delete mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/backlinks.html create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/baseof.html create mode 100644 _vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/single.html diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/assets/css/site.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/assets/css/site.css index 17f77a1..34a1dbd 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/assets/css/site.css +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/assets/css/site.css @@ -385,12 +385,12 @@ img { font-weight: bold; } -#TableOfContents > ol:first-child > span > li > a::after { - content: "¶"; - color: rgba(0, 0, 0, 0.2); - font-size: 1.3em; - padding-left: 0.1em; -} +/* #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; @@ -526,12 +526,13 @@ blockquote { } .hpar { - position: absolute; - font-size: 1.7em; - font-style: normal; - color: rgba(0, 0, 0, 0.1); - top: 0; - margin-top: -0.4em; + display: none; + /* position: absolute; */ + /* font-size: 1.7em; */ + /* font-style: normal; */ + /* color: rgba(0, 0, 0, 0.1); */ + /* top: 0; */ + /* margin-top: -0.4em; */ } .smallcaps { diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/header.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/header.html new file mode 100644 index 0000000..cb44f01 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/header.html @@ -0,0 +1,101 @@ +{{ $s := partialCached "scratch.html" . }} + +{{ $currentDir := "" }} +{{ with .File }} + {{ $currentDir = .Dir }} +{{ end }} + +{{ $currentFile := (printf "/%s" .File) }} +{{ $scratch := $s.Get $currentFile }} + +{{ $is_in_ := newScratch }} +{{ with eq $scratch.depth "crust" }} + {{ range $scratch.is_in }} + {{ range $k,$v := $s.Get (printf "/%s" .File) }} + {{ if eq $k "is_in" }} + {{ range $v }} + {{ $is_in_.Set (printf "/%s" .File) (printf "/%s" .File) }} + {{ end }} + {{ end }} + {{ end }} + {{ end }} +{{ end }} + +{{ $is_in_is_in := (slice) }} +{{ range $is_in_.Values }} + {{ $is_in_is_in = $is_in_is_in | append ($.GetPage .) }} +{{ end }} + +{{ if eq hugo.Environment "preview" }} +
+ 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 }} + +
+ + + + +
diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/singlebody.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/layouts/partials/singlebody.html new file mode 100644 index 0000000..57220cd --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/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 }}⁄{{ .Title }}
+ +
+
+ {{ 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 }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/static/css/site.min.css b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/static/css/site.min.css index 44b508e..a1bcb0c 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/static/css/site.min.css +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/customizations/Dotawo/static/css/site.min.css @@ -1 +1 @@ -stdin 406:3 ⚠ grid-auto-rows is not supported by ie [autoprefixer] 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:400}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{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:.5rem}td:not([align]),th:not([align]){text-align:left}@font-face{font-family:gentium plus;font-style:normal;src:url(../fonts/GentiumPlus-R.woff),url(../fonts/GentiumPlus-R.woff)format("woff")}@font-face{font-family:gentium plus;font-style:italic;src:url(../fonts/GentiumPlus-I.woff),url(../fonts/GentiumPlus-I.woff)format("woff")}@font-face{font-family:great vibes;font-style:normal;font-weight:400;src:url(../fonts/great-vibes-v7-latin-ext_latin-regular.eot);src:local("Great Vibes"),local("GreatVibes-Regular"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.eot?#iefix)format("embedded-opentype"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.woff2)format("woff2"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.woff)format("woff"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.ttf)format("truetype"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.svg#GreatVibes)format("svg")}html{line-height:1.5}body{font-family:gentium plus,serif;max-width:1024px;font-size:1.4rem;padding-left:3rem;padding-top:.5rem;padding-right:2rem;color:#000}sup,sub{vertical-align:baseline;position:relative;top:-.4em}sub{top:.4em}.headiter{display:flex;justify-content:space-between;border-bottom:.3rem solid red;border-top:.1rem solid red;padding-top:1rem;padding-bottom:.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:700;cursor:pointer}.header{display:-ms-grid;display:grid;-ms-grid-columns:auto;grid-template-columns:auto;grid-auto-flow:column;position:-webkit-sticky;position:sticky;top:0;padding-top:.5rem;font-size:1.1rem;background-color:#fff;z-index:10}.mantlebar{display:none}.breadcrumbs{-ms-grid-column:1;grid-column:1}.bibliotheke{width:2.4rem;-ms-grid-column:2;grid-column:2;margin-left:auto}.bibliotheke:hover{text-decoration:none;font-size:1rem}.alsoin{font-weight:700;display:inline-flex;padding-left:.2rem;padding-right:.3rem}.ddmenu{cursor:pointer;display:-ms-inline-grid;display:inline-grid}.ddmenu input{display:none}.ddmenu li{list-style-type:none}.ddmenu .hiddendiv{display:none;margin-top:-.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:.3em solid red;display:inline-flex;font-family:great vibes,cursive;font-size:1.2rem;font-weight:700;color:#fff;background-color:red;position:relative;padding-left:1em;padding-right:.3em;padding-bottom:1.2em;max-width:0;max-height:0}.sandpointF{position:absolute;font-size:1.2em;margin-top:-.2em;margin-left:-.4em}.sandpointN{position:absolute;font-size:.7em;margin-top:.4em;color:red;margin-left:-.5em}.sandpointC{position:absolute;font-size:1em;margin-left:-.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:.9em;font-style:normal;color:rgba(0,0,0,.8);vertical-align:baseline;position:relative;top:-.3em}.sup{display:inline-flex;flex-wrap:nowrap;font-family:great vibes,cursive;font-size:.9em;font-style:normal;color:red;vertical-align:baseline;position:relative;top:-.3em}.sup:hover{font-weight:400!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:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.leftcolumn{-ms-grid-column:1;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:.5rem;color:rgba(0,0,0,.4);margin:0;padding:0}#TableOfContents li a{font-family:gentium plus;font-size:1.4rem;font-weight:700}#TableOfContents>ol:first-child>span>li>a::after{content:"¶";color:rgba(0,0,0,.2);font-size:1.3em;padding-left:.1em}.rightcolumn{padding-left:.5rem}.has{display:-ms-inline-grid;display:inline-grid;-ms-grid-column:2;grid-column:2;grid-auto-rows:-webkit-max-content;grid-auto-rows:max-content;font-size:1.4rem;font-style:italic;margin-bottom:.8rem}.hasauthors{font-size:1.6rem!important}.hassup{-ms-grid-column:1;grid-column:1;font-family:great vibes,cursive;font-size:.9em;font-style:normal;color:red;vertical-align:baseline;position:relative}.afterhas{-ms-grid-column:2;grid-column:2}.content{margin-top:4rem;padding-left:3rem;padding-right:10rem;max-width:720px}a{color:#000;text-decoration:none}a:hover{text-decoration:underline;-webkit-text-decoration-color:red;text-decoration-color:red;font-weight:700;cursor:pointer}h1{display:none}h2{font-weight:700;font-size:1.6rem}h3{font-weight:700;font-size:1.4rem}h4{font-weight:700;font-size:1.2rem}h5{font-weight:700;font-size:1.1rem}h6{font-weight:700;font-size:1rem}.abstract{font-style:italic;border-left:1px solid #000;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,.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:.1rem;padding-bottom:.1rem;background-color:#fff9f9}.hx{position:relative}.hpar{position:absolute;font-size:1.7em;font-style:normal;color:rgba(0,0,0,.1);top:0;margin-top:-.4em}.smallcaps{font-family:gentium plus,serif;font-variant:small-caps}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,.4);counter-increment:h2;content:counter(h2)". "}h3:before{color:rgba(0,0,0,.4);counter-increment:h3;content:counter(h2)"." counter(h3)". "}h4:before{color:rgba(0,0,0,.4);counter-increment:h4;content:counter(h2)"." counter(h3)"." counter(h4)". "}h5:before{color:rgba(0,0,0,.4);counter-increment:h5;content:counter(h2)"." counter(h3)"." counter(h4)"." counter(h5)". "}h6:before{color:rgba(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:.8rem}#toggleAllLinks:hover{cursor:pointer;text-decoration:underline;-webkit-text-decoration-color:red;text-decoration-color:red}.glosscontainer{display:-ms-grid;display:grid;-ms-grid-columns:auto 0 1fr;grid-template-columns:auto 1fr;-ms-grid-rows:1fr;grid-template-rows:1fr;gap:0 0;grid-template-areas:"glossnumber gloss";border-left:1px red solid;background-color:#fff9f9;padding-top:.4em;margin-top:1rem;margin-bottom:1rem;margin-left:1rem;margin-right:2rem;padding-bottom:.4em;padding-left:1rem;padding-right:2rem}.gloss{-ms-grid-row:1;-ms-grid-column:3;grid-area:gloss}.glossnumber{-ms-grid-row:1;-ms-grid-column:1;grid-area:glossnumber;padding-right:.6rem}.glossnumberAuto::before{counter-increment:glossN;content:"(" counter(glossN)")"}.glosswords{display:inline-block;padding-left:-.3rem;padding-right:1rem}.sitemap{padding-left:3rem;font-size:1.2rem}.sitemap a{color:rgba(0,0,0,.4)}.sitemap .sup{color:rgba(255,0,0,.7)}.highline a,.sitemap a:hover{color:#000}.highline .sup,.sitemap .sup:hover{color:red}.highline{font-size:1.6rem;color:#000;border-left:1px red solid;padding-left:1rem;padding-top:.1rem;padding-bottom:.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:.2em}.content{padding:0;margin:0 auto;margin-top:4rem}.hpar{display:none}.mantletitle{font-size:1.7rem}.sessiongrid{display:none}} \ No newline at end of file +stdin 406:3 ⚠ grid-auto-rows is not supported by ie [autoprefixer] 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:400}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{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:.5rem}td:not([align]),th:not([align]){text-align:left}@font-face{font-family:gentium plus;font-style:normal;src:url(../fonts/GentiumPlus-R.woff),url(../fonts/GentiumPlus-R.woff)format("woff")}@font-face{font-family:gentium plus;font-style:italic;src:url(../fonts/GentiumPlus-I.woff),url(../fonts/GentiumPlus-I.woff)format("woff")}@font-face{font-family:great vibes;font-style:normal;font-weight:400;src:url(../fonts/great-vibes-v7-latin-ext_latin-regular.eot);src:local("Great Vibes"),local("GreatVibes-Regular"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.eot?#iefix)format("embedded-opentype"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.woff2)format("woff2"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.woff)format("woff"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.ttf)format("truetype"),url(../fonts/great-vibes-v7-latin-ext_latin-regular.svg#GreatVibes)format("svg")}html{line-height:1.5}body{font-family:gentium plus,serif;max-width:1024px;font-size:1.4rem;padding-left:3rem;padding-top:.5rem;padding-right:2rem;color:#000}sup,sub{vertical-align:baseline;position:relative;top:-.4em}sub{top:.4em}.headiter{display:flex;justify-content:space-between;border-bottom:.3rem solid red;border-top:.1rem solid red;padding-top:1rem;padding-bottom:.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:700;cursor:pointer}.header{display:-ms-grid;display:grid;-ms-grid-columns:auto;grid-template-columns:auto;grid-auto-flow:column;position:-webkit-sticky;position:sticky;top:0;padding-top:.5rem;font-size:1.1rem;background-color:#fff;z-index:10}.mantlebar{display:none}.breadcrumbs{-ms-grid-column:1;grid-column:1}.bibliotheke{width:2.4rem;-ms-grid-column:2;grid-column:2;margin-left:auto}.bibliotheke:hover{text-decoration:none;font-size:1rem}.alsoin{font-weight:700;display:inline-flex;padding-left:.2rem;padding-right:.3rem}.ddmenu{cursor:pointer;display:-ms-inline-grid;display:inline-grid}.ddmenu input{display:none}.ddmenu li{list-style-type:none}.ddmenu .hiddendiv{display:none;margin-top:-.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:.3em solid red;display:inline-flex;font-family:great vibes,cursive;font-size:1.2rem;font-weight:700;color:#fff;background-color:red;position:relative;padding-left:1em;padding-right:.3em;padding-bottom:1.2em;max-width:0;max-height:0}.sandpointF{position:absolute;font-size:1.2em;margin-top:-.2em;margin-left:-.4em}.sandpointN{position:absolute;font-size:.7em;margin-top:.4em;color:red;margin-left:-.5em}.sandpointC{position:absolute;font-size:1em;margin-left:-.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:.9em;font-style:normal;color:rgba(0,0,0,.8);vertical-align:baseline;position:relative;top:-.3em}.sup{display:inline-flex;flex-wrap:nowrap;font-family:great vibes,cursive;font-size:.9em;font-style:normal;color:red;vertical-align:baseline;position:relative;top:-.3em}.sup:hover{font-weight:400!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:-ms-grid;display:grid;-ms-grid-columns:1fr 1fr;grid-template-columns:1fr 1fr}.leftcolumn{-ms-grid-column:1;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:.5rem;color:rgba(0,0,0,.4);margin:0;padding:0}#TableOfContents li a{font-family:gentium plus;font-size:1.4rem;font-weight:700}.rightcolumn{padding-left:.5rem}.has{display:-ms-inline-grid;display:inline-grid;-ms-grid-column:2;grid-column:2;grid-auto-rows:-webkit-max-content;grid-auto-rows:max-content;font-size:1.4rem;font-style:italic;margin-bottom:.8rem}.hasauthors{font-size:1.6rem!important}.hassup{-ms-grid-column:1;grid-column:1;font-family:great vibes,cursive;font-size:.9em;font-style:normal;color:red;vertical-align:baseline;position:relative}.afterhas{-ms-grid-column:2;grid-column:2}.content{margin-top:4rem;padding-left:3rem;padding-right:10rem;max-width:720px}a{color:#000;text-decoration:none}a:hover{text-decoration:underline;-webkit-text-decoration-color:red;text-decoration-color:red;font-weight:700;cursor:pointer}h1{display:none}h2{font-weight:700;font-size:1.6rem}h3{font-weight:700;font-size:1.4rem}h4{font-weight:700;font-size:1.2rem}h5{font-weight:700;font-size:1.1rem}h6{font-weight:700;font-size:1rem}.abstract{font-style:italic;border-left:1px solid #000;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,.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:.1rem;padding-bottom:.1rem;background-color:#fff9f9}.hx{position:relative}.hpar{display:none}.smallcaps{font-family:gentium plus,serif;font-variant:small-caps}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,.4);counter-increment:h2;content:counter(h2)". "}h3:before{color:rgba(0,0,0,.4);counter-increment:h3;content:counter(h2)"." counter(h3)". "}h4:before{color:rgba(0,0,0,.4);counter-increment:h4;content:counter(h2)"." counter(h3)"." counter(h4)". "}h5:before{color:rgba(0,0,0,.4);counter-increment:h5;content:counter(h2)"." counter(h3)"." counter(h4)"." counter(h5)". "}h6:before{color:rgba(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:.8rem}#toggleAllLinks:hover{cursor:pointer;text-decoration:underline;-webkit-text-decoration-color:red;text-decoration-color:red}.glosscontainer{display:-ms-grid;display:grid;-ms-grid-columns:auto 0 1fr;grid-template-columns:auto 1fr;-ms-grid-rows:1fr;grid-template-rows:1fr;gap:0 0;grid-template-areas:"glossnumber gloss";border-left:1px red solid;background-color:#fff9f9;padding-top:.4em;margin-top:1rem;margin-bottom:1rem;margin-left:1rem;margin-right:2rem;padding-bottom:.4em;padding-left:1rem;padding-right:2rem}.gloss{-ms-grid-row:1;-ms-grid-column:3;grid-area:gloss}.glossnumber{-ms-grid-row:1;-ms-grid-column:1;grid-area:glossnumber;padding-right:.6rem}.glossnumberAuto::before{counter-increment:glossN;content:"(" counter(glossN)")"}.glosswords{display:inline-block;padding-left:-.3rem;padding-right:1rem}.sitemap{padding-left:3rem;font-size:1.2rem}.sitemap a{color:rgba(0,0,0,.4)}.sitemap .sup{color:rgba(255,0,0,.7)}.highline a,.sitemap a:hover{color:#000}.highline .sup,.sitemap .sup:hover{color:red}.highline{font-size:1.6rem;color:#000;border-left:1px red solid;padding-left:1rem;padding-top:.1rem;padding-bottom:.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:.2em}.content{padding:0;margin:0 auto;margin-top:4rem}.hpar{display:none}.mantletitle{font-size:1.7rem}.sessiongrid{display:none}} \ No newline at end of file diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-image.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-image.html index bfd4827..509776f 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-image.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/_markup/render-image.html @@ -6,43 +6,43 @@ {{- end -}} {{- 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 -}} - {{- $b := index $.Page.Site.Data.books.catalog $destination -}} - {{- $bibhref := printf "%sBROWSE_LIBRARY.html#/book/%s" (safeURL ($c_prefix)) $destination }} - {{ $bibtitle := "" }} - {{ with $b.title }} - {{- $bibtitle = printf "%s" $b.title }} - {{ end }} - {{ .Page.Scratch.Add "bibs" (slice (slice $bibhref $bibtitle)) }} - {{- if not $text_link -}} - {{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}.bib⁄‘{{- $b.title -}}’. {{- with $b.publisher -}}{{- . -}}.{{- end -}} - {{- else -}} - {{- $text_link -}} - {{- end -}} + {{- $destination := (substr .Destination 4) -}} + {{- $c_prefix := .Page.Site.Params.sandpointsCatalogPrefix | default "/library/" -}} + {{- if index $.Page.Site.Data.books.catalog $destination -}} + {{- $b := index $.Page.Site.Data.books.catalog $destination -}} + {{- $bibhref := printf "%sBROWSE_LIBRARY.html#/book/%s" (safeURL ($c_prefix)) $destination }} + {{ $bibtitle := "" }} + {{ with $b.title }} + {{- $bibtitle = printf "%s" $b.title }} + {{ end }} + {{ .Page.Scratch.Add "bibs" (slice (slice $bibhref $bibtitle)) }} + {{- if not $text_link -}} + {{- delimit $b.authors ", " " & " -}}{{- with $b.pubdate -}}, {{- substr . 0 4}}{{- end -}}.bib⁄‘{{- $b.title -}}’. {{- with $b.publisher -}}{{- . -}}.{{- end -}} {{- else -}} - {{- $text_link -}}⦚bib:{{- $destination -}} not found + {{- $text_link -}} {{- end -}} + {{- else -}} + {{- $text_link -}}⦚bib:{{- $destination -}} not found + {{- 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 -}} - {{- index (split .Destination ":") 0 -}}⁄{{- $session.Title -}} - {{- else -}} - {{- index (split .Destination ":") 0 -}}⁄{{- $text_link -}} - {{- end -}} + {{- 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 -}} + {{- index (split .Destination ":") 0 -}}⁄{{- $session.Title -}} {{- else -}} - {{- $text_link -}}⦚{{- .Destination -}} not found + {{- index (split .Destination ":") 0 -}}⁄{{- $text_link -}} {{- end -}} + {{- else -}} + {{- $text_link -}}⦚{{- .Destination -}} not found + {{- end -}} {{- else if strings.HasPrefix .Destination "audio:" -}} - {{- $a_destination := (substr .Destination 6) -}} - {{- if findRE "^.*static" $a_destination -}} - {{ .Text }} - {{- else -}} - {{ .Text }} - {{- end -}} + {{- $a_destination := (substr .Destination 6) -}} + {{- if findRE "^.*static" $a_destination -}} + {{ .Text }} + {{- else -}} + {{ .Text }} + {{- end -}} {{- else if findRE "^.*static" .Destination -}} {{- .Text -}} {{- else -}} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/baseof.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/baseof.html index d5a041f..4c09044 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/baseof.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/baseof.html @@ -1,13 +1,13 @@ - - {{- partialCached "head.html" . -}} - {{- .Title }} - {{ .Site.Title -}} - {{- partialCached "sandpointjs.html" . .RelPermalink -}} - - - {{- block "singlebody" . }}{{- end }} - {{- partialCached "footer.html" . -}} - + + {{- partialCached "head.html" . -}} + {{- .Title }} - {{ .Site.Title -}} + {{- partialCached "sandpointjs.html" . .RelPermalink -}} + + + {{- block "singlebody" . }}{{- end }} + {{- partialCached "footer.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 index b872a6e..b428d29 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/list.html @@ -1,36 +1,35 @@ {{ define "singlebody" }} + {{ $currentNode := . }} + {{ $currentDir := "" }} + {{ with .File }} + {{ $currentDir = .Dir }} + {{ end }} + {{ $currentFile := (printf "/%s" .File) }} -{{ $currentNode := . }} -{{ $currentDir := "" }} -{{ with .File }} -{{ $currentDir = .Dir }} -{{ end }} -{{ $currentFile := (printf "/%s" .File) }} - -
Sitemap⁄{{ substr $.Site.Title 0 1 }}{{ substr $.Site.Title 1 }} ({{ $currentDir }})
+
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 }} - + {{ $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 }} - {{ 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 }} + {{ range $noTriad }} +
{{- substr .File.Dir 0 -1 -}}⁄{{- .Title -}}
+ {{ end }} {{ end }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/single.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/single.html index 8793a11..7f12634 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/single.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/_default/single.html @@ -1,11 +1,6 @@ {{- define "singlebody" -}} - -{{- partialCached "header.html" . .RelPermalink -}} - -

{{ .Title }}

- -{{- partialCached "singlebody.html" . .RelPermalink -}} - -
{{ .Content }}
- + {{- partialCached "header.html" . .RelPermalink -}} +

{{ .Title }}

+ {{- partialCached "singlebody.html" . .RelPermalink -}} +
{{ .Content }}
{{- end -}} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/backlinks.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/backlinks.html deleted file mode 100644 index e852645..0000000 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/backlinks.html +++ /dev/null @@ -1 +0,0 @@ -{{ .Scratch }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html index e180fec..0169016 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/head.html @@ -4,13 +4,15 @@ {{ if .Description }} - + {{ end }} + {{ if .Keywords }} - + {{ end }} + {{ if .Params.Author }} - + {{ end }} {{ template "_internal/opengraph.html" . }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html index 4eb37a3..33c7b42 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/header.html @@ -10,15 +10,15 @@ {{ $is_in_ := newScratch }} {{ with eq $scratch.depth "crust" }} - {{ range $scratch.is_in }} - {{ range $k,$v := $s.Get (printf "/%s" .File) }} - {{ if eq $k "is_in" }} - {{ range $v }} - {{ $is_in_.Set (printf "/%s" .File) (printf "/%s" .File) }} + {{ range $scratch.is_in }} + {{ range $k,$v := $s.Get (printf "/%s" .File) }} + {{ if eq $k "is_in" }} + {{ range $v }} + {{ $is_in_.Set (printf "/%s" .File) (printf "/%s" .File) }} + {{ end }} + {{ end }} {{ end }} - {{ end }} {{ end }} - {{ end }} {{ end }} {{ $is_in_is_in := (slice) }} @@ -27,75 +27,75 @@ {{ end }} {{ if eq hugo.Environment "preview" }} -
- 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 - ? -
+
+ 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 }}
- - - -
diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html index 3cbf6a8..beb3b0e 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/scratch.html @@ -5,182 +5,182 @@ {{ $pPath := "" }} {{ range $p := .Site.RegularPages }} - {{ $pPath = printf "/%s" $p.File }} - {{ $pageDir := "" }} - {{ with $p.File }} - {{ $pageDir = (substr .Dir 0 -1)}} - {{ end }} - - {{ $content := $p.Content }} - {{ with $links := $p.Scratch.Get "links" }} - {{ range $link := $links }} - {{ $linkPath := printf "/%s" $link.File}} - {{ with ($_.Get $linkPath) }} - {{ $_.SetInMap $linkPath "backlinks" (uniq ((index ($_.Get $linkPath) "backlinks") | append $p)) }} - {{ else }} - {{ $_.SetInMap $linkPath "backlinks" (slice $p) }} - {{ end }} + {{ $pPath = printf "/%s" $p.File }} + {{ $pageDir := "" }} + {{ with $p.File }} + {{ $pageDir = (substr .Dir 0 -1)}} {{ 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 }} - {{ with in $k "has_" }} - {{ $s := index (split $k "has_") 1 }} - {{ range $sin,$plur := $currentNode.Site.Data.sandpointsnamegraph }} - {{ if eq $s $plur }} - {{ range index $gp.Params $k }} - {{ $cp := $.GetPage (printf "/%s/%s" $sin .) }} - {{ $cpPath := printf "/%s" $cp.File }} - {{ range $kcp, $vcp := $cp.Params }} - {{ with in $kcp "has_" }} - {{ $scp := index (split $kcp "has_") 1 }} - {{ range $sincp,$plurcp := $currentNode.Site.Data.sandpointsnamegraph }} - {{ if eq $scp $plurcp }} - - {{ $_.SetInMap $gpPath "depth" "core" }} - {{ $_.SetInMap $gpPath "child_depth" "mantle" }} - {{ $_.SetInMap $gpPath "has" $s }} - - {{ with $gp.File }} - {{ $core := substr .Dir 0 -1 }} - {{ with index ($_.Get $gpPath) "core" }} - {{ $_.SetInMap $gpPath "core" (uniq ((index ($_.Get $gpPath) "core") | append $core)) }} - {{ else }} - {{ $_.SetInMap $gpPath "core" (slice $core) }} - {{ end }} - {{ $cor := $_.Get $cpPath }} - {{ with $cor.core }} - {{ $_.SetInMap $cpPath "core" (uniq ((index ($_.Get $cpPath) "core") | append $core)) }} - {{ else }} - {{ $_.SetInMap $cpPath "core" (slice $core) }} - {{ end }} - {{ end }} - - {{ with $cp.File }} - {{ $mantle := substr .Dir 0 -1 }} - {{ with index ($_.Get $gpPath) "mantle" }} - {{ $_.SetInMap $gpPath "mantle" (uniq ((index ($_.Get $gpPath) "mantle") | append $mantle)) }} - {{ else }} - {{ $_.SetInMap $gpPath "mantle" (slice $mantle) }} - {{ end }} - {{ with index ($_.Get $cpPath) "mantle" }} - {{ $_.SetInMap $cpPath "mantle" (uniq ((index ($_.Get $cpPath) "mantle") | append $mantle)) }} - {{ else }} - {{ $_.SetInMap $cpPath "mantle" (slice $mantle) }} - {{ end }} - {{ end }} - {{ with $_.Get $gpPath }} - {{ if .has_children }} - {{ $hasChildren := index . "has_children" | append $cp }} - {{ $_.SetInMap $gpPath "has_children" (uniq $hasChildren) }} - {{ else }} - {{ $_.SetInMap $gpPath "has_children" (slice $cp) }} - {{ end }} - {{ end }} - - {{ $_.SetInMap $cpPath "depth" "mantle" }} - {{ $_.SetInMap $cpPath "child_depth" "crust" }} - {{ $_.SetInMap $cpPath "plural" $plur }} - {{ $_.SetInMap $cpPath "has" $scp }} - - {{ if isset $cp.Params $kcp }} - {{ $_.SetInMap $cpPath "has_children" (slice) }} - {{ with index ($_.Get $cpPath) "is_in" }} - {{ $isincore := index ($_.Get $cpPath) "is_in" | append $gp}} - {{ $_.SetInMap $cpPath "is_in" (uniq $isincore) }} - {{ else }} - {{ $_.SetInMap $cpPath "is_in" (slice $gp) }} - {{ end }} - {{ end }} + {{ $content := $p.Content }} + {{ with $links := $p.Scratch.Get "links" }} + {{ range $link := $links }} + {{ $linkPath := printf "/%s" $link.File}} + {{ with ($_.Get $linkPath) }} + {{ $_.SetInMap $linkPath "backlinks" (uniq ((index ($_.Get $linkPath) "backlinks") | append $p)) }} + {{ else }} + {{ $_.SetInMap $linkPath "backlinks" (slice $p) }} + {{ end }} + {{ end }} + {{ end }} - {{ range index $cp.Params $kcp }} - {{ $gcp := $.GetPage (printf "/%s/%s" $sincp .) }} - {{ $gcpPath := printf "/%s" $gcp.File }} + {{ 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 }} - {{ with $_.Get $cpPath }} - {{ if .has_children }} - {{ $hasGChildren := index . "has_children" | append $gcp }} - {{ $_.SetInMap $cpPath "has_children" (uniq $hasGChildren) }} - {{ else }} - {{ $_.SetInMap $cpPath "has_children" (slice $gcp) }} - {{ end }} - {{ end }} - - {{ $_.SetInMap $gcpPath "depth" "crust" }} - {{ $_.SetInMap $gcpPath "plural" $plurcp }} - {{ $_.SetInMap $gcpPath "in" (slice $sin $plur) }} - - {{ with $gp.File }} - {{ $core := substr .Dir 0 -1 }} - {{ with index ($_.Get $gcpPath) "core" }} - {{ $_.SetInMap $gcpPath "core" (uniq ((index ($_.Get $gcpPath) "core") | append $core)) }} - {{ else }} - {{ $_.SetInMap $gcpPath "core" (slice $core) }} - {{ end }} - {{ end }} - - {{ with $cp.File }} - {{ $mantle := substr .Dir 0 -1 }} - {{ with index ($_.Get $gcpPath) "mantle" }} - {{ $_.SetInMap $gcpPath "mantle" (uniq ((index ($_.Get $gcpPath) "mantle") | append $mantle)) }} - {{ else }} - {{ $_.SetInMap $gcpPath "mantle" (slice $mantle) }} - {{ end }} - {{ end }} - - {{ with $gcp.File }} - {{ $crust := substr .Dir 0 -1 }} - {{ with index ($_.Get $gpPath) "crust" }} - {{ $_.SetInMap $gpPath "crust" (uniq ((index ($_.Get $gpPath) "crust") | append $crust)) }} - {{ else }} - {{ $_.SetInMap $gpPath "crust" (slice $crust) }} - {{ end }} - {{ with index ($_.Get $cpPath) "crust" }} - {{ $_.SetInMap $cpPath "crust" (uniq ((index ($_.Get $cpPath) "crust") | append $crust)) }} - {{ else }} - {{ $_.SetInMap $cpPath "crust" (slice $crust) }} - {{ end }} - {{ with index ($_.Get $gcpPath) "crust" }} - {{ $_.SetInMap $gcpPath "crust" (uniq ((index ($_.Get $gcpPath) "crust") | append $crust)) }} - {{ else }} - {{ $_.SetInMap $gcpPath "crust" (slice $crust) }} - {{ end }} - {{ end }} - - {{ with $_.Get $gcpPath }} - {{ if .is_in }} - {{ $isinmantle := index . "is_in" | append $cp}} - {{ $_.SetInMap $gcpPath "is_in" (uniq $isinmantle) }} - {{ else }} - {{ $_.SetInMap $gcpPath "is_in" (slice $cp) }} + {{ $gp := $.GetPage $pPath }} + {{ $gpPath := printf "/%s" $gp.File }} + {{ range $k, $v := $gp.Params }} + {{ with in $k "has_" }} + {{ $s := index (split $k "has_") 1 }} + {{ range $sin,$plur := $currentNode.Site.Data.sandpointsnamegraph }} + {{ if eq $s $plur }} + {{ range index $gp.Params $k }} + {{ $cp := $.GetPage (printf "/%s/%s" $sin .) }} + {{ $cpPath := printf "/%s" $cp.File }} + {{ range $kcp, $vcp := $cp.Params }} + {{ with in $kcp "has_" }} + {{ $scp := index (split $kcp "has_") 1 }} + {{ range $sincp,$plurcp := $currentNode.Site.Data.sandpointsnamegraph }} + {{ if eq $scp $plurcp }} + + {{ $_.SetInMap $gpPath "depth" "core" }} + {{ $_.SetInMap $gpPath "child_depth" "mantle" }} + {{ $_.SetInMap $gpPath "has" $s }} + + {{ with $gp.File }} + {{ $core := substr .Dir 0 -1 }} + {{ with index ($_.Get $gpPath) "core" }} + {{ $_.SetInMap $gpPath "core" (uniq ((index ($_.Get $gpPath) "core") | append $core)) }} + {{ else }} + {{ $_.SetInMap $gpPath "core" (slice $core) }} + {{ end }} + {{ $cor := $_.Get $cpPath }} + {{ with $cor.core }} + {{ $_.SetInMap $cpPath "core" (uniq ((index ($_.Get $cpPath) "core") | append $core)) }} + {{ else }} + {{ $_.SetInMap $cpPath "core" (slice $core) }} + {{ end }} + {{ end }} + + {{ with $cp.File }} + {{ $mantle := substr .Dir 0 -1 }} + {{ with index ($_.Get $gpPath) "mantle" }} + {{ $_.SetInMap $gpPath "mantle" (uniq ((index ($_.Get $gpPath) "mantle") | append $mantle)) }} + {{ else }} + {{ $_.SetInMap $gpPath "mantle" (slice $mantle) }} + {{ end }} + {{ with index ($_.Get $cpPath) "mantle" }} + {{ $_.SetInMap $cpPath "mantle" (uniq ((index ($_.Get $cpPath) "mantle") | append $mantle)) }} + {{ else }} + {{ $_.SetInMap $cpPath "mantle" (slice $mantle) }} + {{ end }} + {{ end }} + + {{ with $_.Get $gpPath }} + {{ if .has_children }} + {{ $hasChildren := index . "has_children" | append $cp }} + {{ $_.SetInMap $gpPath "has_children" (uniq $hasChildren) }} + {{ else }} + {{ $_.SetInMap $gpPath "has_children" (slice $cp) }} + {{ end }} + {{ end }} + + {{ $_.SetInMap $cpPath "depth" "mantle" }} + {{ $_.SetInMap $cpPath "child_depth" "crust" }} + {{ $_.SetInMap $cpPath "plural" $plur }} + {{ $_.SetInMap $cpPath "has" $scp }} + + {{ if isset $cp.Params $kcp }} + {{ $_.SetInMap $cpPath "has_children" (slice) }} + {{ with index ($_.Get $cpPath) "is_in" }} + {{ $isincore := index ($_.Get $cpPath) "is_in" | append $gp}} + {{ $_.SetInMap $cpPath "is_in" (uniq $isincore) }} + {{ else }} + {{ $_.SetInMap $cpPath "is_in" (slice $gp) }} + {{ end }} + {{ end }} + + {{ range index $cp.Params $kcp }} + {{ $gcp := $.GetPage (printf "/%s/%s" $sincp .) }} + {{ $gcpPath := printf "/%s" $gcp.File }} + + {{ with $_.Get $cpPath }} + {{ if .has_children }} + {{ $hasGChildren := index . "has_children" | append $gcp }} + {{ $_.SetInMap $cpPath "has_children" (uniq $hasGChildren) }} + {{ else }} + {{ $_.SetInMap $cpPath "has_children" (slice $gcp) }} + {{ end }} + {{ end }} + + {{ $_.SetInMap $gcpPath "depth" "crust" }} + {{ $_.SetInMap $gcpPath "plural" $plurcp }} + {{ $_.SetInMap $gcpPath "in" (slice $sin $plur) }} + + {{ with $gp.File }} + {{ $core := substr .Dir 0 -1 }} + {{ with index ($_.Get $gcpPath) "core" }} + {{ $_.SetInMap $gcpPath "core" (uniq ((index ($_.Get $gcpPath) "core") | append $core)) }} + {{ else }} + {{ $_.SetInMap $gcpPath "core" (slice $core) }} + {{ end }} + {{ end }} + + {{ with $cp.File }} + {{ $mantle := substr .Dir 0 -1 }} + {{ with index ($_.Get $gcpPath) "mantle" }} + {{ $_.SetInMap $gcpPath "mantle" (uniq ((index ($_.Get $gcpPath) "mantle") | append $mantle)) }} + {{ else }} + {{ $_.SetInMap $gcpPath "mantle" (slice $mantle) }} + {{ end }} + {{ end }} + + {{ with $gcp.File }} + {{ $crust := substr .Dir 0 -1 }} + {{ with index ($_.Get $gpPath) "crust" }} + {{ $_.SetInMap $gpPath "crust" (uniq ((index ($_.Get $gpPath) "crust") | append $crust)) }} + {{ else }} + {{ $_.SetInMap $gpPath "crust" (slice $crust) }} + {{ end }} + {{ with index ($_.Get $cpPath) "crust" }} + {{ $_.SetInMap $cpPath "crust" (uniq ((index ($_.Get $cpPath) "crust") | append $crust)) }} + {{ else }} + {{ $_.SetInMap $cpPath "crust" (slice $crust) }} + {{ end }} + {{ with index ($_.Get $gcpPath) "crust" }} + {{ $_.SetInMap $gcpPath "crust" (uniq ((index ($_.Get $gcpPath) "crust") | append $crust)) }} + {{ else }} + {{ $_.SetInMap $gcpPath "crust" (slice $crust) }} + {{ end }} + {{ end }} + + {{ with $_.Get $gcpPath }} + {{ if .is_in }} + {{ $isinmantle := index . "is_in" | append $cp}} + {{ $_.SetInMap $gcpPath "is_in" (uniq $isinmantle) }} + {{ else }} + {{ $_.SetInMap $gcpPath "is_in" (slice $cp) }} + {{ end }} + {{ end }} + {{ end }} + {{ end }} + {{ end }} + {{ end }} {{ end }} - {{ end }} {{ end }} - {{ end }} {{ end }} - {{ end }} {{ end }} - {{ end }} {{ end }} - {{ end }} {{ end }} - {{ end }} -{{ $_.SetInMap $pPath "debug" (printf "%#v" $debug) }} + {{ $_.SetInMap $pPath "debug" (printf "%#v" $debug) }} {{ end }} {{ return $_ }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html index 6cfda2b..49a5aea 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/partials/singlebody.html @@ -12,9 +12,9 @@
- {{ if ne (trim .Page.TableOfContents "\n") "" }} - {{ .Page.TableOfContents }} - {{ end }} + {{ if ne (trim .Page.TableOfContents "\n") "" }} + {{ .Page.TableOfContents }} + {{ end }}
{{- range $k, $v := .Page.Params.authors -}} @@ -22,7 +22,7 @@ {{- with not $k -}}
author{{ with $.Page.Params.authors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}⁄
-
+
{{- end -}}
{{ .Title }} @@ -36,39 +36,39 @@ {{ with $scratch.backlinks }}
mentioned in⁄
{{ end }} -
- {{ range $scratch.backlinks }} - - {{ 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 }} - + {{ 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 }} -
+
in {{ index $scratch.in 1 }}⁄
+
+ {{ range $scratch.is_in }} + - {{ end }} -
+
+ {{ end }} +
{{ end }}
@@ -77,5 +77,5 @@ {{ 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 + class="keywords">keywords⁄{{- $v -}}{{- else -}}, {{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}{{- end -}} +{{ with .Page.Params.abstract }}{{ end }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/baseof.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/baseof.html new file mode 100644 index 0000000..f27eaaa --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/baseof.html @@ -0,0 +1,13 @@ + + + + + {{- partialCached "head.html" . -}} + {{- partial "pagedjs.html" . -}} + + +
+ {{- block "singlebody" . -}}{{- end -}} +
+ + diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/single.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/single.html new file mode 100644 index 0000000..614dad4 --- /dev/null +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/print/single.html @@ -0,0 +1,24 @@ +{{- define "singlebody" -}} + {{ $s := partialCached "scratch.html" . }} + {{ $p := $.GetPage .Params.print }} + {{ $scratch := $s.Get (printf "/%s" $p.File) }} + + {{ $currentDir := "" }} + {{ with .File }} + {{ $currentDir = .Dir }} + {{ end }} + +
{{ partial "singlebody.html" $p }}
+
{{ $p.Content }} + {{ range $printPage := $scratch.has_cildren }} +
{{ partial "singlebody.html" $printPage }}
+
{{ $printPage.Content }} + {{ $printPageScratch := $s.Get (printf "/%s" $printPage.File) }} + {{ range $printPageKid := $printPageScratch.has_children }} +
{{ partial "singlebody.html" $printPageKid }}
+
{{ $printPageKid.Content }} + {{ . }} + {{ end }} +
+ {{ end }} +{{- end -}} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html index 0d23469..b90c4c3 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/gloss.html @@ -1,25 +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 -}} -
+
+ {{- 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 -}} -
-
{{ with .Get 0 }}{{ . }}{{ end}}
-
\ No newline at end of file + {{- end -}} +
+ {{- end -}} + {{- end -}} +
+
{{ with .Get 0 }}{{ . }}{{ end}}
+
diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/soundcloud.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/soundcloud.html index 27a8229..a26db5b 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/soundcloud.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/shortcodes/soundcloud.html @@ -1,10 +1,10 @@ {{ $id := index .Params 0 }} {{ $type := index .Params 1 | default "track" }} \ No newline at end of file + width="100%" + height="300" + scrolling="no" + frameborder="no" + allow="autoplay" + src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/{{ $type }}s/{{ $id }}&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"> + diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/baseof.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/baseof.html index f47940f..85953ac 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/baseof.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/baseof.html @@ -1,12 +1,12 @@ - - {{- partialCached "head.html" . -}} - {{- .Title }} - {{ .Site.Title -}} - {{- partialCached "sandpointjs.html" . .RelPermalink -}} - - - {{ block "urls" . }}{{ end }} - {{- partialCached "footer.html" . -}} - + + {{- partialCached "head.html" . -}} + {{- .Title }} - {{ .Site.Title -}} + {{- partialCached "sandpointjs.html" . .RelPermalink -}} + + + {{ block "urls" . }}{{ end }} + {{- partialCached "footer.html" . -}} + diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html index 1896278..2e1eb98 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/layouts/urls/list.html @@ -1,106 +1,106 @@ {{ define "urls" }} -

Backlinks, outgoing URLs, bibliographic references and internal links:

- {{ $s := partialCached "scratch.html" . }} +

Backlinks, outgoing URLs, bibliographic references and internal links:

+ {{ $s := partialCached "scratch.html" . }} - -

- {{ range $p := .Site.RegularPages }} - {{ with or ($p.Scratch.Get "urls") ($p.Scratch.Get "bibs") ($p.Scratch.Get "links") ($p.Scratch.Get "backlinks" )}} -
{{ with $p.File }}{{- substr .Dir 0 -1 -}}⁄{{ end }}{{ $p.Title }} + +

+ {{ range $p := .Site.RegularPages }} + {{ with or ($p.Scratch.Get "urls") ($p.Scratch.Get "bibs") ($p.Scratch.Get "links") ($p.Scratch.Get "backlinks" )}} +
{{ with $p.File }}{{- substr .Dir 0 -1 -}}⁄{{ end }}{{ $p.Title }} - {{ $pPath := printf "/%s" $p.File }} - {{ with $ss := $s.Get $pPath }} - {{ with $ss.backlinks }} - {{ range $i, $_ := $ss.backlinks }} - {{ if eq $i 0 }} -
Mentioned in other Sandpoints pages ({{ len $ss.backlinks }}):
    - {{ end }} -
  • {{ with $_.File }}{{ substr .Dir 0 -1 }}⁄{{ end }}{{ $_.Title }}
  • - {{ end }} -
- {{ end }} - {{ end }} + {{ $pPath := printf "/%s" $p.File }} + {{ with $ss := $s.Get $pPath }} + {{ with $ss.backlinks }} + {{ range $i, $_ := $ss.backlinks }} + {{ if eq $i 0 }} +
Mentioned in other Sandpoints pages ({{ len $ss.backlinks }}):
    + {{ end }} +
  • {{ with $_.File }}{{ substr .Dir 0 -1 }}⁄{{ end }}{{ $_.Title }}
  • + {{ end }} +
+ {{ end }} + {{ end }} - {{ with ($p.Scratch.Get "links") }} - {{ range $i, $_ := ($p.Scratch.Get "links") }} - {{ if eq $i 0 }} -
Internal links to other Sandpoint pages ({{ len ($p.Scratch.Get "links") }}):
    - {{ end }} -
  • {{ with $_.File }}{{ substr .Dir 0 -1 }}⁄{{ end }}{{ $_.Title }}
  • - {{ end }} -
- {{ end }} + {{ with ($p.Scratch.Get "links") }} + {{ range $i, $_ := ($p.Scratch.Get "links") }} + {{ if eq $i 0 }} +
Internal links to other Sandpoint pages ({{ len ($p.Scratch.Get "links") }}):
    + {{ end }} +
  • {{ with $_.File }}{{ substr .Dir 0 -1 }}⁄{{ end }}{{ $_.Title }}
  • + {{ end }} +
+ {{ end }} - {{ $http_links := (slice) }} - {{ $library_links := (slice) }} - {{ $anchor_links := (slice) }} - {{ $other_links := (slice) }} + {{ $http_links := (slice) }} + {{ $library_links := (slice) }} + {{ $anchor_links := (slice) }} + {{ $other_links := (slice) }} - {{ with ($p.Scratch.Get "urls") }} - {{- $c_prefix := $p.Site.Params.sandpointsCatalogPrefix | default "/library/" -}} - {{ range $i, $_ := ($p.Scratch.Get "urls") }} - {{ if strings.HasPrefix $_ "http" }} - {{ $http_links = $http_links | append $_ }} - {{ else if strings.HasPrefix $_ $c_prefix }} - {{ $library_links = $library_links | append $_ }} - {{ else}} - {{ $other_links = $other_links | append $_ }} - {{ end }} - {{ end }} - {{ end }} + {{ with ($p.Scratch.Get "urls") }} + {{- $c_prefix := $p.Site.Params.sandpointsCatalogPrefix | default "/library/" -}} + {{ range $i, $_ := ($p.Scratch.Get "urls") }} + {{ if strings.HasPrefix $_ "http" }} + {{ $http_links = $http_links | append $_ }} + {{ else if strings.HasPrefix $_ $c_prefix }} + {{ $library_links = $library_links | append $_ }} + {{ else}} + {{ $other_links = $other_links | append $_ }} + {{ end }} + {{ end }} + {{ end }} - {{ with $http_links }} - {{ range $i, $_ := $http_links }} - {{ if eq $i 0 }} -
Outgoing links to other pages on Internet ({{ len $http_links }}):
    - {{ end }} -
  • www⁄{{ $_ }}
  • - {{ end }} -
- {{ end }} + {{ with $http_links }} + {{ range $i, $_ := $http_links }} + {{ if eq $i 0 }} +
Outgoing links to other pages on Internet ({{ len $http_links }}):
    + {{ end }} +
  • www⁄{{ $_ }}
  • + {{ end }} +
+ {{ end }} - {{ with $library_links }} - {{ range $i, $_ := $library_links }} - {{ if eq $i 0 }} -
Links to Sandpoint's library ({{ len $library_links }}):
    - {{ end }} -
  • lib⁄{{ $_ }}
  • - {{ end }} -
- {{ end }} + {{ with $library_links }} + {{ range $i, $_ := $library_links }} + {{ if eq $i 0 }} +
Links to Sandpoint's library ({{ len $library_links }}):
    + {{ end }} +
  • lib⁄{{ $_ }}
  • + {{ end }} +
+ {{ end }} - {{ with ($p.Scratch.Get "bibs") }} - {{ range $i, $_ := ($p.Scratch.Get "bibs") }} - {{ if eq $i 0 }} -
Bibliographic references ({{ len ($p.Scratch.Get "bibs") }}):
- {{ end }} + {{ with ($p.Scratch.Get "bibs") }} + {{ range $i, $_ := ($p.Scratch.Get "bibs") }} + {{ if eq $i 0 }} +
Bibliographic references ({{ len ($p.Scratch.Get "bibs") }}):
+ {{ end }} - {{ with $other_links }} - {{ $formattingN := 0 }} - {{ $anchorN := 0 }} - {{ range $i, $_ := $other_links }} - {{ if eq $i 0 }} -
Anchor, formatting and other links ({{ len $other_links }}):
    - {{ end }} - {{ if strings.HasPrefix $_ "#" }} - {{ $anchorN = add $anchorN 1 }} - {{ else if strings.HasPrefix $_ "{"}} - {{ $formattingN = add $formattingN 1 }} - {{ else }} -
  • other⁄{{ $_ }}
  • - {{ end }} - {{ end }} - {{ with $formattingN }}
  • {{ $formattingN }} formatting links.
  • {{ end }} - {{ with $anchorN }}
  • {{ $anchorN }} anchor links.
  • {{ end }} -
- {{ end }} + {{ with $other_links }} + {{ $formattingN := 0 }} + {{ $anchorN := 0 }} + {{ range $i, $_ := $other_links }} + {{ if eq $i 0 }} +
Anchor, formatting and other links ({{ len $other_links }}):
    + {{ end }} + {{ if strings.HasPrefix $_ "#" }} + {{ $anchorN = add $anchorN 1 }} + {{ else if strings.HasPrefix $_ "{"}} + {{ $formattingN = add $formattingN 1 }} + {{ else }} +
  • other⁄{{ $_ }}
  • + {{ end }} + {{ end }} + {{ with $formattingN }}
  • {{ $formattingN }} formatting links.
  • {{ end }} + {{ with $anchorN }}
  • {{ $anchorN }} anchor links.
  • {{ end }} +
+ {{ end }} -
+
+ {{ end }} {{ end }} - {{ end }} {{ end }} diff --git a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/theme.toml b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/theme.toml index dea8fba..ccf30ea 100644 --- a/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/theme.toml +++ b/_vendor/git.sandpoints.org/Drawwell/SandpointsTheme/theme.toml @@ -8,8 +8,10 @@ description = "Sandpoints Theme" homepage = "https://git.sandpoints.org/Drawwell/Sandpoints" tags = ["syllabus"] features = [] -min_version = "0.41" +min_version = "0.79.0" -[author] - name = "marcell mars" - homepage = "https://ki.ber.kom.uni.st" +authors = [ + {name = "Marcell Mars", homepage = "https://git.sandpoints.org"}, + {name = "Sean Dockray", homepage = "https://git.sandpoints.org"}, + {name = "Vincent W.J. van Gerven Oei", homepage = "http://www.vangervenoei.com"} +] diff --git a/_vendor/modules.txt b/_vendor/modules.txt index ec8dd5f..5d13d95 100644 --- a/_vendor/modules.txt +++ b/_vendor/modules.txt @@ -1 +1 @@ -# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201214024649-d07052efd534 +# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20201218140110-4732c15fd7b6 diff --git a/config.toml b/config.toml index 4d5aa4f..ea93f77 100644 --- a/config.toml +++ b/config.toml @@ -6,6 +6,7 @@ disableKinds = ["RSS", "sitemap"] [taxonomies] keyword = "keywords" + [params] description = "Some description should land here...." images = ["/UNS-logo.png"] @@ -68,3 +69,9 @@ disableKinds = ["RSS", "sitemap"] [[module.imports.mounts]] source = "customizations/Dotawo/static/css/site.min.css" target = "static/css/site.min.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"