mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2024-12-20 21:34:34 -05:00
42 lines
2.0 KiB
HTML
42 lines
2.0 KiB
HTML
{% extends "base.html" %}
|
|
{% block site_meta %}
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
{% if page.meta and page.meta.description %}
|
|
<meta name="description" content="{{ page.meta.description }}">
|
|
{% elif config.site_description %}
|
|
<meta name="description" content="{{ config.site_description }}">
|
|
{% endif %}
|
|
{% if page.meta and page.meta.author %}
|
|
<meta name="author" content="{{ page.meta.author }}">
|
|
{% elif config.site_author %}
|
|
<meta name="author" content="{{ config.site_author }}">
|
|
{% endif %}
|
|
{% if page.canonical_url %}
|
|
<link rel="canonical" href="{{ page.canonical_url }}">
|
|
{% endif %}
|
|
{% if page.previous_page %}
|
|
<link rel="prev" href="{{ page.previous_page.url | url }}">
|
|
{% endif %}
|
|
{% if page.next_page %}
|
|
<link rel="next" href="{{ page.next_page.url | url }}">
|
|
{% endif %}
|
|
{% if config.extra.alternate is iterable %}
|
|
{% for alt in config.extra.alternate %}
|
|
<link rel="alternate" href="{{ "https://www.privacyguides.org/" ~ alt.lang ~ "/" ~ page.url }}" hreflang="{{ alt.lang | d(lang.t('language')) }}">
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% if "rss" in config.plugins %}
|
|
<link rel="alternate" type="application/rss+xml" title="{{ lang.t('rss.created') }}" href="{{ 'feed_rss_created.xml' | url }}">
|
|
<link rel="alternate" type="application/rss+xml" title="{{ lang.t('rss.updated') }}" href="{{ 'feed_rss_updated.xml' | url }}">
|
|
{% endif %}
|
|
<link rel="icon" href="{{ config.theme.favicon | url }}">
|
|
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.1.0+insiders-4.32.2">
|
|
{% endblock %}
|
|
{% block announce %}{% if config.extra.offline %}
|
|
You're viewing an offline copy of Privacy Guides built on {{ build_date_utc }}.
|
|
<a href="https://www.privacyguides.org/">
|
|
<strong>Visit privacyguides.org for the latest version.</strong>
|
|
</a>
|
|
{% else %}{% endif %}{% endblock %}
|