1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-01 09:04:27 +00:00
This commit is contained in:
Jan-Lukas Else 2022-02-11 16:27:34 +01:00
parent 68daab64e3
commit 3d5cb1ab4a

2
ui.go
View File

@ -369,7 +369,7 @@ func (a *goBlog) renderIndex(hb *htmlBuilder, rd *renderData) {
// RSS // RSS
hb.writeElementOpen("link", "rel", "alternate", "type", "application/rss+xml", "title", "RSS"+feedTitle, "href", id.first+".rss") hb.writeElementOpen("link", "rel", "alternate", "type", "application/rss+xml", "title", "RSS"+feedTitle, "href", id.first+".rss")
// ATOM // ATOM
hb.writeElementOpen("link", "rel", "alternate", "type", "application/atom+xml", "title", "AROM"+feedTitle, "href", id.first+".atom") hb.writeElementOpen("link", "rel", "alternate", "type", "application/atom+xml", "title", "ATOM"+feedTitle, "href", id.first+".atom")
// JSON Feed // JSON Feed
hb.writeElementOpen("link", "rel", "alternate", "type", "application/feed+json", "title", "JSON Feed"+feedTitle, "href", id.first+".json") hb.writeElementOpen("link", "rel", "alternate", "type", "application/feed+json", "title", "JSON Feed"+feedTitle, "href", id.first+".json")
}, },