feat: add KaTeX support

This commit is contained in:
welpo 2023-04-15 19:55:57 +02:00
parent 7a1bb1d04c
commit f9335b3fa4
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
66 changed files with 35 additions and 5 deletions

View file

@ -1,14 +1,17 @@
+++
title = "Almost no JavaScript"
date = 2023-01-06
updated = = 2023-04-15
description = "JavaScript is only used when HTML and CSS aren't enough."
[taxonomies]
tags = ["showcase"]
+++
# Javascript?
# JavaScript?
This theme has almost no JavaScript. It includes a single ~950 byte `.js` file with the logic for the light/dark mode switch.
This theme has almost no JavaScript. It includes a ~950 byte `.js` file with the logic for the light/dark mode switch which can be disabled by setting `theme_switcher = false` in the `config.toml` file.
Other than that, it's a fast site with html and css. Just the way (most of) the web should be :-)
KaTex support, which requires JavaScript, can be activated for specific posts.
Other than that, it's a fast site with HTML and CSS. Just the way (most of) the web should be :-)