Set page title properly
This commit is contained in:
parent
52e2d74b96
commit
755f23dbb9
4 changed files with 4 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}overview{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h2>Tracked refs</h2>
|
||||
<dl>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue