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]
|
[mediagoblin]
|
||||||
|
# HTML title of the pages
|
||||||
|
html_title = string(default="GNU MediaGoblin")
|
||||||
|
|
||||||
# database stuff
|
# database stuff
|
||||||
db_host = string()
|
db_host = string()
|
||||||
db_name = string(default="mediagoblin")
|
db_name = string(default="mediagoblin")
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="{{ request.staticdirect('/css/extlib/reset.css') }}"/>
|
href="{{ request.staticdirect('/css/extlib/reset.css') }}"/>
|
||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user