mdcms/app/config.yml
Claude 24670a66dd
Rebuild mdcms as proper CLI tool (v0.3)
- Replace interactive TUI with click-based subcommands:
  register, delete, view, build
- build accepts NAME (registry), --path, or CWD for GitHub Actions use
- Switch to PyYAML for frontmatter and nav.yml parsing
- Add pyproject.toml with click + PyYAML deps and mdcms entry point
- Add v0.3 version marker to app/config.yml and app/index.html
- Registry moves to ~/.config/mdcms/sites.json (XDG-compliant)
- Project root is now the directory containing index.html (no website/ subdir)
- register auto-downloads template from GitHub if no site found

https://claude.ai/code/session_01MqEqGhP1guGx5VuFsLaws2
2026-05-08 16:05:04 +00:00

51 lines
2.2 KiB
YAML

# mdcms v0.3 | DO NOT REMOVE THIS COMMENT
# MD-CMS v0.3 — Site configuration
#
# Only `sitename` and `navigation` are required. Uncomment and edit the rest
# as needed. See https://kbenestad.codeberg.page/md-cms for the full reference.
#
# LICENCE
# Copyright 2026 Kristian Benestad | kbenestad.codeberg.page
#
# Licensed under the Apache License, Version 2.0 (the "Licence");
# you may not use this file except in compliance with the Licence.
# You may obtain a copy of the Licence at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the Licence is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# ──────────────────────────────────
# Site identity
# ──────────────────────────────────
sitename: MD-CMS New Site
navigation: topbar # sidebar | topbar
# homepage: pages/home.md # override the default landing page
# sitedescription: A short description for meta tags
# logo: logo.svg # filename in assets/images/
# favicon: favicon.png
# footer: "© 2026 Your Name"
# ──────────────────────────────────
# Typography (optional)
# ──────────────────────────────────
# font-title: "Inter:700"
# font-body: Inter
# font-code: JetBrains Mono
# ──────────────────────────────────
# Layout (optional)
# ──────────────────────────────────
# main-width: 80em
# nav-width: 20em
# nav-position: left # left | right (sidebar mode)
# ──────────────────────────────────
# Features (optional)
# ──────────────────────────────────
# search: true
# default-theme: system # light | dark | system