From 5c6ca3bd2fdb6310282f0d59f07f8d5291a1e9de Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 10 Jan 2022 08:35:25 +0100 Subject: [PATCH] templates: include parent head block Among other things, this ensures that the robots meta tag is present for unlisted repositories. --- gitsrht/templates/blame.html | 2 +- gitsrht/templates/blob.html | 2 +- gitsrht/templates/log.html | 2 +- gitsrht/templates/refs.html | 2 +- gitsrht/templates/repo.html | 2 ++ gitsrht/templates/send-email-end.html | 2 +- gitsrht/templates/send-email.html | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gitsrht/templates/blame.html b/gitsrht/templates/blame.html index 9c5046f..35fa71b 100644 --- a/gitsrht/templates/blame.html +++ b/gitsrht/templates/blame.html @@ -3,7 +3,7 @@ {% block title %} {{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}} blame - {{cfg("sr.ht", "site-name")}} git {% endblock %} -{% block head %} +{% block repohead %}