asw/site/hugo.toml
Ludo 8ab5787e68
feat: CMS-editable nav, categories taxonomy, site settings
- Move top nav from hugo.toml menus to data/nav.yml (CMS-editable)
- Add categories taxonomy alongside tags
- Add Decap CMS settings collection for nav management
- Add categories field to articles and essays in CMS config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 18:06:02 +02:00

66 lines
2.2 KiB
TOML

baseURL = 'https://asw.trentuna.com/'
languageCode = 'en'
title = 'ASW — Agentic Semantic Web'
[params]
description = "Agentic Semantic Web — semantic HTML, data-* attributes, and CSS-only styling for the agentic era."
[taxonomies]
tag = "tags"
category = "categories"
# ── Navigation ──────────────────────────────────────────────────────
# Top nav is driven by data/nav.yml (editable via Decap CMS).
# Docs sidebar is auto-generated from content/docs/ subdirectories.
# ── Docs sidebar ─────────────────────────────────────────────────────
# Auto-generated from content/docs/ subdirectories.
# Each subdir with _index.md becomes an h3 section header.
# Pages within are listed by weight. No manual menu entries needed.
# To add a new section: mkdir content/docs/newsection/ + _index.md
# To add a new page: create .md in the right subdir with weight.
# ── Markup settings ───────────────────────────────────────────────────
[markup.goldmark.renderer]
unsafe = true # allow inline HTML in markdown (<mark>, <time>, etc.)
[markup.tableOfContents]
startLevel = 2
endLevel = 3
ordered = false
[markup.highlight]
noClasses = true
codeFences = true
guessSyntax = true
[build.buildStats]
enable = true
# ── Module mounts ────────────────────────────────────────────────────
# Map repo-level directories into Hugo's expected structure.
# Paths are relative to this file's directory (site/).
[[module.mounts]]
source = "content"
target = "content"
[[module.mounts]]
source = "layouts"
target = "layouts"
[[module.mounts]]
source = "static"
target = "static"
[[module.mounts]]
source = "../dist"
target = "static"
[[module.mounts]]
source = "../src/lab"
target = "static/lab"
[[module.mounts]]
source = "../examples"
target = "static/examples"