Commit 83a598ec authored by Artemis's avatar Artemis 🐱

Re-sorted the articles list, now RSS feed is in right order

parent 5c3f8274
......@@ -87,6 +87,8 @@ func (a *articleApi) listArticles(loadContents bool) []article {
res = append(res, a.getArticle(i, loadContents))
}
res = reverseList(res)
return res
}
......
No preview for this file type
......@@ -91,8 +91,6 @@ func (s *server) handleShowLatest(w http.ResponseWriter, r *http.Request, _ http
func (s *server) handleListArchive(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
list := s.articleApi.listArticles(false)
list = reverseList(list)
s.templates.archive.Execute(w, list)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment