add 3 kinds of buttons to open toc content

This commit is contained in:
Mivinci 2021-12-02 13:52:55 +08:00
parent d30991a039
commit 5f6611839f
11 changed files with 130 additions and 17 deletions

View file

@ -2,7 +2,7 @@
{{ if .Params.toc }}
{{ partial "toc.html" . }}
{{ end }}
<h1 class="mt-8 mb-6">{{ .Title }}</h1>
<h1 class="mt-6 mb-6">{{ .Title }}</h1>
<div class="mb-3 text-xs flex justify-between sm:flex-col">
<div>
{{ if .Site.Params.displayDate }}