diff options
author | matsuyoshi <sfbgwm30@gmail.com> | 2020-03-15 07:58:24 +0300 |
---|---|---|
committer | matsuyoshi <sfbgwm30@gmail.com> | 2020-03-15 07:58:24 +0300 |
commit | 4f4927500987c7755769f2cac7ef2a0a3b53be06 (patch) | |
tree | 3cf41900f036d8157f4869b8ddd07c4c058ebcc3 /README.md | |
parent | 215ca1faa95fae42bda0e0d0d1f1011ae780a05a (diff) |
add toc
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -10,6 +10,7 @@ Simple and minimal personal blog theme for [Hugo](https://gohugo.io/). - Dark mode - Syntax Highlight (see [Hugo doc](https://gohugo.io/content-management/syntax-highlighting/)) - Search entire blog posts +- TOC ## Installation & Update @@ -85,6 +86,10 @@ title: "Search" {{<search>}} ``` +### TOC + +If you want to use TableOfContent, set true frontmatter `toc`. + ## Frontmatter example ``` @@ -93,7 +98,14 @@ title = "Article title here" date = 2020-02-15T20:00:00+09:00 tags = ["tags here"] draft = false +toc = false +++ + +# Title + +<!-- toc --> + +## Contents ``` ## LICENSE |