No mandatory JavaScript
JavaScript is only used when HTML and CSS aren't enough. This theme has no mandatory JavaScript. Optionally, it can load a minimal amount to add some features that are impossible to achieve with HTML and CSS. Search. Enabled by setting a default language and The light/dark mode switch can be enabled by setting E-mail decoding (~400 bytes). To protect against spambots scraping your e-mail from your website, you can set The following settings can be specified for posts, sections and globally, following the hierarchy of To specify these settings: 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 :-) Globally enabled settings
build_search_index = true
on the main section of config.toml
. (~23KB of JavaScript)theme_switcher = true
in the [extra]
section of your config.toml
(~1KB of JavaScript).encode_plaintext_email = true
. If your site is on a public repository, for extra protection, consider setting your email
as a base64-encoded string1 directly. Settings with hierarchical override capability
page > section > config.toml
:katex = true
(274 KB). To render math without JS, check out MathML.mermaid = true
(~2.5 MB).copy_button = true
. (~700 bytes)code_block_name_links = true
. (~300 bytes)enable_cards_tag_filtering = true
.[extra]
section in your config.toml
file.[extra]
section in the front matter of the section’s _index.md
.[extra]
section of the post’s front matter. Settings that can be enabled globally or for individual posts
enabled_for_all_posts = true
in the right section of your config.toml
(i.e. [extra.giscus]
, [extra.utterances]
, [extra.hyvortalk]
or [extra.isso]
). To enable comments on individual posts, set the name of the system = true
(e.g. hyvortalk = true
) in the post’s front matter.