Skip to content

Commit d531af4

Browse files
spinat3000noxilixon
authored andcommitted
fix: change 404 page link to homepage
1 parent 6ca9bfe commit d531af4

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

layouts/404.html

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
{{ define "main"}}
2-
<div class="d-flex flex-column justify-content-center align-items-center four-oh-four">
3-
<div class="px-1">
4-
<h1 class="text-center">{{- .Site.Params.Errortitle}}</h1>
5-
<h4 class="text-center">{{- .Site.Params.Errordescription}}</h4>
2+
<div class="d-flex flex-column justify-content-center align-items-center four-oh-four">
3+
<div class="px-1">
4+
<h1 class="text-center">{{- .Site.Params.Errortitle}}</h1>
5+
<h4 class="text-center">{{- .Site.Params.Errordescription}}</h4>
6+
</div>
7+
<div class="px-1">
8+
<div class="container d-flex justify-content-between align-items-center">
9+
<a class="logo" aria-label="Home" href='{{ site.Home.Permalink }}'>
10+
{{ with resources.Get "images/logo.svg" }}
11+
{{ .Content | safeHTML }}
12+
{{ end }}
13+
</a>
614
</div>
7-
<div class="px-1">
8-
<a href="{{ "" | relURL }}"><i class="material-icons size-35 me-0">berlin.freifunk.net</i></a>
9-
</div>
10-
</div>
11-
{{ end }}
15+
</div>
16+
</div>
17+
{{ end }}

0 commit comments

Comments
 (0)