diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index 6f70801..c875901 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -140,13 +140,6 @@ > {{ end }} - - {{ $tagsForCommit := index $.TagMap .Hash.String }} - {{ range $tagsForCommit }} - - {{ . }} - - {{ end }} {{ if gt (len $messageParts) 1 }}

{{ timeFmt .Author.When }} +

+ {{ $tagsForCommit := index $.TagMap .Hash.String }} + {{ range $tagsForCommit }} + + {{ . }} + + {{ end }} {{ end }} diff --git a/appview/state/repo.go b/appview/state/repo.go index f17eee5..b1342b6 100644 --- a/appview/state/repo.go +++ b/appview/state/repo.go @@ -72,8 +72,6 @@ func (s *State) RepoIndex(w http.ResponseWriter, r *http.Request) { tagMap[hash] = append(tagMap[hash], branch.Name) } - log.Println(tagMap) - user := s.auth.GetUser(r) s.pages.RepoIndexPage(w, pages.RepoIndexParams{ LoggedInUser: user,