From c68443b71c171345371be7381635abe522cb2c33 Mon Sep 17 00:00:00 2001 From: SerKo Date: Tue, 12 Apr 2022 01:33:41 +0800 Subject: [PATCH] style: update styles --- layouts/_default/baseof.html | 4 ++-- layouts/_default/single.html | 22 ++++++---------------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 241fe4e..951f002 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -40,10 +40,10 @@ -
+
{{- block "main" . }}{{- end }}
{{- partial "footer.html" . -}} - + \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 150b9c1..8c74d3a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,8 @@ {{ define "main" }} -
-
+
+
{{ .Title }}
-
+
{{- if isset .Params "date" -}} {{ if eq .Lastmod .Date }} @@ -13,17 +13,7 @@
- {{/*
*/}} - -
- {{- .Content -}} -
+ {{- .Content -}} +
{{ end }} \ No newline at end of file