Everything the theme can render, on one page.

Alerts#

Tip

GitHub-style alerts become Bootstrap alerts.

Custom title

Works with NOTE, TIP, IMPORTANT, WARNING and CAUTION.

Shortcode version

The alert shortcode takes Markdown and code:

hugo server

Tabs#

brew install hugo
winget install Hugo.Hugo.Extended

Icons#

  • content/
  • GitHub

Math#

Inline eiπ+1=0e^{i\pi} + 1 = 0 , and a block:

f(n)=g(n)+h(n) f(n) = g(n) + h(n)

Mermaid#

graph LR
  Markdown --> Hugo --> HTML

Code#

public static T Add<T>(T a, T b) where T : INumber<T> => a + b;

Inline extras#

Marked, inserted, H2O, x2, a badge New, an emoji 🚀, and a footnote.1

Chart#

Long code (line numbers, copy button)#

line 1
line 2
line 3
line 4
line 5
line 6
line 7
line 8
line 9
line 10
line 11
line 12
line 13
line 14
line 15
line 16
line 17
line 18
line 19
line 20
line 21
line 22
line 23
line 24
line 25
line 26
line 27
line 28
line 29
line 30
line 31
line 32

Images#

A standalone image becomes a figure; the caption comes from its title or alt text. Click to open the lightbox.

A pixel heart
Standalone images get a caption

HugoThe world's fastest framework for building websites GoSSG PrismLightweight syntax highlighting JavaScript

Consecutive cards form an equal-size, two-column grid; tags is a comma-separated list.

Collapsible block#

Click to expand

The inside is regular Markdown: bold, code, lists and other shortcodes all work.

  • one
  • two

Music player#

Embed a NetEase Cloud Music song, album or playlist (artist pages can’t be embedded):

{{< netease 1234567890 >}}
{{< netease id="1234567" type="album" >}}

Music player (APlayer)#

A playlist of NetEase Cloud Music songs, streamed from NetEase’s own outer link; titles and covers come from data/music.toml. The cover turns like a record while a song plays.

{{< music ids="1402719608, 1431168150" >}}
{{< music src="/audio/song.mp3" title="Song" artist="Me" cover="/img/cover.jpg" >}}

itch.io game card#

Same size and layout as itch.io’s embed widget, drawn by the theme from data/itch.toml, so the page makes no requests to itch.io:

{{< itch url="https://lazy-v.itch.io/catmario-gb" >}}
CatMario-GBby Lazy_VGB version of CatMario. Play on itch.io
{{< linkcard url="https://gohugo.io/" title="Hugo" desc="The world's fastest framework for building websites." >}}
HugoThe world's fastest framework for building websites. gohugo.io

Task list#

  • Port the theme to Hugo
  • Pixel fonts for code too
  • Write more posts

  1. Footnotes work out of the box. ↩︎

⬆︎TOP