From 983efab94c31bb19b532e120f2f70f45f788b7c8 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Mon, 13 Feb 2023 00:46:11 +0000
Subject: [PATCH] fix: recent notes partial sorting
---
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