diff --git a/appview/pages/pages.go b/appview/pages/pages.go index 12f3daa8..198d6ddf 100644 --- a/appview/pages/pages.go +++ b/appview/pages/pages.go @@ -30,6 +30,7 @@ import ( "github.com/alecthomas/chroma/v2/lexers" "github.com/alecthomas/chroma/v2/styles" "github.com/bluesky-social/indigo/atproto/syntax" + "github.com/go-git/go-git/v5/plumbing/object" "github.com/microcosm-cc/bluemonday" ) @@ -462,6 +463,8 @@ type RepoIndexParams struct { RepoInfo RepoInfo Active string TagMap map[string][]string + Tags []*types.TagReference + CommitsTrunc []*object.Commit types.RepoIndexResponse HTMLReadme template.HTML Raw bool diff --git a/appview/pages/templates/repo/index.html b/appview/pages/templates/repo/index.html index c6705b9b..87982646 100644 --- a/appview/pages/templates/repo/index.html +++ b/appview/pages/templates/repo/index.html @@ -32,7 +32,7 @@ {{ block "branchSelector" . }}{{ end }}
- {{ i "ellipsis" "w-3 h-3" }} - + {{ nl2br (index $messageParts 1) }} +
{{ end }}- {{ nl2br (index $messageParts 1) }} -
- {{ end }}