You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,7 +30,7 @@ A fast, lightweight, and modern [Zola](https://getzola.org) theme utilizing [abr
30
30
31
31
Maintenance of this project is made possible by all the <ahref="https://github.com/Jieiku/abridge/graphs/contributors">contributors</a> and <ahref="https://github.com/sponsors/Jieiku">sponsors</a>. If you'd like to sponsor this project and have your avatar or company logo appear below <ahref="https://github.com/sponsors/Jieiku">click here</a>. 💖
Copy file name to clipboardExpand all lines: docs/content/themes/anemone/index.md
+27-19
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@
3
3
title = "anemone"
4
4
description = "A minimalist Zola theme that prioritizes clean CSS and avoids heavy JavaScript. Enjoy a seamless user experience with lightning-fast load times. Let your content take center stage in a clutter-free, elegant design that enhances readability. Responsive and efficient, anemone brings focus to your ideas."
This release brings several improvements and enhancements, focusing mainly on optimizing performance and user experience. Here's a summary of the key changes:
54
+
55
+
-**suCSS Integration:** The core CSS now leverages the lightweight [suCSS framework](https://speyll.github.io/suCSS/) made by yours truly, providing better maintainability, robustness, and scalability. With suCSS, the theme should maintain consistent appearance across different browsers.
56
+
57
+
-**Enhanced Theme Toggle:** The dark and light theme toggle has been revamped for more consistency. Now, the website respects the user's system-wide theme settings, ensuring a seamless experience. Additionally, the toggle retains the selected theme for future visits, offering improved usability.
58
+
59
+
-**Smooth Transition and Sound Effect:** Enjoy a smoother transition between the dark and light mode accompanied by a subtle sound effect. Rest assured, the added sound effect incurs minimal performance overhead, with the file size being just 1kb.
60
+
61
+
-**Class Names and Shortcodes Update:** Some class names and shortcodes have been modified for better organization and clarity. I apologize for any inconvenience this may cause.
62
+
63
+
-**Slight change in Color Choice:** Some dark mode colors have been changed for the sake of readability, still using [veqev](https://github.com/Speyll/veqev).
64
+
65
+
66
+
## Options
51
67
52
68
Anemone provides various options to customize your website:
53
69
@@ -95,13 +111,13 @@ header_nav = [
95
111
]
96
112
```
97
113
98
-
#### Default Theme
114
+
#### Add Table of Contents (TOC) to Pages
99
115
100
-
To configure the default theme, simply utilize the `default_theme` variable and set it to either `light` or `dark`:
116
+
In a page's frontmatter, set `extra.toc`to `true`:
101
117
102
118
```toml
103
119
[extra]
104
-
default_theme = "light"
120
+
toc = true
105
121
```
106
122
107
123
#### Display Author Name in Blog Posts
@@ -121,20 +137,12 @@ Add a webring with a shortcode:
0 commit comments