diff --git a/assets/css/postcss.config.js b/assets/css/postcss.config.js
index 3a62dc9..5096b80 100644
--- a/assets/css/postcss.config.js
+++ b/assets/css/postcss.config.js
@@ -5,9 +5,9 @@ module.exports = {
require('postcss-import')({
path: [themeDir]
}),
- require('autoprefixer')({
- grid: true
- }),
- require('postcss-reporter'),
+ /* require('autoprefixer')({
+ * grid: true
+ * }),
+ * require('postcss-reporter'), */
]
}
diff --git a/customizations/Dotawo/assets/css/site.css b/customizations/Dotawo/assets/css/site.css
index f5221c8..fd98d6c 100644
--- a/customizations/Dotawo/assets/css/site.css
+++ b/customizations/Dotawo/assets/css/site.css
@@ -147,6 +147,10 @@ body {
color: black;
}
+#preview {
+ display: none;
+}
+
sup,
sub {
vertical-align: baseline;
diff --git a/customizations/Dotawo/layouts/_default/_markup/render-image.html b/customizations/Dotawo/layouts/_default/_markup/render-image.html
index 470524f..bf81236 100644
--- a/customizations/Dotawo/layouts/_default/_markup/render-image.html
+++ b/customizations/Dotawo/layouts/_default/_markup/render-image.html
@@ -2,49 +2,49 @@
{{ $_ := newScratch }}
{{- range $k, $v := .Page.Site.Data.sandpointsnamegraph -}}
- {{ $_.Add "triads" $k }}
+ {{ $_.Add "triads" $k }}
{{- 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 -}}
- bib⁄{{- $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
+ bib⁄{{- $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 -}}
-
+
{{- else -}}
-
+
{{- end -}}
diff --git a/customizations/Dotawo/layouts/partials/singlebody.html b/customizations/Dotawo/layouts/partials/singlebody.html
index 89ac2a5..1bd96be 100644
--- a/customizations/Dotawo/layouts/partials/singlebody.html
+++ b/customizations/Dotawo/layouts/partials/singlebody.html
@@ -8,7 +8,9 @@
{{ $currentFile := (printf "/%s" .File) }}
{{ $scratch := $s.Get $currentFile }}
-