package html import "fmt" type RepoHeaderComponentContext struct { Name string Ref string Description string } templ repoHeaderComponent(rhcc RepoHeaderComponentContext) {
{ rhcc.Name } if rhcc.Ref != "" { { " " } { "@" + rhcc.Ref } } { " - " } Refs { " - " } Log
{ rhcc.Description }
}