From fecc9b268410c8fefcd1ca32bc4228bba9002178 Mon Sep 17 00:00:00 2001 From: GNUxeava Date: Fri, 11 Mar 2022 10:32:10 +0530 Subject: use theme --- layouts/post/single.html | 72 +++++++++++++++++++++++++++++++++++++++++++++++ layouts/post/summary.html | 28 ++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 layouts/post/single.html create mode 100644 layouts/post/summary.html (limited to 'layouts/post') diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..d138eef --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,72 @@ +{{ define "content" -}} +
+ +
+

{{ .Title }}

+ + +
+ + + {{- partial "post/toc.html" . -}} + + + {{- partial "post/outdated-info-warning.html" . -}} + + +
+ {{ .Content }} +
+ + + {{- partial "post/copyright.html" . -}} + + + {{- partial "post/reward.html" . -}} + + +
+{{- end }} diff --git a/layouts/post/summary.html b/layouts/post/summary.html new file mode 100644 index 0000000..38c45f4 --- /dev/null +++ b/layouts/post/summary.html @@ -0,0 +1,28 @@ +
+
+

{{ .Title }}

+ +
+ +
+
+ {{ .Summary }} +
+ +
+
-- cgit v1.2.3