M gitsrht/templates/blame.html => gitsrht/templates/blame.html +1 -1
@@ 3,7 3,7 @@
{% block title %}
<title>{{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}} blame - {{cfg("sr.ht", "site-name")}} git</title>
{% endblock %}
-{% block head %}
+{% block repohead %}
<style>
pre {
tab-size: {{editorconfig.tab_width()}}
M gitsrht/templates/blob.html => gitsrht/templates/blob.html +1 -1
@@ 3,7 3,7 @@
{% block title %}
<title>{{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}} - {{cfg("sr.ht", "site-name")}} git</title>
{% endblock %}
-{% block head %}
+{% block repohead %}
<style>
pre {
tab-size: {{editorconfig.tab_width()}}
M gitsrht/templates/log.html => gitsrht/templates/log.html +1 -1
@@ 4,7 4,7 @@
<title>{{repo.owner.canonical_name}}/{{repo.name}}: {% if path != [''] %}{{path_join(*path)}} {% endif %}{{ ref.decode("utf-8", "replace") }} - {{cfg("sr.ht", "site-name")}} git</title>
{% endblock %}
-{% block head %}
+{% block repohead %}
<link rel="alternate"
title="{{ repo.owner.canonical_name }}/{{ repo.name }}: {{ ref.decode('utf-8', 'replace') }} log"
type="application/rss+xml"
M gitsrht/templates/refs.html => gitsrht/templates/refs.html +1 -1
@@ 4,7 4,7 @@
<title>{{repo.owner.canonical_name}}/{{repo.name}} refs - {{cfg("sr.ht", "site-name")}} git</title>
{% endblock %}
-{% block head %}
+{% block repohead %}
<link rel="alternate"
title="{{ repo.owner.canonical_name }}/{{ repo.name }} refs"
type="application/rss+xml"
M gitsrht/templates/repo.html => gitsrht/templates/repo.html +2 -0
@@ 1,5 1,7 @@
{% extends "layout.html" %}
{% block head %}
+{% block repohead %}
+{% endblock %}
{% if repo.visibility.value =='unlisted' %}
<meta name="robots" content="noindex">
{% endif %}
M gitsrht/templates/send-email-end.html => gitsrht/templates/send-email-end.html +1 -1
@@ 133,7 133,7 @@
</form>
{% endblock %}
-{% block head %}
+{% block repohead %}
<style>
.commit-diff {
display: none;
M gitsrht/templates/send-email.html => gitsrht/templates/send-email.html +1 -1
@@ 120,7 120,7 @@
</form>
{% endblock %}
-{% block head %}
+{% block repohead %}
<style>
.event-list.commit-list, .form-controls {
display: none;