tabletop-frog/ttfrog/assets/templates/base.html

31 lines
1.0 KiB
HTML
Raw Normal View History

{% from "list.html" import build_list %}
2024-01-31 22:39:54 -08:00
<!doctype html>
<html lang="en">
<head>
2024-02-04 11:40:30 -08:00
<title>{{ c.config.project_name }}{% block title %}{% endblock %}</title>
2024-02-08 01:14:35 -08:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2024-02-04 11:40:30 -08:00
<meta name="og:provider_name" content="{{ c.config.project_name }}">
2024-02-08 01:14:35 -08:00
{% for resource in c.resources %}
<link rel='preload' href="{{c.routes.static}}/{{resource['uri']}}" as="{{resource['type']}}"/>
{% if resource['type'] == 'style' %}
<link rel='stylesheet' href="{{c.routes.static}}/{{resource['uri']}}" />
{% endif %}
{% endfor %}
2024-01-31 22:39:54 -08:00
{% block headers %}{% endblock %}
</head>
<body>
{{ build_list(c) }}
2024-02-08 01:14:35 -08:00
<div id='content'>
2024-01-31 22:39:54 -08:00
{% block content %}{% endblock %}
2024-02-08 01:14:35 -08:00
</div>
2024-01-31 22:39:54 -08:00
{% block debug %}{% endblock %}
{% block script %}{% endblock %}
2024-02-08 01:14:35 -08:00
{% for resource in c.resources %}
{% if resource['type'] == 'script' %}
<script type="text/javascript" src="{{c.routes.static}}/{{resource['uri']}}"></script>
{% endif %}
{% endfor %}
2024-01-31 22:39:54 -08:00
</body>
</html>