summaryrefslogtreecommitdiff
path: root/kew.go
diff options
context:
space:
mode:
authoruint <abhinav.prsai@gmail.com>2025-12-19 19:48:21 +0000
committeruint <abhinav.prsai@gmail.com>2025-12-19 19:48:21 +0000
commita8437f43fa7c1e549e78594a449968e5c9934cc2 (patch)
treef13b445ff964d06d8cd6917fdbe3a743fa271862 /kew.go
parent7419b03fde535d4ca4c6c78687500c15e8d1447e (diff)
add footer parsing
Diffstat (limited to 'kew.go')
-rw-r--r--kew.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/kew.go b/kew.go
index f330170..fb42520 100644
--- a/kew.go
+++ b/kew.go
@@ -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)