From 6085808466ae7890743440139faa903c79d613e4 Mon Sep 17 00:00:00 2001 From: SerKo Date: Wed, 6 Apr 2022 05:31:50 +0800 Subject: [PATCH] style: draft single page prose style --- layouts/_default/single.html | 95 ++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e69de29..9bcae5c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -0,0 +1,95 @@ +{{ define "main" }} +
+
+ {{ .Title }} +
+ {{- if isset .Params "date" -}} + {{ if eq .Lastmod .Date }} + + {{ else }} + + {{ end }} + {{- end -}} +
+
+ + {{/*
+
123 +
456
+
+
*/}} + + + {{/*
*/}} + +
+ {{- .Content -}} +
+