1-- A minimal blog template: header + list of posts + post template.
13 shadow 0 1px 3px rgba(0,0,0,0.05),
14 transition all 0.15s ease
17@let post $title $date $excerpt
18 @article [$card, spacing 8]
19 @text [bold, size 20, color $ink] $title
20 @text [size 13, color $muted] $date
21 @paragraph [color $ink, line-height 1.6]
23 @link [color $primary, bold] /posts/$title
26@column [max-width 720, center-x, padding 40, spacing 32]
28 @text [bold, size 36, color $ink] My Blog
29 @text [color $muted] Thoughts on static HTML, layout, and nice defaults.
35 excerpt "A short introduction to how I think about static site generators."
38 title Why flexbox is enough,
40 excerpt "Most layouts don't need CSS Grid. A walk through the cases where flexbox wins."
43 title Tight feedback loops,
45 excerpt "Dev-loop ergonomics beat feature counts. Here's the setup I use."
48 @footer [padding-y 24, text-align center, color $muted, size 13]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list