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:
parent
53bc39755b
commit
3c0411f51f
@ -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")
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user