- commit
- e16c902
- parent
- 877ce1a
- author
- Eric Bower
- date
- 2024-03-05 13:55:54 +0000 UTC
fix(prose): rss link should be to website Closes: #94
2 files changed,
+3,
-3
+1,
-1
1@@ -646,7 +646,7 @@ func rssBlogHandler(w http.ResponseWriter, r *http.Request) {
2 feed := &feeds.Feed{
3 Id: blogUrl,
4 Title: headerTxt.Title,
5- Link: &feeds.Link{Href: fmt.Sprintf("%s/rss", blogUrl)},
6+ Link: &feeds.Link{Href: blogUrl},
7 Description: headerTxt.Bio,
8 Author: &feeds.Author{Name: username},
9 Created: *user.CreatedAt,
1@@ -93,10 +93,10 @@ func (c *ConfigSite) HomeURL() string {
2
3 func (c *ConfigSite) ReadURL() string {
4 if c.IsSubdomains() || c.IsCustomdomains() {
5- return fmt.Sprintf("%s://%s/read", c.Protocol, c.Domain)
6+ return fmt.Sprintf("%s://%s", c.Protocol, c.Domain)
7 }
8
9- return "/read"
10+ return "/"
11 }
12
13 func (c *ConfigSite) StaticPath(fname string) string {