mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
Card-style Hugo theme designed for bloggers
Taking out the [data-scheme="dark"] from :root allows us to fix the precedence of CSS when the [data-scheme="dark"] is placed in the <html> tag. This is needed in order to make the dark styles accesible from the <html> elment, this will allow us to change the vertical scrollbar styles following the dark and light schemes. |
||
---|---|---|
.github | ||
archetypes | ||
assets | ||
data | ||
exampleSite | ||
i18n | ||
images | ||
layouts | ||
resources/_gen/assets/scss/scss | ||
LICENSE | ||
netlify.toml | ||
README.md | ||
theme.toml |
Hugo Theme Stack
Card-style Hugo theme designed for bloggers.
Demo
Documentation & more information
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
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.
Copyright
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:
Your support is greatly appreciated :)