Einbinden von CustomCSS setzt keine Site-Base mehr davor + kleinere Anpassungen um Leerzeilen zu vermeiden

This commit is contained in:
mdn 2023-01-22 00:47:23 +01:00
parent c14beceef6
commit 631c22e7c6
18 changed files with 134 additions and 146 deletions

View file

@ -22,12 +22,12 @@
{{ end }}
{{ define "sidebar" }}
{{ if isset .Site.Author "linkdata" }}
{{ with (index .Site.Data .Site.Author.linkdata) }}
{{- if isset .Site.Author "linkdata" -}}
{{- with (index .Site.Data .Site.Author.linkdata) }}
<div class="position-sticky">
{{- partial "widget/header.html" (dict "title" "Links") -}}
{{- partial "widget/links.html" . -}}
</div>
{{ end }}
{{ end }}
{{ end }}
{{- end -}}
{{- end -}}
{{- end }}