mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 07:24:31 +00:00
Replace the GitHub Contents API tree-walk with a flat manifest approach. template-manifest.json lists every file and empty directory in the starter template; download_template() fetches the manifest then pulls each file directly as a raw URL, sidestepping git API rate limits and making the template hostable from any HTTP source. - GITHUB_CONTENTS_API / _github_get / _download_tree removed - TEMPLATE_BASE_URL + TEMPLATE_MANIFEST constants added - _http_get() replaces _github_get() (generic, no GitHub headers) - download_template() accepts optional base_url for custom sources - app/template-manifest.json added (v0.4, 35 files, 2 empty dirs) - Generated files (manifest.json, service-worker.js, search.json) excluded from manifest — they belong to mdcms build output, not the starter template https://claude.ai/code/session_01Ai8xRvmrzdhuTKiRQ2fnn9 |
||
|---|---|---|
| .. | ||
| assets | ||
| pages | ||
| posts | ||
| 404.html | ||
| config.yml | ||
| index.html | ||
| manifest.json | ||
| nav.yml | ||
| search.json | ||
| service-worker.js | ||
| template-manifest.json | ||
| theme.yml | ||