summaryrefslogtreecommitdiff
path: root/core/entries.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/entries.go')
-rw-r--r--core/entries.go16
1 files changed, 15 insertions, 1 deletions
diff --git a/core/entries.go b/core/entries.go
index 3db8294..8e6d10b 100644
--- a/core/entries.go
+++ b/core/entries.go
@@ -74,7 +74,7 @@ func toLocalDay(t time.Time) time.Time {
func (d *FullData) WriteSubs(dataPath string) error {
path := filepath.Join(dataPath, "subscriptions.gmi.new")
- rawPage := `# comitium subscribed feeds
+ rawPage := `# subscribed feeds
## Feeds
Gemini, Atom, RSS, and JSON feeds from all over.
@@ -103,6 +103,13 @@ Watching these pages for any changes that occur.
}
d.PagesMu.RUnlock()
+ rawPage += `
+
+---
+
+=> https://git.nytpu.com/comitium/about/ aggregated using comitium
+`
+
err := os.WriteFile(path, []byte(rawPage), 0666)
if err != nil {
return err
@@ -141,6 +148,13 @@ func (d *FullData) WriteFeed(dataPath string) error {
}
}
+ rawPage += `
+
+---
+
+=> https://git.nytpu.com/comitium/about/ aggregated using comitium
+`
+
err := os.WriteFile(path, []byte(rawPage), 0666)
if err != nil {
return err