diff options
| author | nytpu <alex@nytpu.com> | 2021-03-19 17:16:52 -0600 |
|---|---|---|
| committer | nytpu <alex@nytpu.com> | 2021-03-19 17:16:52 -0600 |
| commit | d4ca695043406832f3161206e05f0b43c59072cd (patch) | |
| tree | cd9f2cd13774f8854888562096659924d769f3ed | |
| parent | 2974c5413c388ed904cb95bc1ba6bc7aea0b5e21 (diff) | |
add footer to page to be agpl compliant
| -rw-r--r-- | core/entries.go | 16 |
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 |
