moved config to a json, which makes adding more variables easier, but perhaps otherwise adds complexity
This commit is contained in:
@@ -4,16 +4,17 @@
|
||||
<title>{{ title }}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||
<link rel=stylesheet href="{{ url_for('static', filename='theme.css') }}">
|
||||
{%- if config.server_name -%}
|
||||
<link rel=stylesheet href="{{ url_for('static', filename='user.css') }}">
|
||||
{%- if config.user_css -%}
|
||||
<link rel=stylesheet href="{{ url_for('static', filename=config.user_css) }}">
|
||||
{%- endif -%}
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{ title }}</h1>
|
||||
<p>
|
||||
<a href="{{ url_for('admin') }}">Admin panel</a><span> | </span>
|
||||
<a href="{{ url_for('index') }}">Home page</a>
|
||||
<span> « </span><a href="{{ url_for('index') }}">Forum Home</a>
|
||||
<span> | </span><a href="{{ url_for('admin') }}">Admin panel</a>
|
||||
</p>
|
||||
{%- for category, msg in get_flashed_messages(True) -%}
|
||||
<p class="flash {{ category }}">{{ msg }}</p>
|
||||
|
||||
Reference in New Issue
Block a user