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