Go to file
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
.github chore(github): update bug report template 2021-04-04 12:38:28 +02:00
archetypes feat: add archetypes (#145) 2021-02-13 15:55:56 +01:00
assets feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
data feat: add data/external.yaml (#140) 2021-02-12 13:21:43 +01:00
exampleSite feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
i18n feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
images
layouts feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
resources/_gen/assets/scss/scss release: 2.3.0 2021-03-27 23:39:29 +01:00
LICENSE
netlify.toml ci: upgrade Hugo version to 0.79.0 (#56) 2020-12-04 16:28:42 +01:00
README.md feat: Table of Contents (#232) 2021-06-21 18:44:54 +02:00
theme.toml Bump required Hugo version to 0.78.0 2020-12-23 19:17:17 +01:00

Stack

Hugo Theme Stack

Card-style Hugo theme designed for bloggers.

Demo

Example Site

Netlify Status

Documentation & more information

Documentation | 中文文档

Introduction

Stack is a simple card-style Hugo theme designed for bloggers, some of its features are:

  • Responsive images support
  • Lazy load images
  • Dark mode
  • Local search
  • PhotoSwipe integration
  • Archive page template
  • Full native JavaScript, no jQuery or any other frameworks are used
  • No CSS framework, keep it simple and minimal
  • Properly cropped thumbnails
  • Subsection support
  • Table of contents

Requirements

It's necessary to use Hugo ≥ 0.78.0.

Use Hugo Extended version (recommended) if you want to:

  • Use the latest feature/fix from master branch
  • Edit SCSS files

Compiled CSS are updated once per release.

Installation

Clone / Download this repository to theme folder, and edit your site config following exampleSite/config.toml.

Check documentation for more details.

Licensed under the GNU General Public License v3.0

Please do not remove the "Theme Stack designed by Jimmy" text and link.

If you want to port this theme to another blogging platform, please let me know🙏.

Sponsoring

If you like this theme, give it a star, and consider supporting its development:

ko-fi

Your support is greatly appreciated :)

Thanks to