🏗️ Finish post copy right widget coding.
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user