From ca84da5b31fa00ca6c729a9b500efeb28f90b41b Mon Sep 17 00:00:00 2001
From: Nikola Georgiev <42315052+nikolageorgiev2000@users.noreply.github.com>
Date: Mon, 12 Sep 2022 00:05:14 +0000
Subject: [PATCH] feat: Hide full path to file in Wikilinks by default (#195)
---
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