elf-notes/templates/base.html

27 lines
860 B
HTML
Raw Normal View History

{%- import 'macros/font_preloads.html' as font_preloads -%}
{%- import 'macros/stylesheets.html' as stylesheets -%}
{%- import 'macros/header.html' as header -%}
{%- import 'macros/footer.html' as footer -%}
<!DOCTYPE html>
<html lang="{{ config.extra.language_code | default(value="en-US") }}">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ font_preloads::preloads() }}
{{ stylesheets::stylesheets() }}
</head>
{% block body %}{% set page_class="home" %}{% endblock body %}
<body class="{{ page_class }}">
{% block header %}
{{ header::header(current_section="/") }}
{% endblock header %}
{% block content %}{% endblock content %}
{% block footer %}
{{ footer::footer() }}
{% endblock footer %}
</body>
</html>