refactor: restructure repo into src/ site/ dist/ vendor/ packs/
Separate framework source from website: - src/layers/ + src/main.css: CSS framework source (was assets/css/) - site/: Hugo website (content/, layouts/, hugo.toml) - dist/: built output (asw.css, asw.min.css) - vendor/open-props/: vendored dependency with version tracking - Hugo module mounts: dist/ → static, site runs from site/ Build: hugo --source site/ passes (105 pages). npm run build produces dist/asw.css. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5bf233348d
commit
910b0e42a6
71 changed files with 76 additions and 3 deletions
147
hugo.toml
147
hugo.toml
|
|
@ -1,147 +0,0 @@
|
|||
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 = "Notes"
|
||||
url = "/notes/"
|
||||
weight = 3
|
||||
|
||||
[[menus.main]]
|
||||
name = "Essays"
|
||||
url = "/essays/"
|
||||
weight = 4
|
||||
|
||||
[[menus.main]]
|
||||
name = "Articles"
|
||||
url = "/articles/"
|
||||
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 = "/articles/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
|
||||
codeFences = true
|
||||
guessSyntax = true
|
||||
|
||||
[build.buildStats]
|
||||
enable = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue