From d16ebcaa0276de49eb77b949056f027f5728a95c Mon Sep 17 00:00:00 2001 From: Carson Ip Date: Sat, 25 Feb 2017 18:54:47 +0100 Subject: [PATCH] Update readme about smart toc --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e26b193..48adea8 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,11 @@ Minos is a Hugo theme ported from Hexo theme [Minos](https://github.com/ppoffice * Duoshuo comment * Search box * Hierarchical categories (since this isn't supported in Hugo) +* Smart table of contents (will highlight and expand current section in TOC) * Disqus * Google Analytics * [KaTeX](https://github.com/Khan/KaTeX) * Syntax highlighting using [highlight.js](https://github.com/isagalaev/highlight.js) -* no jQuery :) ## Installation @@ -40,6 +40,12 @@ theme = "hugo-theme-minos" ## Options +### Smart TOC +``` +[params] + smartToc = true +``` + ### Disqus ``` [params]