🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2022-07-23 15:37:15.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2022-07-23 15:37:15.0 +01:00:00
commit
f93b28638e5b47cd51c72931bf29c6d03f5d98eb [patch]
tree
f372f1acca2a1d55f39f726163b312dc4f2e8e12
parent
8eaed33259cc63bcd60b49ba3dd8662420259107
download
f93b28638e5b47cd51c72931bf29c6d03f5d98eb.tar.gz

Use repository name as title for page



Diff

 templates/index.html     | 2 --
 templates/repo/base.html | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/index.html b/templates/index.html
index 2a8b07d..a0f4c6f 100644
--- a/templates/index.html
+++ a/templates/index.html
@@ -1,7 +1,5 @@
{% extends "base.html" %}

{% block title %}Index{% endblock %}

{% block content %}
    <table class="repositories">
        <thead>
diff --git a/templates/repo/base.html b/templates/repo/base.html
index 1ccab4d..5a0a087 100644
--- a/templates/repo/base.html
+++ a/templates/repo/base.html
@@ -1,5 +1,7 @@
{% extends "../base.html" %}

{% block title %}{{ repo.display() }}{% endblock %}

{% block header %}
<a href="/" class="no-style">index</a> : {{ repo.display() }}
{% endblock %}