Hugo-theme-stack/layouts/_default
Jimmy Cai 41fa65cbf5
feat: Table of Contents (#232)
Currently, the new table of contents is disabled by default. I will change that after several versions.

-------------

* feat: Table of Content (WIP)

* fix: set scratch inside define block

* fix(toc): darkmode text color

* feat: unify page layout, and add config to disable toc

* feat: add scroll-behavior: smooth to html

* fix: use <ol> for TOC. And Disable TOC by default for now

* refactor: use css flexbox for article page with toc

enable toc for example site

* feat(i18n): add i18n entry for "Back" and "Table of Contents"

* style: remove unused `keep-sidebar` class

* doc: add table of contents as feature
2021-06-21 18:44:54 +02:00
..
_markup fix: incorrect image & menu path for site hosted in subdir (#168) 2021-03-07 13:13:07 +01:00
archives.html refactor(archives): remove archive.categories i18n item (#108) 2021-01-01 13:04:37 +01:00
baseof.html feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
list.html feat(list): display subsections in list style when there are no normal pages (#121) 2021-01-07 11:28:16 +01:00
single.html feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00