letsblaze

Features

On this page

No JavaScript

letsblaze ships zero client-side JavaScript. All interactive behaviour uses native HTML elements (<details>, <summary>) or CSS (prefers-color-scheme, aria-current).

No external resources

No external stylesheets, no web fonts, no CDN calls. All styles are inline. Every page is self-contained.

Dark mode

Dark mode is automatic: it follows the system prefers-color-scheme preference. No toggle, no JavaScript, no cookie. It just works.

Syntax highlighting

Code blocks are highlighted at build time using Hugo’s Chroma highlighter with inline styles. The default style is monochrome. See Configuration for how to change it.

Math

LaTeX math renders to native MathML at build time using Hugo’s transform.ToMath (KaTeX, run inside Hugo). The browser renders the <math> markup itself, so no JavaScript and no external stylesheet are ever loaded, consistent with the theme’s no-external-resources rule. Math is opt-in: enable the passthrough extension in your hugo.toml as shown in Configuration. Display math uses $$...$$ or \[...\]; inline math uses \(...\).

RSS

Hugo generates RSS feeds automatically:

The feed link is autodiscoverable in <head> and linked in the footer.

Sitemap

A sitemap is generated automatically at /sitemap.xml. With enableGitInfo = true, lastmod is populated from git commit dates.

Accessibility

SEO

Images

The imageMode param controls how Markdown images are rendered. Three modes are supported: embed (default), link-same-tab, and link-new-tab. Set it site-wide in hugo.toml or per-page in front matter. A standalone image becomes a <figure> when the site sets wrapStandAloneImageWithinParagraph = false. In embed mode, the first image on a page uses loading="eager" fetchpriority="high" for LCP; subsequent images use loading="lazy". See Working with Images for full details.

Shortcodes

ShortcodeOutputExample
{{< sub >}}text{{< /sub >}}SubscriptH2 O
{{< sup >}}text{{< /sup >}}Superscriptx2
{{< mark >}}text{{< /mark >}}Highlighted textimportant
{{< abbr title="..." >}}text{{< /abbr >}}AbbreviationHTML