🎨 Finish archives page coding.
This commit is contained in:
36
layouts/partials/post/footer.html
Normal file
36
layouts/partials/post/footer.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{{ with .ctx }}
|
||||
{{- if $.IsHome }}
|
||||
{{- 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 }}
|
||||
{{ partial "post/footer_meta/tags.html" . }}
|
||||
{{ partial "_thirdparty/share/addthis.html" . }}
|
||||
<hr/>
|
||||
{{ partial "post/footer_meta/reward.html" . }}
|
||||
{{ partial "post/footer_meta/copyright.html" . }}
|
||||
{{ partial "post/footer_meta/followme.html" . }}
|
||||
<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>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user