Skip to content

Commit

Permalink
theme: fix resource URLs for 404 page on subdirectories matcornic#515
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed May 4, 2023
1 parent 98c88d8 commit d376294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{- .Scratch.Set "title" .Title}}
{{- end }}
<title>{{ .Scratch.Get "title" }} {{ default "::" .Site.Params.titleSeparator }} {{ .Site.Title }}</title>

<base href="{{ .Site.BaseURL }}">
{{- partialCached "favicon.html" . }}
{{- partialCached "stylesheet.html" (dict "page" . "outputFormat" $outputFormat) $outputFormat }}
<style>
Expand Down

0 comments on commit d376294

Please sign in to comment.