Port homepage, posts section, shortcodes; update hugo.toml menus
- content/_index.md: homepage with site description and callout examples - content/posts/asw-vocabulary.md: ASW data-* attribute vocabulary reference - content/posts/getting-started.md: ASW-Hugo setup guide (updated URLs) - hugo.toml: add params, taxonomies, menus (main + docs sidebar), ToC settings - layouts/partials/nav.html: dynamic Hugo menu rendering (was hardcoded) - layouts/shortcodes/callout.html, wikilink.html: ported from asw-hugo theme Closes: asw#17, asw#13, asw#11, asw#16 28 pages build clean, deploy confirmed at port 8000.
This commit is contained in:
parent
4f2b0a67e1
commit
267a7b1bc8
8 changed files with 353 additions and 7 deletions
139
hugo.toml
139
hugo.toml
|
|
@ -2,13 +2,146 @@ 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"
|
||||
|
||||
# ── Navigation menus ──────────────────────────────────────────────────
|
||||
[[menus.main]]
|
||||
name = "Home"
|
||||
url = "/"
|
||||
weight = 1
|
||||
|
||||
[[menus.main]]
|
||||
name = "Docs"
|
||||
url = "/docs/"
|
||||
weight = 2
|
||||
|
||||
[[menus.main]]
|
||||
name = "Vault"
|
||||
url = "/vault/"
|
||||
weight = 3
|
||||
|
||||
[[menus.main]]
|
||||
name = "Papers"
|
||||
url = "/papers/"
|
||||
weight = 4
|
||||
|
||||
[[menus.main]]
|
||||
name = "Posts"
|
||||
url = "/posts/"
|
||||
weight = 5
|
||||
|
||||
[[menus.main]]
|
||||
name = "Tags"
|
||||
url = "/tags/"
|
||||
weight = 6
|
||||
|
||||
# ── Docs sidebar menu ─────────────────────────────────────────────────
|
||||
# Parent entries (identifier set, no url) render as <small> section labels.
|
||||
# Child entries (parent set) render as sidebar nav links.
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Getting Started"
|
||||
identifier = "docs-getting-started"
|
||||
weight = 10
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Introduction"
|
||||
url = "/docs/introduction/"
|
||||
parent = "docs-getting-started"
|
||||
weight = 11
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Core"
|
||||
identifier = "docs-core"
|
||||
weight = 20
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Reset"
|
||||
url = "/docs/reset/"
|
||||
parent = "docs-core"
|
||||
weight = 21
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Semantic HTML"
|
||||
url = "/docs/on-semantic-html/"
|
||||
parent = "docs-core"
|
||||
weight = 22
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Data Attributes"
|
||||
url = "/docs/data-attributes/"
|
||||
parent = "docs-core"
|
||||
weight = 23
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Components"
|
||||
identifier = "docs-components"
|
||||
weight = 30
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Layouts"
|
||||
url = "/docs/layouts/"
|
||||
parent = "docs-components"
|
||||
weight = 31
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Components"
|
||||
url = "/docs/components/"
|
||||
parent = "docs-components"
|
||||
weight = 32
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Accordion & Dialog"
|
||||
url = "/docs/accordion-dialog/"
|
||||
parent = "docs-components"
|
||||
weight = 33
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Navigation"
|
||||
url = "/docs/navigation/"
|
||||
parent = "docs-components"
|
||||
weight = 34
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Reference"
|
||||
identifier = "docs-reference"
|
||||
weight = 40
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Charts"
|
||||
url = "/docs/charts/"
|
||||
parent = "docs-reference"
|
||||
weight = 41
|
||||
|
||||
[[menus.docs]]
|
||||
name = "Syntax Highlighting"
|
||||
url = "/docs/chroma/"
|
||||
parent = "docs-reference"
|
||||
weight = 42
|
||||
|
||||
[[menus.docs]]
|
||||
name = "ASW Vocabulary"
|
||||
url = "/posts/asw-vocabulary/"
|
||||
parent = "docs-reference"
|
||||
weight = 43
|
||||
|
||||
# ── 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
|
||||
noClasses = true
|
||||
codeFences = true
|
||||
guessSyntax = true
|
||||
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
# build pipeline wired
|
||||
# e2e test 15:37:53Z
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue