From 755f23dbb95a95b457078f24753175a648f12764 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 5 Aug 2023 21:33:46 +0200 Subject: [PATCH] Set page title properly --- src/config.rs | 2 +- static/base.css | 1 - templates/base.html | 2 +- templates/index.html | 2 ++ 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config.rs b/src/config.rs index 6b28840..7e95d23 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,7 +11,7 @@ mod default { use std::time::Duration; pub fn repo_name() -> String { - "Local repo".to_string() + "local repo".to_string() } pub fn repo_update_delay() -> Duration { diff --git a/static/base.css b/static/base.css index 4e764b5..0d2431b 100644 --- a/static/base.css +++ b/static/base.css @@ -8,7 +8,6 @@ nav { font-size: 1.5em; line-height: 1.2em; - margin-bottom: 1.5em; padding: 0.3em; background-color: #bdf; border-radius: 0.3em; diff --git a/templates/base.html b/templates/base.html index 29905ac..3255926 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,7 +3,7 @@ - {% block title %}{% endblock %} + {% block title %}{% endblock %} - {{ repo_name }} {% block head %}{% endblock %} diff --git a/templates/index.html b/templates/index.html index 6d0dab9..98a4211 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,7 @@ {% extends "base.html" %} +{% block title %}overview{% endblock %} + {% block body %}

Tracked refs