A fenced block that names its language is colored at build time with chroma, so pages need no script. The markup matches pymdownx.highlight (div.highlight, Pygments class names), so MkDocs stylesheets work too, and hl_lines="2 4-5" marks lines. Blocks with no language, text, or a language chroma doesn't know come out exactly as before. The starter and the docs pack (1.5.0) carry the colors: hues mixed into the code's own text color, so they read on light and dark code blocks. Turn it off with markdown.highlight: false.
Your HotDog CMS site
hotdog-cms serve preview at http://127.0.0.1:8140, rebuilding as you save
hotdog-cms build write the finished site to public/
hotdog-cms check build, then look for broken links and forbidden strings
| Folder | What goes in it |
|---|---|
content/ |
Pages, as Markdown. about.md becomes /about/; a folder such as articles/ is a collection |
layouts/ |
Page shapes. base.html wraps every page; the others fill its main block |
partials/ |
Pieces layouts share: head, nav, footer |
sections/ |
Blocks a page can stack in its front matter (sections:) |
data/ |
YAML or JSON that templates and sections read |
assets/ |
CSS, scripts, fonts. Published with a content hash in the name |
static/ |
Files copied as they are: favicon, .well-known/, images |
public/ is the output. Don't edit it; it's replaced on every build.
The starter's templates, styles and scripts are MIT licensed
(LICENSE-starter.txt), so you can change them, keep them private or sell
sites built on them. Your content is yours.