File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{{- define "main" }}
22 < article class ="content ">
33 < header >
4- < h1 class ="post-title "> 404 — {{ $.Site .Params.missingContentMessage | default "Page not found..." }}</ h1 >
4+ < h1 class ="post-title "> 404 — {{ site .Params.missingContentMessage | default "Page not found..." }}</ h1 >
55 </ header >
66 < p >
7- < a href ="{{ "/" | absURL }}"> {{ $.Site .Params.missingBackButtonLabel | default "Back to home page" }} →</ a >
7+ < a href ="{{ absURL "" }}"> {{ site .Params.missingBackButtonLabel | default "Back to home page" }} →</ a >
88 </ p >
99 </ article >
1010{{- end }}
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ <h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
3434 </ header >
3535
3636 {{- if .Params.Cover }}
37- < img src ="{{ .Params.Cover | absURL }} " class ="post-cover " {{ with .Params.CoverAlt }}alt ="{{ . | plainify }} "{{ end }} />
37+ < img src ="{{ absURL .Params.Cover }} " class ="post-cover " {{ with .Params.CoverAlt }}alt ="{{ . | plainify }} "{{ end }} />
3838 {{- end }}
3939
4040 {{- if and (.Param "toc") (ne .TableOfContents "< nav id =\ "TableOfContents\"> </ nav > ") }}
Original file line number Diff line number Diff line change 1111
1212{{- /* Custom CSS to override theme properties (/static/style.css) */}}
1313{{- if (fileExists "static/style.css") }}
14- < link rel ="stylesheet " href ="{{ "style.css " | absURL }}" />
14+ < link rel ="stylesheet " href ="{{ absURL "style.css " }}" />
1515{{- end }}
You can’t perform that action at this time.
0 commit comments