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