a zola theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
985 B

3 years ago
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
{%- block page_meta %}
{% if config.description %}
<meta name="description" content="{{ config.description | truncate(length=150) }}"/>
{% endif %}
{% if config.extra.author%}
<meta name="author" content="{{ config.extra.author }}" />
{% endif %}
{% endblock -%}
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{%- block css %}
<link href="{{ get_url(path='style.css', trailing_slash=false) | safe }}" rel="stylesheet"/>
{% endblock css -%}
</head>
2 years ago
<body>
3 years ago
<aside>{% block aside %}{% endblock %}</aside>
<article>
{%- block content %}<h1>override the content block in a template</h1>{% endblock -%}
</article>
<footer>{% block footer %}{% endblock %}</footer>
</body>
</html>