add footer parsing

This commit is contained in:
uint 2025-12-19 19:48:21 +00:00
commit a8437f43fa
2 changed files with 1 additions and 1 deletions

1
kew.go
View file

@ -169,6 +169,7 @@ func main() {
page = strings.Replace(page, "{{TITLE}}", SiteTitle, 1)
page = strings.Replace(page, "{{NAV}}", navbuf.String(), 1)
page = strings.Replace(page, "{{CONTENT}}", html, 1)
page = strings.Replace(page, "{{FOOTER}}", FooterText, 1)
outpath = strings.TrimSuffix(outpath, ".md") + ".html"
return os.WriteFile(outpath, []byte(page), 0644)