1bit.pw/templates/root.html

24 lines
1.1 KiB
HTML

{% import "macros.html" as macros %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="theme-color" content="#111111"/>
<meta name="author" content="{{ config.extra.author }}">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0">
<meta name="description" content="{% block meta_description %}
{%- if section -%}{{ macros::meta_desc(ctx=section) }}{%- endif -%}
{%- if page -%}{{ macros::meta_desc(ctx=page) }}{%- endif -%}
{% endblock meta_description %}">
<link rel="stylesheet" href="{{ get_url(path="site.css", cachebust=true) | safe }}" />
<link rel="stylesheet" href="{{ get_url(path="fonts.min.css") | safe }}" />
<link rel="icon" type="image/png" href="{{ get_url(path="favicon.png") | safe }}" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="atom.xml") | safe }}" />
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
</head>
<body>
{% block body %}{% endblock body %}
</body>
</html>