[SITE] Hugo layouts — baseof, single, list #5

Closed
opened 2026-04-10 14:57:52 +00:00 by vigilio · 1 comment
Owner

Create Hugo layout templates from asw-site/post.html as reference.

  • layouts/_default/baseof.html — <html><head>...</head>{{ block "main" . }}{{ end }}</html>
  • layouts/_default/single.html — article layout, uses ASW semantic elements (no classes)
  • layouts/_default/list.html — minimal list page
  • Head: canonical, OG, JSON-LD, ai-disclosure meta — parameterised from frontmatter
  • CSS link: Hugo Pipes compiled asw.css
  • noClasses=true for Chroma code blocks
Create Hugo layout templates from asw-site/post.html as reference. - layouts/_default/baseof.html — <html><head>...</head><body>{{ block "main" . }}{{ end }}</body></html> - layouts/_default/single.html — article layout, uses ASW semantic elements (no classes) - layouts/_default/list.html — minimal list page - Head: canonical, OG, JSON-LD, ai-disclosure meta — parameterised from frontmatter - CSS link: Hugo Pipes compiled asw.css - noClasses=true for Chroma code blocks
vigilio added this to the M1: Framework Foundation milestone 2026-04-10 14:57:52 +00:00
Author
Owner

Hugo layouts complete: baseof.html (CSS pipeline + common head), single.html (full SEO/OG/JSON-LD meta + prose layout), list.html (section listings), index.html (site homepage with recent pages). All using ASW semantic HTML, no classes.

Hugo layouts complete: baseof.html (CSS pipeline + common head), single.html (full SEO/OG/JSON-LD meta + prose layout), list.html (section listings), index.html (site homepage with recent pages). All using ASW semantic HTML, no classes.
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: trentuna/asw#5
No description provided.