From 470b6afdb02fbd87a09d526784dd19b30852a6a2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 23 Apr 2022 23:49:28 +0900 Subject: move post's tags from footer to header --- themes/mypaper/layouts/_default/single.html | 10 ++++------ themes/mypaper/static/style.css | 3 --- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'themes') diff --git a/themes/mypaper/layouts/_default/single.html b/themes/mypaper/layouts/_default/single.html index 06735a3..918a3c8 100644 --- a/themes/mypaper/layouts/_default/single.html +++ b/themes/mypaper/layouts/_default/single.html @@ -8,18 +8,16 @@ {{- .Params.Author | default .Site.Author.name }} ยท {{ end }} {{- .Date.Format "2006-01-02" -}} - -
{{ .Content }}
- {{- if .Params.tags }} - - {{- end }} + {{- end }} + +
{{ .Content }}
{{- partial "footer.html" . }} diff --git a/themes/mypaper/static/style.css b/themes/mypaper/static/style.css index 99796c2..dd7407a 100644 --- a/themes/mypaper/static/style.css +++ b/themes/mypaper/static/style.css @@ -454,9 +454,6 @@ img { .post-content iframe { max-width: 100%; } -.post-footer { - margin-top: 56px; -} .post-tags li { display: inline-block; } -- cgit v1.2.3-70-g09d2