basspistol.com/_includes/seo.html

158 lines
7 KiB
HTML
Raw Normal View History

2020-09-08 18:07:38 +02:00
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{% if page.collection == 'posts' %}
2020-07-09 10:15:00 +02:00
<!-- BEGIN seo.html -->
2020-09-08 18:07:38 +02:00
<title>{{ page.title }} | {{ site.title }}</title>
<meta name="title" content="{{ page.title | xml_escape }} | {{ site.title | xml_escape }}" />
<meta name="description" content="{{ page.description }}" />
2020-07-09 10:15:00 +02:00
<meta name="dc.date.modified" scheme="ISO8601" content="{{ page.last_modified_at | date_to_xmlschema }}" />
<meta name="robots" content="index" />
2020-09-08 18:07:38 +02:00
2020-07-09 10:15:00 +02:00
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<link rel="alternate" hreflang="x-default" href="{{ site.url }}{{ page.url }}" />
<meta name="geo.region" content="{{ site.geo.region }}" />
<meta name="geo.placename" content="{{ site.geo.town }}" />
<meta name="geo.position" content="{{ site.geo.lat }};{{ site.geo.long }}" />
<meta name="ICBM" content="{{ site.geo.lat }}, {{ site.geo.long }}" />
<meta name="author" content="{{ site.title }}" />
<meta name="generator" content="Jekyll v4.0.0" />
<!-- Dublin Core basic info -->
<meta name="dcterms.Identifier" content="{{ site.url }}" />
<meta name="dcterms.Format" content="text/html" />
2020-09-08 18:07:38 +02:00
<meta name="dcterms.Relation" content="{{ site.title | xml_escape }}" />
<meta name="dcterms.Publisher" content="{{ site.publisher.name | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta name="dcterms.Type" content="text/html" />
<meta name="dcterms.Coverage" content="{{ site.url }}/" />
<meta name="dcterms.Rights" content="Copyright &copy;{{ site.time | date: '%Y' }} {{ site.title }}." />
2020-09-08 18:07:38 +02:00
<meta name="dcterms.Subject" content="{{ page.description | xml_escape }}" />
<meta name="dcterms.Title" content="{{ page.title | xml_escape }}" />
<meta name="dcterms.Contributor" content="{{ site.title | xml_escape }}" />
<meta name="dcterms.Date" content="{{ page.date | date: '%Y-%m-%d' }}" />
<meta name="dcterms.Description" content="{{ page.description | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<!-- Facebook -->
2020-09-08 18:07:38 +02:00
<meta property="og:title" content="{{ page.title | xml_escape }} | {{ site.title | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta property="og:locale" content="en" />
2020-09-08 18:07:38 +02:00
<meta property="og:description" content="{{ page.description | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
2020-09-08 18:07:38 +02:00
<meta property="og:site_name" content="{{ site.title | xml_escape }}" />
<meta property="og:type" content="webpage" />
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
<meta property="og:image" content="{{ site.url }}{{ page.image }}" />
2020-07-09 10:15:00 +02:00
<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
2020-09-08 18:07:38 +02:00
<meta name="twitter:title" content="{{ page.title | xml_escape }} | {{ site.title | xml_escape }}" />
<meta name="twitter:description" content="{{ page.description | xml_escape }}" />
<meta name="twitter:image" content="{{ site.url }}{{ page.image }}" />
2020-07-09 10:15:00 +02:00
2020-07-11 09:23:18 +02:00
2020-09-08 18:07:38 +02:00
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "Organization",
"name": "{{ site.title | xml_escape }}",
"url": "{{ site.url | xml_escape }}",
"sameAs": [
{% for social in site.social.links %}"{{ social }}"{% unless forloop.last %},{% endunless %}{% endfor %}
],
"logo": "{{ site.url }}/siteicon.png",
"image": "{{ site.url }}{{ page.image }}",
"description": "{{ site.description | xml_escape }}",
"address": {
"@type": "PostalAddress",
"addressLocality": "{{ site.geo.town }}",
"addressRegion": "{{ site.geo.region }}",
"postalCode": "{{ site.geo.postalcode }}",
"addressCountry": "{{ site.geo.country }}"
}
}
</script>
2020-07-09 10:15:00 +02:00
{% else %}
<!-- BEGIN seo.html -->
<title>{{ page.title }} | {{ site.title }}</title>
2020-09-08 18:07:38 +02:00
<meta name="title" content="{{ page.title | xml_escape }} | {{ site.title | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta name="description" content="{{ page.description }}" />
<meta name="dc.date.modified" scheme="ISO8601" content="{{ page.last_modified_at | date_to_xmlschema }}" />
<meta name="robots" content="index" />
2020-09-08 18:07:38 +02:00
2020-07-09 10:15:00 +02:00
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
<link rel="alternate" hreflang="x-default" href="{{ site.url }}{{ page.url }}" />
<meta name="geo.region" content="{{ site.geo.region }}" />
<meta name="geo.placename" content="{{ site.geo.town }}" />
<meta name="geo.position" content="{{ site.geo.lat }};{{ site.geo.long }}" />
<meta name="ICBM" content="{{ site.geo.lat }}, {{ site.geo.long }}" />
<meta name="author" content="{{ site.title }}" />
<meta name="generator" content="Jekyll v4.0.0" />
<!-- Dublin Core basic info -->
<meta name="dcterms.Identifier" content="{{ site.url }}" />
<meta name="dcterms.Format" content="text/html" />
2020-09-08 18:07:38 +02:00
<meta name="dcterms.Relation" content="{{ site.title | xml_escape }}" />
<meta name="dcterms.Publisher" content="{{ site.publisher.name | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta name="dcterms.Type" content="text/html" />
<meta name="dcterms.Coverage" content="{{ site.url }}/" />
<meta name="dcterms.Rights" content="Copyright &copy;{{ site.time | date: '%Y' }} {{ site.title }}." />
2020-09-08 18:07:38 +02:00
<meta name="dcterms.Subject" content="{{ page.description | xml_escape }}" />
<meta name="dcterms.Title" content="{{ page.title | xml_escape }}" />
<meta name="dcterms.Contributor" content="{{ site.title | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta name="dcterms.Date" content="{{ page.last_modified_at | date: '%Y-%m-%d' }}" />
2020-09-08 18:07:38 +02:00
<meta name="dcterms.Description" content="{{ page.description | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<!-- Facebook -->
2020-09-08 18:07:38 +02:00
<meta property="og:title" content="{{ page.title | xml_escape }} | {{ site.title | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta property="og:locale" content="en" />
2020-09-08 18:07:38 +02:00
<meta property="og:description" content="{{ page.description | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
2020-09-08 18:07:38 +02:00
<meta property="og:site_name" content="{{ site.title | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta property="og:type" content="webpage" />
<meta property="article:published_time" content="{{ page.last_modified_at | date_to_xmlschema }}" />
<meta property="og:image" content="{{ site.url }}{{ page.image }}" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
2020-09-08 18:07:38 +02:00
<meta name="twitter:title" content="{{ page.title | xml_escape }} | {{ site.title | xml_escape }}" />
<meta name="twitter:description" content="{{ page.description | xml_escape }}" />
2020-07-09 10:15:00 +02:00
<meta name="twitter:image" content="{{ site.url }}{{ page.image }}" />
2020-07-11 09:23:18 +02:00
2020-09-08 18:07:38 +02:00
2020-07-10 11:46:33 +02:00
2020-07-11 09:23:18 +02:00
2020-07-10 11:46:33 +02:00
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
2020-07-11 09:23:18 +02:00
"@type": "Organization",
2020-09-08 18:07:38 +02:00
"name": "{{ site.title | xml_escape }}",
"url": "{{ site.url | xml_escape }}",
2020-07-11 09:23:18 +02:00
"sameAs": [
{% for social in site.social.links %}"{{ social }}"{% unless forloop.last %},{% endunless %}{% endfor %}
],
2020-09-08 18:07:38 +02:00
"logo": "{{ site.url }}/siteicon.png",
"image": "{{ site.url }}{{ page.image }}",
"description": "{{ site.description | xml_escape }}",
2020-07-11 09:23:18 +02:00
"address": {
"@type": "PostalAddress",
"addressLocality": "{{ site.geo.town }}",
"addressRegion": "{{ site.geo.region }}",
"postalCode": "{{ site.geo.postalcode }}",
"addressCountry": "{{ site.geo.country }}"
2020-07-10 11:46:33 +02:00
}
}
2020-07-11 09:23:18 +02:00
</script>
2020-09-08 18:07:38 +02:00
{% endif %}
2020-07-11 09:23:18 +02:00
2020-09-08 18:07:38 +02:00
<link rel="alternate" type="application/rss+xml" href="{{ site.url}}/feed.xml" title="{{ site.title }}" />
2020-07-11 09:23:18 +02:00
<!-- END seo.html -->