From 5a32e59a7352c94126ddc7c965ca02195d854cf8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 1 Oct 2018 15:38:02 -0400 Subject: [PATCH] Add title to commit pages I need to do this everywhere else too, but I'm feeling lazy at the moment. --- gitsrht/templates/commit.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitsrht/templates/commit.html b/gitsrht/templates/commit.html index 6dd7b0d..f4fce51 100644 --- a/gitsrht/templates/commit.html +++ b/gitsrht/templates/commit.html @@ -1,5 +1,8 @@ {% extends "repo.html" %} {% import "utils.html" as utils %} +{% block title %} +{{trim_commit(commit.message)}} - {{repo.owner.canonical_name}}/{{repo.name}} - {{cfg("sr.ht", "site-name")}} git +{% endblock %} {% block content %}
-- 2.38.4