Posts

Writing Math with LaTeX

Beacon supports LaTeX math. Equations are typeset at build time with KaTeX (via Hugo’s transform.ToMath), so no JavaScript is shipped to readers — the KaTeX stylesheet is only included on pages …

Shortcodes: Math, Music, and Sponsor

Beacon ships a few shortcodes for richer posts. Everything below renders from a short tag in the Markdown — no manual HTML. Math (LaTeX) Beacon typesets LaTeX with KaTeX at build time — the equations …

Theme Screenshots & Image Preview

Every image in a post is click-to-zoom. Click (or focus and press Enter on) any picture below to open it full-screen; press Esc or click the backdrop to close. When a post has several images, use the …

Syntax Highlighting Showcase

This post demonstrates how Beacon highlights fenced code blocks. Every block below has a one-click copy button, and the colors adapt to light and dark mode (GitHub in light, GitHub Dark in dark). …

Building a Fast Static Site with Hugo

Static sites are fast by default, but it is surprisingly easy to give that speed away. Here are the habits I keep coming back to. Keep the asset pipeline lean Hugo Pipes can bundle, minify, and …