Allow instance owners to customize html titles of page:

Added html_title config option.
	Made base.html template use html_title option as page title.
This commit is contained in:
Pablo J. Urbano Santos 2011-11-19 17:07:41 +01:00
parent 53bc39755b
commit 3c0411f51f
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,7 @@
[mediagoblin]
# HTML title of the pages
html_title = string(default="GNU MediaGoblin")
# database stuff
db_host = string()
db_name = string(default="mediagoblin")

View File

@ -19,7 +19,7 @@
<html>
<head>
<meta charset="utf-8">
<title>{% block title %}{% trans %}GNU MediaGoblin{% endtrans %}{% endblock title %}</title>
<title>{{ app_config['html_title'] }}</title>
<link rel="stylesheet" type="text/css"
href="{{ request.staticdirect('/css/extlib/reset.css') }}"/>
<link rel="stylesheet" type="text/css"