summaryrefslogtreecommitdiffstats
path: root/gitsrht/templates/commit.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-01 15:38:02 -0400
committerDrew DeVault <sir@cmpwn.com>2018-10-01 15:39:22 -0400
commit5a32e59a7352c94126ddc7c965ca02195d854cf8 (patch)
tree0515255088b71c8cedbf3d624c23165e704b0bef /gitsrht/templates/commit.html
parent00243c0f12ff2e9b663a24501f0a239731641822 (diff)
Add title to commit pages
I need to do this everywhere else too, but I'm feeling lazy at the moment.
Diffstat (limited to 'gitsrht/templates/commit.html')
-rw-r--r--gitsrht/templates/commit.html3
1 files changed, 3 insertions, 0 deletions
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 %}
+<title>{{trim_commit(commit.message)}} - {{repo.owner.canonical_name}}/{{repo.name}} - {{cfg("sr.ht", "site-name")}} git</title>
+{% endblock %}
{% block content %}
<div class="container">
<div class="row">