Set page title properly

This commit is contained in:
Joscha 2023-08-05 21:33:46 +02:00
parent 52e2d74b96
commit 755f23dbb9
4 changed files with 4 additions and 3 deletions

View file

@ -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 {

View file

@ -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;

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<title>{% block title %}{% endblock %}</title>
<title>{% block title %}{% endblock %} - {{ repo_name }}</title>
<link rel="icon" href="/logo.svg">
<link rel="stylesheet" href="{{ base }}/base.css" />
{% block head %}{% endblock %}

View file

@ -1,5 +1,7 @@
{% extends "base.html" %}
{% block title %}overview{% endblock %}
{% block body %}
<h2>Tracked refs</h2>
<dl>