Adds translations for static texts

This commit is contained in:
Pierre Bourgeois
2023-02-05 20:09:51 +01:00
parent 6930cf2da2
commit aae2408ef7
6 changed files with 26 additions and 13 deletions
+3 -3
View File
@@ -3,12 +3,12 @@
{{ end }}
{{ define "title" }}
{{ .Site.Title }} | 404 page not found
{{ .Site.Title }} | {{ .Site.Params.terms.pageNotFound | default "404 page not found" }}
{{ end }}
{{ define "main" }}
<div class="container py-5 text-center">
<img src="{{ .Site.Params.staticPath }}/404.png" alt="404 page not found" class="img-fluid" width="40%">
<h1>404 Page Not Found</h1>
<img src="{{ .Site.Params.staticPath }}/404.png" alt='{{ .Site.Params.terms.pageNotFound | default "404 page not found" }}' class="img-fluid" width="40%">
<h1>{{ .Site.Params.terms.pageNotFound | default "404 page not found" }}</h1>
</div>
{{ end }}