~edwargix/git.sr.ht

e74ae7acf102b4f3d59decd45b554e65fc671a3a — Paul Wise 1 year, 11 months ago 59b98e2
Add repo description to summary page title

Makes it easier to find repos in the history of browsers that save titles.

Potentially makes web search engine results more useful.
1 files changed, 7 insertions(+), 1 deletions(-)

M gitsrht/templates/summary.html
M gitsrht/templates/summary.html => gitsrht/templates/summary.html +7 -1
@@ 1,7 1,13 @@
{% extends "repo.html" %}
{% import "utils.html" as utils with context %}
{% block title %}
<title>{{repo.owner.canonical_name}}/{{repo.name}} - {{cfg("sr.ht", "site-name")}} git</title>
<title>
{{repo.owner.canonical_name}}/{{repo.name}} -
{% if repo.description %}
{{repo.description}} -
{% endif %}
{{cfg("sr.ht", "site-name")}} git
</title>
{% endblock %}
{% block content %}
{% if repo.description %}