Changes
5 changed files (+14/-0)
-
-
@@ -173,6 +173,7 @@ data := make(map[string]any)data["name"] = name data["ref"] = ref data["desc"] = getDescription(path) data["path"] = treePath d.showFile(contents, data, w) return
-
-
-
@@ -1,6 +1,7 @@{{ define "file" }} <html> {{ template "head" . }} <title>{{.name }} — {{ .path }}</title> {{ template "repoheader" . }} <body>
-
-
-
@@ -2,6 +2,10 @@ {{ define "index" }}<html> {{ template "head" . }} <title> {{ .meta.Title }} </title> <header> <h1>{{ .meta.Title }}</h1> <h2>{{ .meta.Description }}</h2>
-
-
-
@@ -2,6 +2,10 @@ {{ define "log" }}<html> {{ template "head" . }} <title> {{ .name }} — log </title> {{ template "repoheader" . }} <body> {{ template "nav" . }}
-
-
-
@@ -2,6 +2,10 @@ {{ define "refs" }}<html> {{ template "head" . }} <title> {{ .name }} — refs </title> {{ template "repoheader" . }} <body> {{ template "nav" . }}
-