diff --git a/customizations/Dotawo/assets/css/site.css b/customizations/Dotawo/assets/css/site.css
index 7330f2d..f5221c8 100644
--- a/customizations/Dotawo/assets/css/site.css
+++ b/customizations/Dotawo/assets/css/site.css
@@ -117,12 +117,28 @@ th:not([align]) {
/* Legacy iOS */
}
+@font-face {
+ font-family: "Antinoou";
+ font-style: normal;
+ src: url("../fonts/Antinoou.ttf"),
+ url("../fonts/Antinoou.ttf") format("truetype");
+ unicode-range: U+2C80–U+2CFF, U+0370–U+03FF, U+102E0–U+102FF;
+}
+
+@font-face {
+ font-family: "Antinoou";
+ font-style: italic;
+ src: url("../fonts/AntinoouItalic.ttf"),
+ url("../fonts/AntinoouItalic.ttf") format("truetype");
+ unicode-range: U+2C80–U+2CFF, U+0370–U+03FF, U+102E0–U+102FF;
+}
+
html {
line-height: 1.5;
}
body {
- font-family: "Gentium Plus", serif;
+ font-family: "Gentium Plus", "Antinoou", serif;
max-width: 1024px;
font-size: 1.4rem;
padding-left: 3rem;
@@ -735,63 +751,3 @@ details {
display: none;
}
}
-
-@media print {
- @page {
- size: 156mm 234mm;
- marks: crop cross;
- }
-
- h2 {
- break-before: page;
- }
-
- html {
- font-size: 0.9rem;
- box-sizing: border-box;
- margin: 0 auto;
- padding: 0;
- }
-
- .grid {
- display: inline;
- }
-
- .coretitle {
- margin-top: 3rem;
- margin-bottom: 2rem;
- font-size: 2.2rem;
- }
-
- .leftcolumn {
- display: none;
- }
-
- .has,
- .afterhas {
- font-size: 1.1rem;
- }
-
- .mantle,
- .crust {
- margin-bottom: 0.2em;
- }
-
- .content {
- padding: 0px;
- margin: 0 auto;
- margin-top: 4rem;
- }
-
- .hpar {
- display: none;
- }
-
- .mantletitle {
- font-size: 1.7rem;
- }
-
- .sessiongrid {
- display: none;
- }
-}
diff --git a/customizations/Dotawo/layouts/partials/printsinglebody.html b/customizations/Dotawo/layouts/partials/printsinglebody.html
new file mode 100644
index 0000000..48bd8b9
--- /dev/null
+++ b/customizations/Dotawo/layouts/partials/printsinglebody.html
@@ -0,0 +1,89 @@
+{{ $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.editors -}}
+ {{- with $.GetPage (printf "/editor/%s" $v) -}}
+ {{- with not $k -}}
+
+
editor{{ with $.Page.Params.editors }}{{ if gt (len .) 1 }}s{{ end }}{{ end }}⁄
+
+ {{- end -}}
+
+ {{- end -}}
+ {{- end -}}
+ {{- with .Page.Params.editors -}}
{{- 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 and (not (eq $scratch.depth "crust")) $scratch.has_children }}
+
+ {{ with $scratch.has }}
+
has {{ $scratch.has }}⁄
+ {{ end }}
+
+ {{ range $scratch.has_children }}
+ {{ $authors := "" }}
+ {{ range $n, $authorFile := .Params.authors }}
+ {{ $author := $.GetPage (printf "/author/%s" $authorFile) }}
+ {{ if eq $n 0 }}
+ {{ $authors = printf "%s%s" $authors $author.Title }}
+ {{ else }}
+ {{ $authors = printf "%s, %s" $authors $author.Title }}
+ {{ end }}
+ {{ end }}
+
+ {{ end }}
+
+ {{ end }}
+
+ {{ if eq $scratch.depth "crust" }}
+
+
in {{ index $scratch.in 1 }}⁄
+
+ {{ range $scratch.is_in }}
+
+ {{ end }}
+
+ {{ end }}
+
+
+
+
+{{ with .Page.Params.abstract }}abstract⁄{{ . | $.Page.RenderString | htmlUnescape | safeHTML }}
{{ end }}
+
+{{- $vld := false -}}{{- range $k, $v := .Page.Params.keywords -}}{{- if eq $k 0 -}}{{- $vld = true -}}keywords⁄{{- $v -}}{{- else -}}, {{- $v -}}{{- end -}}{{- end -}}{{- with $vld -}}
{{- end -}}
diff --git a/customizations/Dotawo/static/fonts/Antinoou.ttf b/customizations/Dotawo/static/fonts/Antinoou.ttf
new file mode 100644
index 0000000..8dc0409
Binary files /dev/null and b/customizations/Dotawo/static/fonts/Antinoou.ttf differ
diff --git a/customizations/Dotawo/static/fonts/AntinoouItalic.ttf b/customizations/Dotawo/static/fonts/AntinoouItalic.ttf
new file mode 100644
index 0000000..5d32dc6
Binary files /dev/null and b/customizations/Dotawo/static/fonts/AntinoouItalic.ttf differ
diff --git a/layouts/partials/pagedjs.html b/layouts/partials/pagedjs.html
index 2c1f980..1336d1d 100644
--- a/layouts/partials/pagedjs.html
+++ b/layouts/partials/pagedjs.html
@@ -1,2 +1,3 @@
+
diff --git a/layouts/print/baseof.html b/layouts/print/baseof.html
index f27eaaa..c92c161 100644
--- a/layouts/print/baseof.html
+++ b/layouts/print/baseof.html
@@ -6,8 +6,6 @@
{{- partial "pagedjs.html" . -}}
-
{{- block "singlebody" . -}}{{- end -}}
-