From ce55eca73bdfc6c043137dcbd7a2bda24cfce9af Mon Sep 17 00:00:00 2001
From: Andrii Yefremov <56955307+decatetsu@users.noreply.github.com>
Date: Mon, 29 Aug 2022 18:15:18 +0000
Subject: [PATCH] Add Ukrainian translation (#191)
---
layouts/_default/section.html | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 96611c4..f88b85f 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en">
+<html lang="{{ .Lang }}">
{{ partial "head.html" . }}
<body>
@@ -8,7 +8,7 @@
<!-- Begin actual content -->
{{partial "header.html" .}}
<article>
- <h1>All {{.Title}}</h1>
+ <h1>{{ i18n "all_posts" . }}</h1>
{{with .Params.description}}
<p>{{.}}</p>
{{end}}
@@ -18,5 +18,4 @@
{{partial "contact.html" .}}
</div>
</body>
-
</html>
--
Gitblit v1.10.0