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; use std::time::Duration;
pub fn repo_name() -> String { pub fn repo_name() -> String {
"Local repo".to_string() "local repo".to_string()
} }
pub fn repo_update_delay() -> Duration { pub fn repo_update_delay() -> Duration {

View file

@ -8,7 +8,6 @@
nav { nav {
font-size: 1.5em; font-size: 1.5em;
line-height: 1.2em; line-height: 1.2em;
margin-bottom: 1.5em;
padding: 0.3em; padding: 0.3em;
background-color: #bdf; background-color: #bdf;
border-radius: 0.3em; border-radius: 0.3em;

View file

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

View file

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