M hgsrht/templates/repo.html +1 -1
@@ 7,7 7,7 @@
/!\ Mercurial 4.8 or newer is required. /!\
/!\ Alternatively, you can clone the repo with SSH. /!\
-->
- <title>{{owner.canonical_name}}/{{repo.name}} {% if scmpagetitle %}{{scmpagetitle}} {% endif %}- {{cfg("sr.ht", "site-name")}} {{scmname}}</title>
+ <title>{{owner.canonical_name}}/{{repo.name}} {% if scmpagetitle %}{{scmpagetitle}} {% else %}{% block repo_title %}{% endblock %}{% endif %}- {{cfg("sr.ht", "site-name")}} {{scmname}}</title>
{% endblock %}
{% block head %}
M hgsrht/templates/summary.html +4 -0
@@ 1,5 1,9 @@
{% extends "repo.html" %}
+{% if repo.description %}
+{% block repo_title %}- {{ repo.description }} {% endblock %}
+{% endif %}
+
{% block content %}
{% include "partials/scmsummary.html" %}
{% endblock %}