🏗️ Finish post copy right widget coding.

This commit is contained in:
凡梦星尘
2022-06-03 22:37:33 +08:00
parent 5d1b38416e
commit fa5195c8a2
19 changed files with 408 additions and 171 deletions

View File

@@ -1,4 +1,5 @@
{{- if .Scratch.Get "IsHome" }}
{{ with .ctx }}
{{- if $.IsHome }}
{{- if and .Site.Params.readMoreBtn (not .Params.Expand) }}
<div class="post-button">
<a class="btn" href="{{ .Permalink }}#more" rel="contents">
@@ -8,6 +9,7 @@
{{- end }}
<div class="post-eof"></div>
{{- else }}
{{ partial "post/post_copyright.html" . }}
<div class="post-nav">
<div class="post-nav-next post-nav-item">
{{- with .NextInSection }}
@@ -25,4 +27,5 @@
{{- end }}
</div>
</div>
{{- end }}
{{- end }}
{{ end }}