You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
603 B
Markdown

2 years ago
+++
title = "Almost no JavaScript"
date = 2023-01-06
updated = 2023-04-28
description = "JavaScript is only used when HTML and CSS aren't enough."
2 years ago
[taxonomies]
tags = ["showcase"]
2 years ago
+++
# JavaScript?
2 years ago
This theme has almost no JavaScript. It includes ~900 bytes of `.js` with the logic for the light/dark mode switch, which can be disabled by setting `theme_switcher = false` in the `config.toml` file.
2 years ago
KaTex support, which requires loading a 274 KB JavaScript file, 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 :-)