This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues/pull-requests.
flatfilecms/flatfilecms/templates/layout.jinja2

27 lines
631 B
Django/Jinja

{% extends "base.jinja2" %}
{% block links %}
{% webpack 'layout', '.js' -%}
<script src="{{ ASSET.url }}" async defer></script>
{% endwebpack %}
{% webpack 'layout', '.css' -%}
<link rel="stylesheet" type="text/css" href="{{ ASSET.url }}">
{% endwebpack %}
{% endblock %}
{% block body %}
<header>
{% include "header.jinja2" %}
</header>
<main class="py-4">
<article class="container">
{% block content %}
{% if content %}
{{content|markdown}}
{% endif %}
{% endblock %}
</article>
</main>
<footer class="page-footer">
{% include "footer.jinja2" %}
</footer>
{% endblock %}