Hugo-theme-stack/assets/scss/partials/layout
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
..
404.scss refactor(scss): rename --content-padding to --card-padding 2020-09-20 19:03:41 +02:00
archives.scss feat(list): add subsection support (#81) 2020-12-22 21:14:50 +01:00
article.scss feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
list.scss feat: change the page vertical scrollbar styles (#227) 2021-06-20 15:49:35 +02:00
search.scss refactor(search): remove .search-result--title style 2020-11-06 12:13:12 +01:00