privacyguides.org/_includes/head.html
lexi 433b31186f
Fix meta description tags (#773)
Signed-off-by: Daniel Gray <dng@disroot.org>
2022-03-23 15:34:47 +10:30

50 lines
2.8 KiB
HTML

<head>
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="keywords" content="privacy, anonymity, privacy guides, surveillance, encryption">
<meta name="description" content="{% if page.description %}{{ page.description | markdownify | strip_html | escape }}{% else %}{{ site.description | escape }}{% endif %}">
<link rel="canonical" href="{{ page.url | prepend: site.url | replace:'index.html','' }}">
<!-- title & Open Graph -->
{% if page.title %}
<title>{{ page.title }} | {{ site.title }}</title>
<meta property="og:title" content="{{ page.title | escape }} | {{ site.title | escape }}" />
{% else %}
<title>{{ site.title }}{%if page.url == "/" %} — Your Central Privacy and Security Resource{% endif %}</title>
<meta property="og:title" content="{{ site.title | escape }}" />
{% endif %}
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ page.url | prepend: site.url }}" />
<meta property="og:description" content="{% if page.description %}{{ page.description | markdownify | strip_html | escape }}{% else %}{{ site.description | escape }}{% endif %}"/>
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="{{ site.title | escape }}" />
<script type="application/ld+json">
{{ site.data.schema.organization | jsonify }}
</script>
<!-- blog feeds -->
<link rel="alternate" title="Blog (JSON feed)" type="application/json" href="/feed.json" />
<link rel="alternate" title="Blog (Atom feed)" type="application/rss+xml" href="/feed.xml" />
<!-- favicons and theme -->
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/layout/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/layout/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/layout/favicon-16x16.png">
<link rel="manifest" href="/assets/files/meta/site.webmanifest">
<link rel="mask-icon" href="/assets/img/layout/safari-pinned-tab.svg" color="#ffd06f">
<link rel="shortcut icon" href="/assets/img/layout/favicon.ico">
<meta name="apple-mobile-web-app-title" content="Privacy Guides">
<meta name="application-name" content="Privacy Guides">
<meta name="msapplication-TileColor" content="#ffd06f">
<meta name="msapplication-config" content="/assets/files/meta/browserconfig.xml">
<meta name="theme-color" content="#ffd06f">
<!-- CSS stylesheets -->
<link href="/assets/css/app.css?v=20210506" rel="stylesheet">
<link href="/assets/fonts/vendor/fontawesome/css/all.min.css?v=6.0.0-beta1" rel="stylesheet">
<link id="dark-css" href="/assets/css/dark.css?v=20210506" rel="stylesheet" media="(prefers-color-scheme: dark)">
</head>