mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 21:02:09 +00:00
1e44855647
Pages without highlighted code blocks don't need to load syntax.css; for those that do, simply declare "highlight: true" in the front matter to load the stylesheet separately. |
||
---|---|---|
.. | ||
archetypes | ||
assets/css | ||
layouts | ||
.gitignore | ||
LICENSE | ||
README.md | ||
theme.toml |
Etch
Etch is a simple, responsive theme for Hugo with a focus on writing. A live demo is available at https://themes.gohugo.io/theme/etch/.
Features:
- Homepage with list of posts.
- Support for pages.
- Responsive design for optimized mobile experience.
- Syntax highlighting with customizable theme.
- Dark theme which automatically adjusts based on users' setting (example).
- No external dependencies, no JavaScript, no web fonts.
Installation
To install etch
, download the repository into the themes
folder in the root of your site.
$ git submodule add https://github.com/LukasJoswiak/etch.git themes/etch
Then, use the theme to generate your site.
$ hugo server -t etch
Use the sample configuration as a starting point. See the configuration page for more info.
Read the wiki to learn about more options.