!publish! latest vendor..

This commit is contained in:
Marcell Mars 2021-09-09 17:26:49 +02:00
parent 2def635807
commit 6f52d87c75
5 changed files with 9 additions and 3 deletions

View file

@ -68,6 +68,11 @@
{{ end }}
<div class="print0">{{ partial "printsinglebody.html" $p }}</div>
{{ $tit := $p.Title }}
{{ if gt (len $p.Title) 54 }}
{{ $tit = printf "%s…" (substr $p.Title 0 50) }}
{{ end }}
<div class="runningTitle"><span class="sup">{{ substr $p.File.Dir 0 -1 }}</span><a href="#ph-{{ $p.File.UniqueID }}">{{ $tit }}</a></div>
<div class="content">{{ $p.Content }}</div>
{{ $cssOutput = printf "%s\n%s" $cssOutput (replace $cssTemplate "_rplc_" $p.File.UniqueID) }}
{{ $cssHashes = printf "%s css-%s-h2" $cssHashes $p.File.UniqueID }}
@ -93,7 +98,7 @@
{{ if gt (len .Title) 54 }}
{{ $tit = printf "%s…" (substr .Title 0 50) }}
{{ end }}
<div class="runningTitle"><span class="sup">{{ index $scratch.crust 0 }}</span><a href="#ph-{{ .File.UniqueID }}">{{ $tit }}</a></div>
<div class="runningTitle"><span class="sup">{{ substr .File.Dir 0 -1 }}</span><a href="#ph-{{ .File.UniqueID }}">{{ $tit }}</a></div>
{{ partial "printsinglebody.html" . }}
{{ .Content }}
{{ .Scratch.Set "alreadyRendered" true }}
@ -123,7 +128,7 @@
{{ if gt (len .Title) 54 }}
{{ $tit = printf "%s…" (substr .Title 0 50) }}
{{ end }}
<div class="runningTitle"><span class="sup">{{ index $scratch.crust 0 }}</span><a href="#ph-{{ .File.UniqueID }}">{{ $tit }}</a></div>
<div class="runningTitle"><span class="sup">{{ substr .File.Dir 0 -1 }}</span><a href="#ph-{{ .File.UniqueID }}">{{ $tit }}</a></div>
{{ partial "printsinglebody.html" . }}
{{ .Content }}
{{ $k := $s.Get (printf "/%s" .File) }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View file

@ -1,2 +1,2 @@
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210909101824-3c20212a423a
# git.sandpoints.org/Drawwell/SandpointsTheme v0.0.0-20210909152529-7aabfbd0c200
# git.sandpoints.org/Drawwell/SandpointsEditPage v0.0.0-20210825011616-e019d8a4d186

View file

@ -9,6 +9,7 @@ keyword = "keywords"
[params]
description = "Annotazioni condivise da CampoSud"
images = ["/logo/800x418.png"]
# sandpointsGiteaUrl = "https://git.sandpoints.org/Drawwell/SimpleSandpoints"
sandpointsGiteaUrl = "https://git.sandpoints.org/CampoSud/SpectreOfReflections"
sandpointsCatalogName = "camposud"