~gitpocket/gitpocket

Advertise atom feeds to feed readers #1

How the series changed between revision 2 (4e8b96ff5a) and revision 3 (f8490fe61f), computed with git range-diff. Lines marked = are unchanged commits, ! were rewritten, > are new and < were dropped.

1:  168ca8c ! 1:  204ee9b feat(web): advertise commit, issue, pull request and user feeds in the page head    @@ templates/layout.html      <link rel="stylesheet" href="/static/highlight.css?v={{.Version}}">     +{{with .Data}}{{with index . "Page"}}<link rel="alternate" type="application/atom+xml" title="{{.Repo.Path}} commits" href="/{{.Repo.Path}}/feed">     +<link rel="alternate" type="application/atom+xml" title="{{.Repo.Path}} issues" href="/{{.Repo.Path}}/issues/feed">    -+<link rel="alternate" type="application/atom+xml" title="{{.Repo.Path}} pull requests" href="/{{.Repo.Path}}/pulls/feed">{{end}}{{with index . "Owner"}}<link rel="alternate" type="application/atom+xml" title="~{{.Name}} commits" href="/~{{.Name}}/feed">{{end}}{{end}}    ++<link rel="alternate" type="application/atom+xml" title="{{.Repo.Path}} pull requests" href="/{{.Repo.Path}}/pulls/feed">{{end}}{{if index . "Profile"}}{{with index . "Owner"}}<link rel="alternate" type="application/atom+xml" title="~{{.Name}} commits" href="/~{{.Name}}/feed">{{end}}{{end}}{{end}}      {{if .Math}}<link rel="stylesheet" href="/static/katex/katex.min.css">      <script defer src="/static/katex/katex.min.js"></script>      <script defer src="/static/katex/auto-render.min.js"></script>2:  4e8b96f = 2:  f8490fe docs(basin): note feed autodiscovery