Gallery shortcode
Leyline ships a gallery shortcode that renders photos in a masonry column layout. Clicking any thumbnail opens a fullscreen lightbox with keyboard navigation. From a page bundle …
Everything I've written, freshest first.
Leyline ships a gallery shortcode that renders photos in a masonry column layout. Clicking any thumbnail opens a fullscreen lightbox with keyboard navigation. From a page bundle …
Leyline is a minimal Hugo theme aimed at writing. It does a few things well: Sticky header with a logo, menu, and quick controls. A light/dark switcher that respects your OS …
The tier shortcode adds compact, colour-coded ratings inside regular prose. Use a positional value such as S or the named form B-. Every supported rating: S A+ A A- B+ B B- …
The set shortcode renders Magic expansion symbols inline using a Keyrune set code. It works naturally inside prose: Final Fantasy, Tarkir: Dragonstorm, and Secrets of Strixhaven. …
Three inline shortcodes help track MTG Arena resources: gems, gold coins, and draft tokens. Each accepts a positive or negative integer; negative values render in red. Spent -1,500 …
The season shortcode creates a monthly season summary with ranks for both formats and a breakdown of gems and draft tokens: earned, bought, spent, and ending balance. Rows with …
The mastery shortcode tracks progress through a set’s mastery levels. The pass parameter flags whether the Mastery Pass was purchased, and max defaults to 90 if omitted. MKM …
Deck previews are loaded from data/decks/*.yaml and enriched with Scryfall data at build time. This keeps long decklists readable in Markdown while still rendering a useful visual …
The draft shortcode turns a single Arena run into a scan-friendly block: set, colors, win rate, record, gem result, and optional external links. MKM Draft 1 Matches 4-3 Winrate 57% …
The match shortcode gives tournament reports a tidy round summary with player names, deck names, and a result. Round 1 2-1 MeBoros Burn AndrésUR Murktide {{< match …
Use the combo shortcode for a compact group of related cards. The cards sit like a fanned hand; hover one and the rest spread aside. {{< combo "Splinter Twin" …
The cardname shortcode keeps an article flowing while still giving readers a quick card reference on hover. The classic Brainstorm sees play in cube, legacy, and pauper alike. The …
Use the card shortcode when a post needs to stop and show one card clearly. It accepts a Magic card name and renders a preview with the card image. Lightning Bolt Instant {{< …
The mana shortcode renders Magic mana costs inline with surrounding prose, so deck techs and draft notes can talk about costs without reaching for images. Hover the symbols below …
Most themes I’ve used arrived as finished artifacts. Polished, pre-decided. This time I wanted to do it differently: think out loud, pick at the trade-offs, and keep the …
The first version of Leyline’s mobile menu had two icons stacked in the button: a hamburger and an X. CSS swapped them based on whether the menu was open. It worked, but it …
Themes used to be monoliths. You picked one, you got everything it shipped, and any deviation meant forking. Hugo Modules change that: a theme is a Go module, and you can compose …
A few short notes on the type choices in this theme. One family, three weights Leyline ships with Inter at weights 400, 500, and 700. That’s enough to support body text, UI …
For years, “a lighter version of the accent colour” meant baking in a second hex value. Now there’s color-mix(). Leyline’s tag chips use this pattern: on …
The theme switcher in Leyline follows a simple rule: on the first visit, match the user’s OS preference. Once they tap the toggle, lock to their choice via localStorage. This …
↑↓ navigate · ↵ select · esc close