home » zplus/clif.git
Author zPlus <zplus@peers.community> 2022-08-03 15:33:10
Committer zPlus <zplus@peers.community> 2022-08-03 15:33:10
Commit 6b84231 (patch)
Tree 84367d7
Parent(s)

Add HTML title to website pages.


commits diff: 64fd1f0..6b84231
10 files changed, 19 insertions, 1 deletiondownload


Diffstat
-rw-r--r-- templates/about.html 2
-rw-r--r-- templates/explore.html 2
-rw-r--r-- templates/layout.html 2
-rw-r--r-- templates/mailing_list/emails.html 2
-rw-r--r-- templates/mailing_list/emails_thread.html 2
-rw-r--r-- templates/repository/blob.html 2
-rw-r--r-- templates/repository/log.html 2
-rw-r--r-- templates/repository/overview.html 2
-rw-r--r-- templates/repository/refs.html 2
-rw-r--r-- templates/repository/tree.html 2

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+2/-0 M   templates/about.html
index 845559d..a8cbeae
old size: 828B - new size: 871B
@@ -1,5 +1,7 @@
1 1 {% extends "index.html" %}
2 2
3 + {% block page_title %}About{% endblock %}
4 +
3 5 {% block menu_about_class %}selected{% endblock %}
4 6
5 7 {% block content %}

+2/-0 M   templates/explore.html
index 03ea698..62935a7
old size: 946B - new size: 991B
@@ -1,5 +1,7 @@
1 1 {% extends "index.html" %}
2 2
3 + {% block page_title %}Explore{% endblock %}
4 +
3 5 {% block menu_explore_class %}selected{% endblock %}
4 6
5 7 {% block content %}

+1/-1 M   templates/layout.html
index 93aaf83..be4f0d7
old size: 662B - new size: 678B
@@ -7,7 +7,7 @@
7 7 <link href="/static/css/pygments_default.css" rel="stylesheet">
8 8 <link href="/static/css/clif.css" rel="stylesheet">
9 9
10 - <title>{{ title if title }}</title>
10 + <title>{% block page_title %}{% endblock %}</title>
11 11 </head>
12 12
13 13 <body>

+2/-0 M   templates/mailing_list/emails.html
index 4d957db..84cc3d9
old size: 2K - new size: 2K
@@ -1,5 +1,7 @@
1 1 {% extends "mailing_list/mailing_list.html" %}
2 2
3 + {% block page_title %}Mailing list: {{ list_address }}{% endblock %}
4 +
3 5 {% block content %}
4 6
5 7 <details class="filters">

+2/-0 M   templates/mailing_list/emails_thread.html
index babeb7d..c97729d
old size: 2K - new size: 2K
@@ -1,5 +1,7 @@
1 1 {% extends "mailing_list/mailing_list.html" %}
2 2
3 + {% block page_title %}{{ thread.title }} - {{ list_address }}{% endblock %}
4 +
3 5 {% block content %}
4 6 <div class="thread">
5 7

+2/-0 M   templates/repository/blob.html
index 9bf4cc7..fd47d13
old size: 823B - new size: 932B
@@ -1,5 +1,7 @@
1 1 {% extends "repository/repository.html" %}
2 2
3 + {% block page_title %}Tree: {{ repository }}/{{ revision }}{{ '/' + tree_path if tree_path }}{% endblock %}
4 +
3 5 {% block menu_tree_class %}selected{% endblock %}
4 6
5 7 {% block content %}

+2/-0 M   templates/repository/log.html
index aa84bf8..d65c579
old size: 3K - new size: 3K
@@ -1,5 +1,7 @@
1 1 {% extends "repository/repository.html" %}
2 2
3 + {% block page_title %}Log: {{ repository }}/{{ revision }}{% endblock %}
4 +
3 5 {% block menu_log_class %}selected{% endblock %}
4 6
5 7 {% block content %}

+2/-0 M   templates/repository/overview.html
index 04a00de..eafdc47
old size: 1K - new size: 1K
@@ -1,5 +1,7 @@
1 1 {% extends "repository/repository.html" %}
2 2
3 + {% block page_title %}Overview: {{ repository }}{% endblock %}
4 +
3 5 {% block menu_overview_class %}selected{% endblock %}
4 6
5 7 {% block content %}

+2/-0 M   templates/repository/refs.html
index 0344ec6..cd8b50a
old size: 740B - new size: 800B
@@ -1,5 +1,7 @@
1 1 {% extends "repository/repository.html" %}
2 2
3 + {% block page_title %}Refs: {{ repository }}{% endblock %}
4 +
3 5 {% block menu_refs_class %}selected{% endblock %}
4 6
5 7 {% block content %}

+2/-0 M   templates/repository/tree.html
index 8a9063d..3e1b2cf
old size: 2K - new size: 2K
@@ -1,5 +1,7 @@
1 1 {% extends "repository/repository.html" %}
2 2
3 + {% block page_title %}Tree: {{ repository }}/{{ revision }}{{ '/' + tree_path if tree_path }}{% endblock %}
4 +
3 5 {% block menu_tree_class %}selected{% endblock %}
4 6
5 7 {% block content %}