2018-07-12 13:19:34 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block extrahead %}
|
|
|
|
|
2020-08-05 18:13:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
<meta name="author" content="Allan Bowe">
|
|
|
|
|
|
|
|
{% set title = config.site_name %}
|
|
|
|
{% if page and page.meta and page.meta.title %}
|
2022-07-15 13:26:54 +00:00
|
|
|
{% set title = title ~ " - " ~ page.meta.title %}
|
2020-08-05 18:13:19 +00:00
|
|
|
{% elif page and page.title and not page.is_homepage %}
|
2022-07-15 13:26:54 +00:00
|
|
|
{% set title = title ~ " - " ~ page.title | striptags %}
|
2020-08-05 18:13:19 +00:00
|
|
|
{% endif %}
|
|
|
|
<meta property="og:type" content="website" />
|
2021-07-04 12:33:21 +00:00
|
|
|
|
|
|
|
{% if page and page.meta and page.meta.og_title %}
|
2022-07-15 13:26:54 +00:00
|
|
|
{% set og_title = page.meta.og_title %}
|
2021-07-04 12:33:21 +00:00
|
|
|
{% elif page %}
|
2022-07-15 13:26:54 +00:00
|
|
|
{% set og_title = 'Data Controller Documentation' %}
|
2021-07-04 12:33:21 +00:00
|
|
|
{% endif %}
|
|
|
|
<meta property="og:title" content="{{og_title}}">
|
|
|
|
|
2020-08-05 18:13:19 +00:00
|
|
|
<meta property="og:url" content="{{ page.canonical_url }}" />
|
2020-09-26 14:51:37 +00:00
|
|
|
{% if page and page.meta and page.meta.og_image %}
|
2022-07-15 13:26:54 +00:00
|
|
|
{% set og_image = page.meta.og_image %}
|
2020-09-26 14:51:37 +00:00
|
|
|
{% elif page %}
|
2022-07-15 13:26:54 +00:00
|
|
|
{% set og_image = 'https://www.rawsas.com/wp-content/uploads/2018/07/dc_social.png' %}
|
2020-09-26 14:51:37 +00:00
|
|
|
{% endif %}
|
2022-07-15 13:26:54 +00:00
|
|
|
<meta property='og:image' content="{{og_image}}" />
|
2020-08-05 18:13:19 +00:00
|
|
|
<meta property="og:image:type" content="image/png" />
|
|
|
|
|
|
|
|
|
|
|
|
{% if page and page.meta and page.meta.description %}
|
|
|
|
<meta property="og:description" content="{{ page.meta.description }}" />
|
|
|
|
{% elif config.site_description %}
|
|
|
|
<meta property="og:description" content="{{ config.site_description }}" />
|
|
|
|
{% endif %}
|
2018-07-12 13:19:34 +00:00
|
|
|
|
2022-07-15 13:26:54 +00:00
|
|
|
<!-- Matomo -->
|
|
|
|
<script>
|
|
|
|
var _paq = window._paq = window._paq || [];
|
|
|
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
|
|
_paq.push(['trackPageView']);
|
|
|
|
_paq.push(['enableLinkTracking']);
|
|
|
|
(function () {
|
|
|
|
var u = "https://analytics.4gl.io/";
|
|
|
|
_paq.push(['setTrackerUrl', u + 'matomo.php']);
|
|
|
|
_paq.push(['setSiteId', '4']);
|
|
|
|
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
|
|
|
|
g.async = true; g.src = u + 'matomo.js'; s.parentNode.insertBefore(g, s);
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
<!-- End Matomo Code -->
|
|
|
|
|
|
|
|
{% endblock %}
|