2024-02-16 01:19:25 -08:00
|
|
|
{% 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>
|
2024-02-16 01:19:25 -08:00
|
|
|
{{ 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 %}
|
2024-02-08 23:04:28 -08:00
|
|
|
{% 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>
|