Go to file
Simon Guest 955bb8dd7f
feat(shortcodes): add quote shortcode, and example (#414)
* Add quote shortcode, and example

* Use trim to improve whitespace

* Allow for quote with neither author nor source

* Format code and move quote.scss to article.scss

This style is only used on the article page, so it makes more sense to have it there.

Co-authored-by: Jimmy Cai <github@jimmycai.com>
2022-06-08 17:59:23 +02:00
.devcontainer chore: add Github Codespace config 2021-10-23 06:51:56 +00:00
.github chore: add Github link to funding.yml 2022-03-04 09:39:27 +01:00
archetypes feat: add archetypes (#145) 2021-02-13 15:55:56 +01:00
assets feat(shortcodes): add quote shortcode, and example (#414) 2022-06-08 17:59:23 +02:00
data chore: update dependencies (KaTeX, node-vibrant) (#477) 2022-06-05 18:50:27 +02:00
exampleSite feat(shortcodes): add quote shortcode, and example (#414) 2022-06-08 17:59:23 +02:00
i18n feat(i18n): add missing translation (it, nl) for categories (#614) 2022-06-05 19:01:31 +02:00
images doc: add screenshots 2020-09-13 12:24:07 +02:00
layouts feat(shortcodes): add quote shortcode, and example (#414) 2022-06-08 17:59:23 +02:00
.gitignore feat(article): Scrollspy for the table of contents (#425) 2022-01-22 10:35:08 +01:00
config.yaml feat: new left sidebar layout (#524) 2022-03-04 10:24:21 +01:00
debug.sh chore: add Github Codespace config 2021-10-23 06:51:56 +00:00
go.mod chore: add go.mod again 2022-03-05 17:35:18 +00:00
LICENSE 🎉 Initial commit 2020-08-22 13:20:08 +02:00
netlify.toml feat(menu): support open an entry in new tab (#294) 2021-08-08 17:39:33 +02:00
README.md chore(README): fix a typo (#543) 2022-03-20 12:42:28 +01:00
theme.toml feat: add theme config.yaml (#393) 2021-10-16 09:53:44 +02:00

Stack

Hugo Theme Stack

Card-style Hugo theme designed for bloggers.

Quickstart

Use this template: CaiJimmy/hugo-theme-stack-starter

Demo

Example Site

Netlify Status

Documentation

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
  • Multilingual mode and RTL support

Requirements

It's necessary to use Hugo Extended ≥ 0.87.0.

Installation

  • Route 1: Clone / Download this repository to themes folder
  • Route 2: Turn your site into a hugo module and add this theme as a module dependency

Edit your site config following exampleSite/config.yaml.

Note: Remove config.toml if there is one in the site folder.

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

Project Description Licence
PhotoSwipe For the lightbox effect MIT
Normalize.css - MIT
Node Vibrant To extract the color from images MIT
Tabler icons Default menu icons MIT
jonsuh/hamburgers Hamburger icon of menu MIT
lepture/yue.css Part of it is used for styling article content MIT
Typlog Where the markdown gallery syntax is borrowed from The author gave me the permission
Pure CSS implementation of Google Photos / 500px image layout Used for image gallery -

References

Some references that I took while building this theme:

Project Licence
artchen/hexo-theme-element MIT
MunifTanjim/minimo MIT