start the new topics route and view
This commit is contained in:
21
app/templates/base.html
Normal file
21
app/templates/base.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png">
|
||||
<link rel="stylesheet" href="{{ "/static/css/style.css" | cachebust }}">
|
||||
{% if self.title() -%}
|
||||
<title>{{ config.SITE_NAME }} - {% block title -%}{%- endblock -%}</title>
|
||||
{%- else -%}
|
||||
<title>{{ config.SITE_NAME }}</title>
|
||||
{%- endif -%}
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
{%- include 'common/topnav.html' -%}
|
||||
{%- block content -%}{%- endblock -%}
|
||||
{%- include 'common/footer.html' -%}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user