add: support a template.html file

This commit is contained in:
2025-12-17 22:53:23 -08:00
parent b2fab32d37
commit a01cda4566
4 changed files with 90 additions and 9 deletions

View File

@@ -16,3 +16,6 @@ The arguments supported include:
- --git-repo the URL of the git repo to load
- --listen address to listen on, in the form of 0.0.0.0:8080
Additionally, if there is a './template.html' file in the repo, is will be used to wrap
the generated HTML. Specifically, the 'body' block will be replaced by the markdown content.