summaryrefslogtreecommitdiff
path: root/core/entries.go
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-04-19 10:16:20 -0600
committernytpu <alex@nytpu.com>2021-04-19 10:16:20 -0600
commitfd2667cb9f6fe15c1770b82372007524aadb1cf0 (patch)
tree52c842f9d4b08306e8b91714810044b9040d5cc9 /core/entries.go
parentffe7a37c66d5cfe3f834951545c562ae3b8dcdaa (diff)
move Version and Commit to core
Diffstat (limited to 'core/entries.go')
-rw-r--r--core/entries.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/entries.go b/core/entries.go
index b1b5c05..f0b0046 100644
--- a/core/entries.go
+++ b/core/entries.go
@@ -156,12 +156,14 @@ func (d *FullData) WriteFeed(dataPath string) error {
}
}
- rawPage += `
+ rawPage += fmt.Sprintf(`
---
=> https://git.nytpu.com/comitium/about/ aggregated using comitium
-`
+`,
+ Version,
+ )
err := ioutil.WriteFile(path, []byte(rawPage), 0666)
if err != nil {