aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-12-26 23:33:21 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-12-28 11:03:29 +0000
commit75c44fd770ffa1890159b516c7b0cc59669dea7e (patch)
treece5ba766a6bfd4f4c396658ab000f01326eb4a25 /templates/base.html
parent5ce6448a1207d2797b3079323033d513e106dfdf (diff)
downloadopenembedded-core-contrib-75c44fd770ffa1890159b516c7b0cc59669dea7e.tar.gz
Use Django sites framework to specify website title
This allows specifying the site title in the database, instead of hardcoding it in the template. Just change it to something other than "example.com" to apply your own title. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index 9ac80c6d6c..c872383ccd 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -19,7 +19,7 @@
<link rel="stylesheet" href="{% static "css/bootstrap-responsive.css" %}" />
<link rel="stylesheet" href="{% static "css/additional.css" %}" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{% static "img/favicon.ico" %}" />
- <title>OpenEmbedded metadata index{% block title_append %} - {% endblock %}</title>
+ <title>{{ site_name }}{% block title_append %} - {% endblock %}</title>
</head>
<body>
@@ -28,7 +28,7 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
- <a class="brand" href="{% url frontpage %}">OpenEmbedded metadata index</a>
+ <a class="brand" href="{% url frontpage %}">{{ site_name }}</a>
{% if user.is_authenticated %}
<div class="btn-group pull-right">