templates/base.html (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | <!DOCTYPE html>
<html lang="{{ lang or config.default_language or "en" }}">
<head>
{%- if config.extra?.webserver_sends_csp_headers %}
{%- include "security_tags.html" %}
{%- endif %}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% include "favicon.html" -%}
<title>{%- block title %}{{ config.title }}{%- endblock %}</title>
{% include "seo_tags.html" -%}
<meta name="referrer" content="strict-origin-when-cross-origin">
{% block rss -%}
{%- if config.generate_feeds %}
{%- for feed_filename in config.feed_filenames %}
<link rel="alternate" type={% if feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="{{ get_url(path=feed_filename) | safe }}">
{%- endfor -%}
{%- endif %}
{%- endblock -%}
<style>
{% include "style.css.html" %}
</style>
{%- include "custom_head.html" %}
</head>
<body>
{%- include "header.html" %}
{%- block main -%}{%- endblock -%}
{%- include "footer.html" -%}
{%- include "custom_body.html" -%}
</body>
</html>
|