🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2022-07-06 2:47:59.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2022-07-06 2:47:59.0 +01:00:00
commit
33361110ce8808aa0911346b013f63a684cd4e34 [patch]
tree
3c6653acf7197a19ef596013c3a704e52d24b0dd
parent
873752f5abeaa212742551fafd67d66f7c0938ae
download
33361110ce8808aa0911346b013f63a684cd4e34.tar.gz

Add home button



Diff

 statics/style.css   | 4 ++++
 templates/base.html | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/statics/style.css b/statics/style.css
index 7a84891..f407288 100644
--- a/statics/style.css
+++ a/statics/style.css
@@ -33,6 +33,10 @@
    margin-top: 2rem;
}

.no-hover:hover {
    text-decoration: none;
}

table { border-collapse: collapse; }
table.repositories { width: 100%; }
table.repositories a { color: black; }
diff --git a/templates/base.html b/templates/base.html
index 7f9c081..9377ac0 100644
--- a/templates/base.html
+++ a/templates/base.html
@@ -10,7 +10,7 @@

<body>
<header>
    <h1>{% block header %}Git repository browser{% endblock %}</h1>
    <h1><a href="/" class="no-hover">🏡</a> {% block header %}Git repository browser{% endblock %}</h1>
</header>

{% block nav %}{% endblock %}