web
How a static page is made
A template and some Markdown go in, and a finished page comes out.
- Published
- 2026-11-24
astrobuildai
Sample article for theme testing (provisional). 02-Content replaces it.
A static page is finished before anyone asks for it. The words live in one file, the layout lives in another, and a build joins the two.
Write
Start with the words. Markdown keeps them readable without any layout.
hello.md
# Hello
This is a short page.What the words leave out
Colours, columns and fonts do not belong here. They come from the template.
Join
The template decides where the words go. The highlighted line is the place they land.
template.html
<article>
<h1>Hello</h1>
<slot />
</article>Tip — Change the template once, and every page that uses it changes at the next build.
Read it through
Read the finished page from top to bottom before sharing it, not only the file it came from.
