From 40f57ed72a601d8489a180f3bd9acd5e6c20d323 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Tue, 23 Apr 2024 01:19:27 +0700 Subject: Update theme --- layouts/index.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 layouts/index.html (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..c1da783 --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,14 @@ +{{ define "main" }} +
+ {{ .Content }} +
+ {{ with .Site.GetPage "section" "posts" }} + {{ range first 1 .Pages }} +
+

{{ .Title }}

+ {{ .Content | truncate 1000 }} +
+ {{ end }} + {{ end }} + +{{ end }} -- cgit 1.4.1