Concepts
Document
omnisrv generate pages from “documents”:
- Markdown files:
.md .markdown - HTML files:
.html .htm - Text files:
.txt - Objects:
.json .yaml .yml .toml
Title detection for txt is same as markdown. Dash Markup is supported in txt files.
Index
Default page in a directory: index.md or README.md.
Error Pages
omnisrv uses 404.html as a “not found” page. Create 404.md for a custom 404 page.
You can configure 404.html as 404 page for static servers.