From afc1f095745a548ff400f187d53bc1570f02bcf2 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Sat, 13 Sep 2025 11:50:38 +0200 Subject: RSS full content, index renamed to home, fix text bugs --- layouts/_default/home.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 layouts/_default/home.html (limited to 'layouts/_default') diff --git a/layouts/_default/home.html b/layouts/_default/home.html new file mode 100644 index 0000000..031e3b5 --- /dev/null +++ b/layouts/_default/home.html @@ -0,0 +1,24 @@ +{{- define "main" }} +
+
+

+ {{ with .Title }}{{ . }}{{ else }}{{ site.Title | default "Welcome to my Blog!" }}{{ end }} +

+ {{- with site.Params.author.portrait }} + {{ . }} + {{- end }} + {{- with .Content }} +
+ {{ . }} +
+ {{- end }} +
+ + {{- partial "list/recent-posts.html" (dict + "count" 5 + "title" (lang.Translate "posts.recent" | default "Recent Articles") + "show_view_all" true + ) + -}} +
+{{- end }} -- cgit v1.2.3