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