theme: fix resource URLs for 404 page on subdirectories #515

This commit is contained in:
Sören Weber 2023-05-04 22:27:12 +02:00
parent 98c88d8e2e
commit d3762944b5
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -11,7 +11,7 @@
{{- .Scratch.Set "title" .Title}} {{- .Scratch.Set "title" .Title}}
{{- end }} {{- end }}
<title>{{ .Scratch.Get "title" }} {{ default "::" .Site.Params.titleSeparator }} {{ .Site.Title }}</title> <title>{{ .Scratch.Get "title" }} {{ default "::" .Site.Params.titleSeparator }} {{ .Site.Title }}</title>
<base href="{{ .Site.BaseURL }}">
{{- partialCached "favicon.html" . }} {{- partialCached "favicon.html" . }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }} {{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
<style> <style>