package html type RepoFileContext struct { BaseContext RepoHeaderComponentContext Code string Path string } templ RepoFile(rfc RepoFileContext) { @base(rfc.BaseContext) { @repoHeaderComponent(rfc.RepoHeaderComponentContext)
{ rfc.Path }{ " - " } raw
@templ.Raw(rfc.Code)
} }