📝 docs: update for Hyvor Talk support

This commit is contained in:
welpo 2023-07-17 20:16:31 +02:00
parent 7924e8206c
commit 31fee59eb2
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
3 changed files with 6 additions and 6 deletions

View file

@ -17,13 +17,13 @@ This theme has no mandatory JavaScript. Optionally, it can load a minimal amount
These two settings can be applied in the `[extra]` section of your `config.toml` file.
- [**Comments**](@/blog/comments.md). giscus (2 KB) or utterances (1 KB) can be globally enabled by setting `enabled_for_all_posts = true` in the right section of your `config.toml` (`[extra.giscus]` or `[extra.utterances]`).
- [**Comments**](@/blog/comments.md). giscus (2 KB), utterances (1 KB) or Hyvor Talk (~800 bytes) can be globally enabled by setting `enabled_for_all_posts = true` in the right section of your `config.toml` (i.e. `[extra.giscus]`, `[extra.utterances]` or `[extra.hyvortalk]`).
### Page-specific settings
The following settings can be enabled on specific posts by setting certain variables in the `[extra]` section of the post's front matter.
- [**KaTeX** support](@/blog/markdown.md#katex) (274 KB) can be enabled it by setting `katex = true`.
- [**Comments**](@/blog/comments.md) can be enabled on individual posts by setting `utterances = true` or `giscus = true`.
- [**Comments**](@/blog/comments.md) can be enabled on individual posts by setting the name of the system `= true` (e.g. `hyvortalk = true`).
Other than that, it's a fast theme with HTML and CSS which works with JavaScript disabled. Just the way (most of) the web should be :-)