web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

templates: add title tags

+14
+1
routes/routes.go
··· 173 173 data["name"] = name 174 174 data["ref"] = ref 175 175 data["desc"] = getDescription(path) 176 + data["path"] = treePath 176 177 177 178 d.showFile(contents, data, w) 178 179 return
+1
templates/file.html
··· 1 1 {{ define "file" }} 2 2 <html> 3 3 {{ template "head" . }} 4 + <title>{{.name }} &mdash; {{ .path }}</title> 4 5 5 6 {{ template "repoheader" . }} 6 7 <body>
+4
templates/index.html
··· 2 2 <html> 3 3 {{ template "head" . }} 4 4 5 + <title> 6 + {{ .meta.Title }} 7 + </title> 8 + 5 9 <header> 6 10 <h1>{{ .meta.Title }}</h1> 7 11 <h2>{{ .meta.Description }}</h2>
+4
templates/log.html
··· 2 2 <html> 3 3 {{ template "head" . }} 4 4 5 + <title> 6 + {{ .name }} &mdash; log 7 + </title> 8 + 5 9 {{ template "repoheader" . }} 6 10 <body> 7 11 {{ template "nav" . }}
+4
templates/refs.html
··· 2 2 <html> 3 3 {{ template "head" . }} 4 4 5 + <title> 6 + {{ .name }} &mdash; refs 7 + </title> 8 + 5 9 {{ template "repoheader" . }} 6 10 <body> 7 11 {{ template "nav" . }}