From 7fe98772b079cca83b854e8f8a6be5dc55c10483 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 18 Dec 2022 11:14:38 +0530 Subject: templates: add title tags --- templates/file.html | 1 + templates/index.html | 4 ++++ templates/log.html | 4 ++++ templates/refs.html | 4 ++++ 4 files changed, 13 insertions(+) (limited to 'templates') 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" }} {{ template "head" . }} + {{.name }} — {{ .path }} {{ template "repoheader" . }} 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 @@ {{ template "head" . }} + + {{ .meta.Title }} + +

{{ .meta.Title }}

{{ .meta.Description }}

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 @@ {{ template "head" . }} + + {{ .name }} — log + + {{ template "repoheader" . }} {{ 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 @@ {{ template "head" . }} + + {{ .name }} — refs + + {{ template "repoheader" . }} {{ template "nav" . }} -- cgit