jvm-bloggers.com

Hugo sections can have custom list layouts (opens in new tab)

<p>You can override a section&rsquo;s list template by placing a <code>list.html</code> under <code>layouts/&lt;section-name&gt;/</code>. Hugo will pick it up automatically, no frontmatter needed.</p> <p>This makes it easy to create compact, title-only indexes for sections like TIL — different from the default card-style post listing.</p>

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help