Adds translations for static texts
This commit is contained in:
+3
-3
@@ -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 }}
|
||||
Reference in New Issue
Block a user