diff options
| author | uint <abhinav.prsai@gmail.com> | 2025-12-19 19:48:21 +0000 |
|---|---|---|
| committer | uint <abhinav.prsai@gmail.com> | 2025-12-19 19:48:21 +0000 |
| commit | a8437f43fa7c1e549e78594a449968e5c9934cc2 (patch) | |
| tree | f13b445ff964d06d8cd6917fdbe3a743fa271862 /kew.go | |
| parent | 7419b03fde535d4ca4c6c78687500c15e8d1447e (diff) | |
add footer parsing
Diffstat (limited to 'kew.go')
| -rw-r--r-- | kew.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |
