diff options
author | dnth <dickson.neoh@gmail.com> | 2022-02-13 13:48:01 +0300 |
---|---|---|
committer | dnth <dickson.neoh@gmail.com> | 2022-02-13 13:48:01 +0300 |
commit | d08818f09659a9f008d5ccc2defcce37e913adb2 (patch) | |
tree | 7053d758a4493bb2163867ee4e26ee75c7a9b49c | |
parent | 8c94ec86e3d21c65db51b0ba0983884a652925a2 (diff) |
add toc
-rw-r--r-- | layouts/shortcodes/toc.html | 8 | ||||
-rw-r--r-- | static/style.css | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html new file mode 100644 index 0000000..03a20c9 --- /dev/null +++ b/layouts/shortcodes/toc.html @@ -0,0 +1,8 @@ +<div> + <link rel="stylesheet" href="/style.css"> + <h3> + Table of Contents + </h3> + + {{ .Page.TableOfContents }} +</div>
\ No newline at end of file diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..1f571bb --- /dev/null +++ b/static/style.css @@ -0,0 +1,3 @@ +nav > ul > li { + list-style: none; + }
\ No newline at end of file |