Versions in this module Expand all Collapse all v1 v1.0.2 Dec 29, 2025 v1.0.1 Dec 7, 2025 Changes in this version type LayoutParams + CurrentRefDir string v1.0.0 Dec 1, 2025 Changes in this version + var BlobTemplate = Must(Must(layout.Clone()).Parse(blobContent)) + var BranchesTemplate = Must(Must(layout.Clone()).Parse(branchesContent)) + var CSSMarkdownDark string + var CSSMarkdownLight string + var CommitTemplate = Must(Must(layout.Clone()).Parse(commitContent)) + var CommitsListTemplate = Must(Must(layout.Clone()).Parse(commitsListContent)) + var ListTemplate = Must(Must(layout.Clone()).Parse(listContent)) + var MarkdownTemplate = Must(Must(layout.Clone()).Parse(markdownContent)) + var PreviewTemplate = Must(New("preview").Parse(previewContent)) + var TagsTemplate = Must(Must(layout.Clone()).Parse(tagsContent)) + type BlobParams struct + Blob git.Blob + CSS CSS + Content HTML + IsBinary bool + IsImage bool + type BranchEntry struct + CommitsHref string + Href string + IsDefault bool + Name string + type BranchesParams struct + Branches []BranchEntry + type Breadcrumb struct + Href string + IsDir bool + Name string + type CommitParams struct + Commit git.Commit + DiffCSS CSS + FileTree []*FileTree + FileViews []FileView + type CommitsListParams struct + Commits []git.Commit + Page Pagination + Ref git.Ref + type FileTree struct + Anchor string + Children []*FileTree + IsDelete bool + IsDir bool + IsNew bool + IsRename bool + Name string + NewName string + OldName string + Path string + type FileTreeParams struct + Nodes []*FileTree + type FileView struct + HTML HTML + HasChanges bool + IsBinary bool + IsDelete bool + IsNew bool + IsRename bool + NewName string + OldName string + Path string + type HeaderParams struct + Breadcrumbs []Breadcrumb + Header string + Ref git.Ref + type LayoutParams struct + CSSMarkdown CSS + CurrentRef git.Ref + Dark bool + Name string + RootHref string + Selected string + Title string + type ListEntry struct + Href string + IsDir bool + Mode string + Name string + Size string + type ListParams struct + Dirs []ListEntry + Files []ListEntry + ParentHref string + Readme HTML + Ref git.Ref + type MarkdownParams struct + Blob git.Blob + Content HTML + type Pagination struct + FirstHref string + LastHref string + NextHref string + Page int + PrevHref string + TotalPages int + type PreviewCard struct + HTML HTML + Name string + Tone string + type PreviewParams struct + Count int + Themes []PreviewCard + type TagsParams struct + Tags []git.Tag