From 981e41a9473654c4ee754f86a78d54c8c5cad9b2 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 12 Apr 2021 11:19:57 +0700 Subject: Switch to Hugo, restructure the page --- layouts/_default/single.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 layouts/_default/single.html (limited to 'layouts/_default') diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..f74ec16 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,26 @@ +{{ define "main" }} +{{ if .Menus }} + +{{ end }} + +
+
+

{{ trim .Title " " }}

+
+
+ {{ .Content }} +
+ {{ partial "postInfo.html" . }} +
+ +{{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }} +{{ partial "paginationPost.html" . }} +{{ end }} + +{{ partial "custom-webring.html" }} + +{{ end }} -- cgit 1.4.1