mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-26 09:12:10 +00:00 
			
		
		
		
	Signed-off-by: Niek de Wilde <niek@privacyguides.org> Signed-off-by: redoomed1 <redoomed1@privacyguides.org>
		
			
				
	
	
		
			134 lines
		
	
	
		
			6.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			134 lines
		
	
	
		
			6.0 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- {#
 | |
|   Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
 | |
|   Copyright (c) 2023 Jonah Aragon <jonah@triplebit.net>
 | |
| 
 | |
|   Permission is hereby granted, free of charge, to any person obtaining a copy
 | |
|   of this software and associated documentation files (the "Software"), to
 | |
|   deal in the Software without restriction, including without limitation the
 | |
|   rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 | |
|   sell copies of the Software, and to permit persons to whom the Software is
 | |
|   furnished to do so, subject to the following conditions:
 | |
| 
 | |
|   The above copyright notice and this permission notice shall be included in
 | |
|   all copies or substantial portions of the Software.
 | |
| 
 | |
|   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | |
|   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | |
|   FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
 | |
|   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 | |
|   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 | |
|   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 | |
|   IN THE SOFTWARE.
 | |
| #} -->
 | |
| {% 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 }}">
 | |
|     {% endif %}
 | |
|     {% if page.meta and page.meta.author %}
 | |
|     <meta name="author" content="{{ page.meta.author }}">
 | |
|     {% elif page.authors %}
 | |
|     <meta name="author" content="{{ page.authors[0].name }}">
 | |
|     {% 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 %}
 | |
|       {% if page.is_homepage %}
 | |
|         <link rel="alternate" href="https://www.privacyguides.org/" hreflang="x-default">
 | |
|       {% else %}
 | |
|         <link rel="alternate" href="{{ "https://www.privacyguides.org/" ~ "en" ~ "/" ~ page.url }}" hreflang="x-default">
 | |
|       {% endif %}
 | |
|     {% 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">
 | |
|     {% if page %}
 | |
|     <meta name="global-data" id="global-data" {% for data in page.meta.global %}data-{{ data.0 }}="{{data.1}}"{% endfor %}>
 | |
|     {% endif %}
 | |
| {% endblock %}
 | |
| {% block htmltitle %}
 | |
|     {% if page.meta and page.meta.meta_title and config.theme.language == "en" %}
 | |
|     <title>{{ page.meta.meta_title }}</title>
 | |
|     {% elif page.meta and page.meta.title %}
 | |
|     <title>{{ page.meta.title }} - {{ config.site_name }}</title>
 | |
|     {% elif page.title and not page.is_homepage %}
 | |
|     <title>{{ page.title | striptags }} - {{ config.site_name }}</title>
 | |
|     {% else %}
 | |
|     <title>{{ config.site_name }}</title>
 | |
|     {% endif %}
 | |
| {% endblock %}
 | |
| 
 | |
| {% block extrahead %}
 | |
|   <!-- language-specific stylesheets -->
 | |
|   {% if config.extra.privacy_guides.translation_stylesheet %}
 | |
|   <link rel="stylesheet" href="{{ config.extra.privacy_guides.translation_stylesheet | url }}" />
 | |
|   {% endif %}
 | |
| 
 | |
|   {% if page and page.meta and page.meta.robots %}
 | |
|   <meta name="robots" content="{{ page.meta.robots }}">
 | |
|   {% else %}
 | |
|     <meta name="robots" content="max-snippet:-1, max-image-preview:large">
 | |
|   {% endif %}
 | |
| 
 | |
|   {% if not config.extra.offline %}
 | |
|   <script defer src="https://cdn.jsdelivr.net/ghost/portal@2.53.2/umd/portal.min.js"
 | |
|           data-i18n="true"
 | |
|           data-ghost="{{ config.extra.ghost.base_url }}/"
 | |
|           data-key="{{ config.extra.ghost.content_api_key }}"
 | |
|           data-api="{{ config.extra.ghost.admin_url }}/api/content/"
 | |
|           data-locale="{{ config.theme.language }}"
 | |
|           data-members-signin-otc="false"
 | |
|           crossorigin="anonymous">
 | |
|   </script>
 | |
|   <script defer src="https://cdn.jsdelivr.net/ghost/announcement-bar@~1.1/umd/announcement-bar.min.js"
 | |
|           data-announcement-bar="{{ config.extra.ghost.base_url }}/"
 | |
|           data-api-url="{{ config.extra.ghost.base_url }}/members/api/announcement/"
 | |
|           crossorigin="anonymous">
 | |
|   </script>
 | |
|   {% endif %}
 | |
| 
 | |
|   {% if config.extra.context == "production" %}
 | |
| 
 | |
|     <link href="{{ config.extra.ghost.base_url }}/webmentions/receive/" rel="webmention">
 | |
|     <meta http-equiv="onion-location" content="{{ page.canonical_url | replace("https://www.privacyguides.org", "http://www.xoe4vn5uwdztif6goazfbmogh6wh5jc4up35bqdflu6bkdc5cas5vjqd.onion") }}" />
 | |
| 
 | |
|     {% if config.theme.language == "en" %}
 | |
|       <script defer src="{{ config.extra.ghost.base_url }}/public/ghost-stats.min.js?v=8037af1487"
 | |
|               data-stringify-payload="false"
 | |
|               data-datasource="analytics_events"
 | |
|               data-storage="localStorage"
 | |
|               data-host="{{ config.extra.ghost.base_url }}/.ghost/analytics/api/v1/page_hit"
 | |
|               tb_site_uuid="{{ config.extra.ghost.tb_site_uuid }}"
 | |
|               tb_post_uuid="undefined"
 | |
|               tb_post_type="null"
 | |
|               tb_member_uuid="undefined"
 | |
|               tb_member_status="undefined">
 | |
|       </script>
 | |
|     {% endif %}
 | |
| 
 | |
|   {% endif %}
 | |
| 
 | |
|   {% if page and page.meta and page.meta.schema %}
 | |
|   <script type="application/ld+json">
 | |
|   {{ page.meta.schema|tojson }}
 | |
|   </script>
 | |
|   {% endif %}
 | |
| {% endblock %}
 |