Attempt 1 to resolve #72

Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
GitHub Action
2024-08-05 14:03:45 +00:00
parent 5ee9c82125
commit 5d7becd0ee
7 changed files with 19 additions and 12 deletions

View File

@ -3,10 +3,10 @@
<p class="img-404">{{- partial "svg.html" (dict "context" . "name" "404-lighthouse") -}}</p>
<div class="banner-404">
<h1>404</h1>
<p>{{ i18n "notFound" }}</p>
<p>{{- if fileExists "i18n" -}} {{ i18n "notFound" }} {{- else -}} Oops, page not found… {{- end -}}</p>
<p class="btn-404">
<a href="{{.Site.BaseURL}}">{{- partial "svg.html" (dict "context" . "name" "404-home") -}}{{ i18n "home" }}</a>
<a href="{{ "posts" | absLangURL }}">{{- partial "svg.html" (dict "context" . "name" "404-archive") -}}{{ i18n "archives" }}</a>
<a href="{{.Site.BaseURL}}">{{- partial "svg.html" (dict "context" . "name" "404-home") -}}{{- if fileExists "i18n" -}} {{ i18n "home" }} {{- else -}} Home {{- end -}}</a>
<a href="{{ "posts" | absLangURL }}">{{- partial "svg.html" (dict "context" . "name" "404-archive") -}}{{- if fileExists "i18n" -}} {{ i18n "archives" }} {{- else -}} Archives {{- end -}}</a>
</p>
</div>
</div>