aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/mypaper/layouts/_default/single.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-04-23 23:49:28 +0900
committernsfisis <nsfisis@gmail.com>2022-04-23 23:49:28 +0900
commit470b6afdb02fbd87a09d526784dd19b30852a6a2 (patch)
treee27a9a5c0ad1b9062a5140b9e25c298ef2f031d6 /themes/mypaper/layouts/_default/single.html
parent6d41679509322f646667b0f8c72ebbd9128cf9fc (diff)
downloadnsfisis.github.io-470b6afdb02fbd87a09d526784dd19b30852a6a2.tar.gz
nsfisis.github.io-470b6afdb02fbd87a09d526784dd19b30852a6a2.tar.zst
nsfisis.github.io-470b6afdb02fbd87a09d526784dd19b30852a6a2.zip
move post's tags from footer to header
Diffstat (limited to 'themes/mypaper/layouts/_default/single.html')
-rw-r--r--themes/mypaper/layouts/_default/single.html10
1 files changed, 4 insertions, 6 deletions
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" -}}
</div>
- </header>
- <div class="post-content">{{ .Content }}</div>
- {{- if .Params.tags }}
- <footer class="post-footer">
+ {{- if .Params.tags }}
<ul class="post-tags">
{{- range .Params.tags }}
{{- $href := print (absURL "tags/") (urlize .) }}
<li><a href="{{ $href }}">{{ . }}</a></li>
{{- end }}
</ul>
- </footer>
- {{- end }}
+ {{- end }}
+ </header>
+ <div class="post-content">{{ .Content }}</div>
</article>
{{- partial "footer.html" . }}