暫無描述

Steven Engler 6d547d6ddf Fixed overlay highlighting on iOS safari 6 月之前
.github 0c6a8aa915 Added CI test 9 月之前
archetypes 1522656f46 Initial commit 5 年之前
exampleSite 8470eefd28 Fixed typo in comment 7 月之前
layouts f546ccd6ff Improved formatting in browser "reader view" 7 月之前
static 6d547d6ddf Fixed overlay highlighting on iOS safari 6 月之前
.gitignore 1522656f46 Initial commit 5 年之前
LICENSE.md 3cfb413adb Added example site 2 年之前
README.md 3357424175 Updated README 7 月之前
screenshot.png e9510fda76 Added example screenshot to README 5 年之前
theme.toml 1522656f46 Initial commit 5 年之前

README.md

No-JS Hugo Theme

A minimal, responsive, and privacy-friendly Hugo theme that does not require the client to enable JavaScript.

Many Hugo themes (and websites in general) don't render properly or even become unreadable when clients choose not to enable JavaScript. This theme is designed to work well if the client does not have JavaScript enabled. It is designed for both desktop and mobile browsers. All modern browsers (Chromium, Firefox, and Safari) are supported. The theme does not load any external third-party resources.

See the example site.

Screenshot

The theme works well with the Tor Browser at all security levels. Tor Browser does not support fallbacks for SVG images, so you may want to rasterize the theme's svg images as jpg/png/webp versions so that they display on the "safest" security level.

Some features are not possible without JavaScript. These features can be enabled in the site config file and will never decrease the quality of the website.

Additional JavaScript features:

  • light/dark theme switcher