diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 11:14:38 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-18 11:14:38 +0530 |
commit | 7fe98772b079cca83b854e8f8a6be5dc55c10483 (patch) | |
tree | d51a870a94c52cb6060b9db72fa13c3ccb57a72e /templates | |
parent | 5ea7cae973e8329ae768c35bda41e656f974815d (diff) | |
download | legit-7fe98772b079cca83b854e8f8a6be5dc55c10483.tar.gz legit-7fe98772b079cca83b854e8f8a6be5dc55c10483.tar.bz2 legit-7fe98772b079cca83b854e8f8a6be5dc55c10483.zip |
templates: add title tags
Diffstat (limited to 'templates')
-rw-r--r-- | templates/file.html | 1 | ||||
-rw-r--r-- | templates/index.html | 4 | ||||
-rw-r--r-- | templates/log.html | 4 | ||||
-rw-r--r-- | templates/refs.html | 4 |
4 files changed, 13 insertions, 0 deletions
diff --git a/templates/file.html b/templates/file.html index 4d606cc..a4485f3 100644 --- a/templates/file.html +++ b/templates/file.html @@ -1,6 +1,7 @@ {{ define "file" }} <html> {{ template "head" . }} + <title>{{.name }} — {{ .path }}</title> {{ template "repoheader" . }} <body> diff --git a/templates/index.html b/templates/index.html index 25cedfb..1ed1ac2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,6 +2,10 @@ <html> {{ template "head" . }} + <title> + {{ .meta.Title }} + </title> + <header> <h1>{{ .meta.Title }}</h1> <h2>{{ .meta.Description }}</h2> diff --git a/templates/log.html b/templates/log.html index f5956be..bc028b3 100644 --- a/templates/log.html +++ b/templates/log.html @@ -2,6 +2,10 @@ <html> {{ template "head" . }} + <title> + {{ .name }} — log + </title> + {{ template "repoheader" . }} <body> {{ template "nav" . }} diff --git a/templates/refs.html b/templates/refs.html index 5320a8e..9257640 100644 --- a/templates/refs.html +++ b/templates/refs.html @@ -2,6 +2,10 @@ <html> {{ template "head" . }} + <title> + {{ .name }} — refs + </title> + {{ template "repoheader" . }} <body> {{ template "nav" . }} |