From 7b1da7a8456b0404ad4ebcb8afd523a6618439ff Mon Sep 17 00:00:00 2001
From: BSD-Yassin <103321053+BSD-Yassin@users.noreply.github.com>
Date: Thu, 27 Apr 2023 18:12:56 +0000
Subject: [PATCH] i18n: Update fr.toml (#313)
---
layouts/_default/section.html | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 2fc7144..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,12 +8,14 @@
<!-- Begin actual content -->
{{partial "header.html" .}}
<article>
- <h1>All {{.Title}}</h1>
+ <h1>{{ i18n "all_posts" . }}</h1>
+ {{with .Params.description}}
+ <p>{{.}}</p>
+ {{end}}
{{partial "page-list.html" .Paginator.Pages.ByLastmod.Reverse }}
{{ template "_internal/pagination.html" .}}
</article>
{{partial "contact.html" .}}
</div>
</body>
-
</html>
--
Gitblit v1.10.0