show ref in title
Signed-off-by: Gabriel Augendre <gabriel@augendre.info>
This commit is contained in:
parent
8249531f38
commit
32c466e8a7
|
@ -1,7 +1,7 @@
|
|||
{% extends "repo-full.html" %}
|
||||
{% import "utils.html" as utils %}
|
||||
{% block title %}
|
||||
<title>{{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}} blame - {{cfg("sr.ht", "site-name")}} git</title>
|
||||
<title>{{repo.owner.canonical_name}}/{{repo.name}} ({{ ref.decode("utf-8", "replace") }}): {{path_join(*path)}} blame - {{cfg("sr.ht", "site-name")}} git</title>
|
||||
{% endblock %}
|
||||
{% block repohead %}
|
||||
<style>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "repo-full.html" %}
|
||||
{% import "utils.html" as utils %}
|
||||
{% block title %}
|
||||
<title>{{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}} - {{cfg("sr.ht", "site-name")}} git</title>
|
||||
<title>{{repo.owner.canonical_name}}/{{repo.name}} ({{ ref.decode("utf-8", "replace") }}): {{path_join(*path)}} - {{cfg("sr.ht", "site-name")}} git</title>
|
||||
{% endblock %}
|
||||
{% block repohead %}
|
||||
<style>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "repo.html" %}
|
||||
{% import "utils.html" as utils %}
|
||||
{% block title %}
|
||||
<title>{{repo.owner.canonical_name}}/{{repo.name}}: {{path_join(*path)}}/ - {{cfg("sr.ht", "site-name")}} git</title>
|
||||
<title>{{repo.owner.canonical_name}}/{{repo.name}} ({{ ref.decode("utf-8", "replace") }}): {{path_join(*path)}}/ - {{cfg("sr.ht", "site-name")}} git</title>
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="header-extension">
|
||||
|
|
Loading…
Reference in New Issue