2022-06-03 22:37:33 +08:00
|
|
|
{{ with .ctx }}
|
|
|
|
{{- if $.IsHome }}
|
2022-06-02 12:13:16 +08:00
|
|
|
{{- if and .Site.Params.readMoreBtn (not .Params.Expand) }}
|
|
|
|
<div class="post-button">
|
|
|
|
<a class="btn" href="{{ .Permalink }}#more" rel="contents">
|
|
|
|
{{ T "PostReadMore" }} »
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
<div class="post-eof"></div>
|
|
|
|
{{- else }}
|
2022-06-03 22:37:33 +08:00
|
|
|
{{ partial "post/post_copyright.html" . }}
|
2022-06-02 12:13:16 +08:00
|
|
|
<div class="post-nav">
|
|
|
|
<div class="post-nav-next post-nav-item">
|
|
|
|
{{- with .NextInSection }}
|
|
|
|
<a href="{{ .Permalink}}" rel="next" title="{{.Title}}">
|
|
|
|
<i class="fa fa-chevron-left"></i> {{.Title}}
|
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
<div class="post-nav-prev post-nav-item">
|
|
|
|
{{- with .PrevInSection }}
|
|
|
|
<a href="{{ .Permalink}}" rel="prev" title="{{.Title}}">
|
|
|
|
{{.Title}}
|
|
|
|
<i class="fa fa-chevron-right"></i>
|
|
|
|
</a>
|
|
|
|
{{- end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-03 22:37:33 +08:00
|
|
|
{{- end }}
|
|
|
|
{{ end }}
|