blob: 172d47da6f93a536912dba2e2755d735eb7a61e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Tastefejl, a Hugo theme.
Tastefejl is a fork of the [Typo] Hugo theme, with the following changes:
* Replaced the JavaScript theme switching code with a CSS media query.
* Added VSCode syntax highlighting CSS (also the dark theme which Chroma doesn't include).
You need to configure `markup.highlight.noClasses = false` in your `hugo.toml`.
* The home page embeds `content/home.md` rather than `homeIntroContent` from your `hugo.toml`
because Markdown text should be in `.md` files.
* Removed the default favicon because no favicon is better than a favicon that has nothing to do with your website.
* Replaced the default footer saying *Powered by Hugo and tomfran/typo* with `<meta name=generator>` tags because nobody cares.
* Removed the render image hook that broke Markdown attributes for images (can be enabled with `markup.goldmark.parser.attribute.block = true`).
* Fixed blockquote styling (headings in blockquotes were touching the blockquote border).
* Removed the copy buttons for code blocks because they could obscure the code
and also behaved wrongly on horizontal scrolling.
* Removed [Simple Icons] because I don't want to plaster brands on my website and at one point a 50MB .html file was committed
(I filtered the git history to reduce the size of the repository.)
[Typo]: https://github.com/tomfran/typo
[Simple Icons]: https://simpleicons.org/
## Wiki
The [Wiki](./wiki/) is the place to find instructions on how to [setup](./wiki/setup.md) the theme and an overview of the available [features](./wiki/features).
Some of the most relevant are: heading auto-numbering, dark mode, color palettes, dark and light images, comments, etc.
|