Refactor markdown.moon; add pandoc to Dockerfile; monkey-patch sitegen

markdown renderer
This commit is contained in:
2025-06-16 20:18:04 -07:00
parent 1a84bef4d9
commit 5fc1dbe771
4 changed files with 13 additions and 32 deletions

View File

@@ -73,6 +73,10 @@ extract_date = (source) -> string.match path.filename(source), "%d+%-%d%d%-%d%d"
format_date = (str) -> date(str)\fmt "%b %d, %Y"
publish_date = (path) -> format_date extract_date path
os.execute [[
moonc -t /usr/local/openresty/luajit/share/lua/5.1/sitegen/renderers/ markdown.moon
]]
sitegen.create =>
@site_title = "WebDevCat.me · Catalin Mititiuc"
@app_name = "stasis"