🎨 Add more article content for demo.

This commit is contained in:
凡梦星尘
2022-06-09 21:55:00 +08:00
parent 836fe1ea10
commit 0beb8d3ca7
10 changed files with 13 additions and 332 deletions

View File

@@ -4,7 +4,7 @@
<span class="toggle-line"></span>
</div>
<aside class="sidebar">
{{- $toc := and (isset .Params "toc") .Params.toc }}
{{- $toc := and (isset .Page.Params "toc") .Page.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">{{ .TableOfContents }}</div>
<div class="post-toc animated">{{ .Page.TableOfContents }}</div>
{{- end }}
</div>
<!--/noindex-->