diff --git a/customizations/Dotawo/assets/css/site.css b/customizations/Dotawo/assets/css/site.css
index 17f77a1..34a1dbd 100644
--- a/customizations/Dotawo/assets/css/site.css
+++ b/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/customizations/Dotawo/layouts/partials/header.html b/customizations/Dotawo/layouts/partials/header.html
new file mode 100644
index 0000000..cb44f01
--- /dev/null
+++ b/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" }}
+
+{{ end }}
+
+
diff --git a/customizations/Dotawo/layouts/partials/singlebody.html b/customizations/Dotawo/layouts/partials/singlebody.html
new file mode 100644
index 0000000..57220cd
--- /dev/null
+++ b/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/exampleSite/config.toml b/exampleSite/config.toml
index 28cea7c..11543cc 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -15,6 +15,9 @@ disableKinds = ["RSS", "sitemap"]
# sandpointsCatalogPrefix is used in custom bib: links impplemented in render-image.html
# sandpointsCatalogPrefix = "hyper://18f79903cb7ce4f1f3c05449418505a296bb2c4e851f7dc9444cf87ed45fb194/"
+ # sandpointsCatalogName will be symlink to library following the path:
+ # /var/www/html/sandpoints/libraris/{sandpointsCatalogName}
+ # sandpointsCatalogName = "dotawo"
[outputFormats]
[outputFormats.js]