feat: legacy import — packs, examples, lab, themes, docs, lineage
Import from agentic-semantic-web/ into restructured repo: - 7 packs (apache, caddy, flask, hugo, nginx, pandoc, python) - shared error pages (403-503) - 17 lab experiments (boilerplate, charts, misc) - 31 example pages (charts, components, content, layout, vault) - 2 themes (garden, trentuna stub) - 4 docs (llms.txt, vocabulary, philosophy, agent-directive) - lineage.md (Pico/Open Props/Charts.css history) - Hugo mounts for lab/ and examples/ All agentic.css references updated to asw.css. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e9895cf90d
commit
86464f3e21
100 changed files with 14700 additions and 4 deletions
82
packs/hugo/admin/config.yml
Normal file
82
packs/hugo/admin/config.yml
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
# Decap CMS configuration for ASW-Hugo pack
|
||||
# Browser-based Markdown editing — no backend server required.
|
||||
#
|
||||
# Setup:
|
||||
# 1. Update `repo` below to your Forgejo repo path (owner/repo)
|
||||
# 2. Update `base_url` to your Forgejo instance URL
|
||||
# 3. Register an OAuth app in Forgejo: Settings → Applications → OAuth2 Apps
|
||||
# - Redirect URL: https://yoursite.com/admin/
|
||||
# 4. Deploy admin/ alongside your Hugo output
|
||||
# 5. Access at https://yoursite.com/admin/
|
||||
|
||||
backend:
|
||||
name: gitea # Forgejo is Gitea-compatible
|
||||
repo: trentuna/vault # ← CHANGE: your repo (owner/repo)
|
||||
branch: main
|
||||
base_url: https://trentuna.com # ← CHANGE: your Forgejo instance URL
|
||||
auth_endpoint: /api/v1/oauth2/
|
||||
|
||||
media_folder: static/images
|
||||
public_folder: /images
|
||||
|
||||
# Slug format for new posts
|
||||
slug:
|
||||
encoding: ascii
|
||||
clean_accents: true
|
||||
|
||||
collections:
|
||||
- name: posts
|
||||
label: Posts
|
||||
label_singular: Post
|
||||
folder: content/posts
|
||||
create: true
|
||||
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
|
||||
preview_path: "posts/{{slug}}/"
|
||||
fields:
|
||||
- label: Title
|
||||
name: title
|
||||
widget: string
|
||||
- label: Date
|
||||
name: date
|
||||
widget: datetime
|
||||
default: ""
|
||||
date_format: "YYYY-MM-DD"
|
||||
time_format: "HH:mm:ss"
|
||||
format: "YYYY-MM-DDTHH:mm:ssZ"
|
||||
- label: Description
|
||||
name: description
|
||||
widget: string
|
||||
required: false
|
||||
hint: Short summary shown in list views
|
||||
- label: Tags
|
||||
name: tags
|
||||
widget: list
|
||||
required: false
|
||||
hint: Comma-separated tags
|
||||
- label: Draft
|
||||
name: draft
|
||||
widget: boolean
|
||||
default: true
|
||||
- label: Body
|
||||
name: body
|
||||
widget: markdown
|
||||
|
||||
- name: pages
|
||||
label: Pages
|
||||
label_singular: Page
|
||||
folder: content
|
||||
create: true
|
||||
filter:
|
||||
field: _type
|
||||
value: page
|
||||
fields:
|
||||
- label: Title
|
||||
name: title
|
||||
widget: string
|
||||
- label: Description
|
||||
name: description
|
||||
widget: string
|
||||
required: false
|
||||
- label: Body
|
||||
name: body
|
||||
widget: markdown
|
||||
Loading…
Add table
Add a link
Reference in a new issue