[buildinfo.debian.net] 02/02: Add <title> on most pages.

Chris Lamb chris at chris-lamb.co.uk
Mon Nov 7 17:29:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit 9062392a6d714eab9497077894fdf4b42b09b3ef
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Nov 7 17:29:46 2016 +0000

    Add <title> on most pages.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 templates/buildinfo/view.html    | 2 ++
 templates/packages/binaries.html | 2 ++
 templates/packages/binary.html   | 2 ++
 templates/packages/source.html   | 2 ++
 templates/packages/sources.html  | 2 ++
 templates/static/landing.html    | 2 ++
 6 files changed, 12 insertions(+)

diff --git a/templates/buildinfo/view.html b/templates/buildinfo/view.html
index 67a0d5b..6e35a21 100644
--- a/templates/buildinfo/view.html
+++ b/templates/buildinfo/view.html
@@ -2,6 +2,8 @@
 
 {% block body_classes %}{{ block.super }} f_buildinfos_view{% endblock %}
 
+{% block title %}{{ buildinfo.get_filename }}.buildinfo — {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <div class="page-header">
diff --git a/templates/packages/binaries.html b/templates/packages/binaries.html
index 89dc839..5497b08 100644
--- a/templates/packages/binaries.html
+++ b/templates/packages/binaries.html
@@ -2,6 +2,8 @@
 
 {% block body_classes %}{{ block.super }} f_packages_binaries{% endblock %}
 
+{% block title %}Binary packages — {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <div class="page-header">
diff --git a/templates/packages/binary.html b/templates/packages/binary.html
index 4881cc2..3d8b9f2 100644
--- a/templates/packages/binary.html
+++ b/templates/packages/binary.html
@@ -2,6 +2,8 @@
 
 {% block body_classes %}{{ block.super }} f_packages_binary{% endblock %}
 
+{% block title %}{{ binary.name }} (binary package) — {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <div class="page-header">
diff --git a/templates/packages/source.html b/templates/packages/source.html
index 9b1a806..5c2f676 100644
--- a/templates/packages/source.html
+++ b/templates/packages/source.html
@@ -2,6 +2,8 @@
 
 {% block body_classes %}{{ block.super }} f_packages_source{% endblock %}
 
+{% block title %}{{ source.name }} (source package) — {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <div class="page-header">
diff --git a/templates/packages/sources.html b/templates/packages/sources.html
index 079c2f0..46efcbb 100644
--- a/templates/packages/sources.html
+++ b/templates/packages/sources.html
@@ -2,6 +2,8 @@
 
 {% block body_classes %}{{ block.super }} f_packages_sources{% endblock %}
 
+{% block title %}Source packages — {{ block.super }}{% endblock %}
+
 {% block content %}
 
 <div class="page-header">
diff --git a/templates/static/landing.html b/templates/static/landing.html
index aca8c14..867aac8 100644
--- a/templates/static/landing.html
+++ b/templates/static/landing.html
@@ -2,6 +2,8 @@
 
 {% block body_classes %}{{ block.super }} f_landing{% endblock %}
 
+{% block title %}{{ block.super }} — A proof-of-concept .buildinfo server{% endblock %}
+
 {% block container %}
 
 <a class="hidden-xs" href="https://github.com/lamby/buildinfo.debian.net"><img style="position: absolute; top: 0; right: 0; border: 0;" src="{% static "images/github.png" %}" alt="Fork me on GitHub"></a>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list