File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change
1
+ {{- define "main" -}}
2
+ < div class ="FourOhFourCentered ">
3
+ < h1 > Page not found</ h1 >
4
+ < p > Sorry, that page isn't on this site.</ p >
5
+ < p class ="bottom "> Please use the navigation menu above, or the < a href ="/search "> search</ a > page to find another page.</ p >
6
+ </ div >
7
+ {{- end }}
Original file line number Diff line number Diff line change 1
1
< head >
2
2
< meta charset ="utf-8 ">
3
3
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
4
- < title > {{ .Title }}</ title >
4
+ < title >
5
+ {{- if .IsHome -}}
6
+ Home | {{ .Site.Title }}
7
+ {{- else if .Page.Title -}}
8
+ {{ .Page.Title }} | {{ .Site.Title }}
9
+ {{- else -}}
10
+ {{ .Site.Title }}
11
+ {{- end -}}
12
+ </ title >
5
13
< link href ="
https://cdn.jsdelivr.net/npm/[email protected] /dist/css/bootstrap.min.css "
rel ="
stylesheet "
integrity ="
sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH "
crossorigin ="
anonymous "
>
14
+ < link rel ="canonical " href ="{{ .Permalink }} " />
6
15
{{ partial "style.html" . }}
7
16
</ head >
You can’t perform that action at this time.
0 commit comments