···121121122122 // LineNumbers holds sequential numbers starting from 1 up to line count of the blob.
123123 LineNumbers []uint
124124+125125+ // A list of preview output types.
126126+ PreviewTypes []string
127127+}
128128+129129+// repoBlobRefHTMLPreviewData is a data object passed to "repo-blob-ref-html-preview" template.
130130+type repoBlobRefHTMLPreviewData struct {
131131+ // Config represents a resolved config based on "config.yaml".
132132+ Config *config.Config
133133+134134+ Meta repositoryMeta
135135+136136+ // Path to the blob.
137137+ Path []string
138138+139139+ // Rendered HTML
140140+ Content template.HTML
124141}
125142126143// repoLogRefData is a data object passed to "repo-log-ref" template.