🎨 Reset some article content.
This commit is contained in:
@@ -10,11 +10,18 @@
|
||||
<div class="post-eof"></div>
|
||||
{{- else }}
|
||||
{{ partial "post/footer_meta/tags.html" . }}
|
||||
{{- if and (not (isset .Params "share")) (not .Params.share) }}
|
||||
{{ partial "_thirdparty/share/addthis.html" . }}
|
||||
{{- end }}
|
||||
<hr/>
|
||||
{{ partial "post/footer_meta/reward.html" . }}
|
||||
{{- if and (not (isset .Params "copyright")) (not .Params.copyright) }}
|
||||
{{ partial "post/footer_meta/copyright.html" . }}
|
||||
{{- end }}
|
||||
{{- if and (not (isset .Params "followme")) (not .Params.followme) }}
|
||||
{{ partial "post/footer_meta/followme.html" . }}
|
||||
{{- end }}
|
||||
{{- if and (not (isset .Params "nav")) (not .Params.nav) }}
|
||||
<div class="post-nav">
|
||||
<div class="post-nav-next post-nav-item">
|
||||
{{- with .NextInSection }}
|
||||
@@ -33,4 +40,5 @@
|
||||
</div>
|
||||
</div>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -4,7 +4,7 @@
|
||||
<span class="toggle-line"></span>
|
||||
</div>
|
||||
<aside class="sidebar">
|
||||
{{- $toc := and (isset .Page.Params "toc") .Page.Params.toc }}
|
||||
{{- $toc := and (isset .Params "toc") .Params.toc }}
|
||||
<div class="sidebar-inner {{ if $toc }}sidebar-nav-active sidebar-toc-active{{ else }}sidebar-overview-active{{ end }}">
|
||||
<ul class="sidebar-nav">
|
||||
<li class="sidebar-nav-toc">
|
||||
@@ -18,7 +18,7 @@
|
||||
<!--noindex-->
|
||||
<div class="post-toc-wrap sidebar-panel">
|
||||
{{- if $toc }}
|
||||
<div class="post-toc animated">{{ .Page.TableOfContents }}</div>
|
||||
<div class="post-toc animated">{{ .TableOfContents }}</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
<!--/noindex-->
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{{ .TableOfContents }}
|
||||
Reference in New Issue
Block a user