mirror of
https://github.com/kbenestad/mdcms.git
synced 2026-06-18 15:24:32 +00:00
929 B
929 B
MD-CMS — Quickstart
A lightweight Markdown-based CMS. Content is written as plain Markdown with YAML frontmatter; configuration lives in website/config.yml; navigation and search are generated by mdcms.py.
First run
- Put content into
website/pages/andwebsite/posts/. - Edit
website/config.ymlwith your site name and preferences. - From this directory, run
python3 mdcms.py. - In the menu, pick option 7 to register the website path (point it at the
website/folder). - Pick option 3 to build
nav.ymlandsearch.json. - Pick option 8 to start a local webserver and preview the site.
File layout
mdcms.py
quickstart.md
website/
assets/
fonts/
images/
pages/
home.md
posts/
index.html
config.yml
nav.yml (generated)
search.json (generated)
Licence
Apache 2.0. See docs.benestad.net for documentation.