Work on making more stuff use templates
This commit is contained in:
parent
202836d617
commit
b9e90ba56c
4 changed files with 9 additions and 1 deletions
3
app/templates/imports.j2
Normal file
3
app/templates/imports.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% macro imports_main() %}
|
||||
<link rel="stylesheet" href="/assets/css/index.css">
|
||||
{% endmacro %}
|
|
@ -1,8 +1,9 @@
|
|||
{% from 'header.j2' import header_home %}
|
||||
{% from 'imports.j2' import imports_main %}
|
||||
<html lang=en>
|
||||
<head>
|
||||
<title>{{ instanceBranding }} - Home</title>
|
||||
<link rel="stylesheet" href="/assets/css/index.css">
|
||||
{{ imports_main() }}
|
||||
</head>
|
||||
<body>
|
||||
{{ header_home() }}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{% from 'header.j2' import header_login %}
|
||||
{% from 'imports.j2' import imports_main %}
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{{ instanceBranding }} - Login</title>
|
||||
{{ imports_main() }}
|
||||
</head>
|
||||
<body>
|
||||
{{ header_login() }}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{% from 'header.j2' import header_login %}
|
||||
{% from 'imports.j2' import imports_main %}
|
||||
<html lang=en>
|
||||
<head>
|
||||
<title>{{ instanceBranding }} - Register</title>
|
||||
{{ imports_main() }}
|
||||
</head>
|
||||
<body>
|
||||
{{ header_login() }}
|
||||
|
|
Loading…
Add table
Reference in a new issue