169 lines
4.8 KiB
HTML
Executable File
169 lines
4.8 KiB
HTML
Executable File
<!-- Begin Jekyll SEO tag v{{ seo_tag.version }} -->
|
|
{% if seo_tag.title? %}
|
|
<title>{{ seo_tag.title }}</title>
|
|
{% endif %}
|
|
|
|
{% if seo_tag.page_title %}
|
|
<meta property="og:title" content="{{ seo_tag.page_title }}" />
|
|
{% endif %}
|
|
|
|
{% if seo_tag.author.name %}
|
|
<meta name="author" content="{{ seo_tag.author.name }}" />
|
|
{% endif %}
|
|
|
|
<meta property="og:locale" content="{{ seo_tag.page_lang | replace:'-','_' }}" />
|
|
|
|
{% if seo_tag.description %}
|
|
<meta name="description" content="{{ seo_tag.description }}" />
|
|
<meta property="og:description" content="{{ seo_tag.description }}" />
|
|
{% endif %}
|
|
|
|
{% if site.url %}
|
|
<link rel="canonical" href="{{ page.url | replace:'/index.html','/' | absolute_url }}" />
|
|
<meta property="og:url" content="{{ page.url | replace:'/index.html','/' | absolute_url }}" />
|
|
{% endif %}
|
|
|
|
{% if seo_tag.site_title %}
|
|
<meta property="og:site_name" content="{{ seo_tag.site_title }}" />
|
|
{% endif %}
|
|
|
|
{% if seo_tag.image %}
|
|
<meta property="og:image" content="{{ seo_tag.image.path }}" />
|
|
{% if seo_tag.image.height %}
|
|
<meta property="og:image:height" content="{{ seo_tag.image.height }}" />
|
|
{% endif %}
|
|
{% if seo_tag.image.width %}
|
|
<meta property="og:image:width" content="{{ seo_tag.image.width }}" />
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if page.date %}
|
|
<meta property="og:type" content="article" />
|
|
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}" />
|
|
{% endif %}
|
|
|
|
{% if paginator.previous_page %}
|
|
<link rel="prev" href="{{ paginator.previous_page_path | absolute_url }}">
|
|
{% endif %}
|
|
{% if paginator.next_page %}
|
|
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
|
{% endif %}
|
|
|
|
{% if site.twitter %}
|
|
{% if seo_tag.image %}
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
{% else %}
|
|
<meta name="twitter:card" content="summary" />
|
|
{% endif %}
|
|
|
|
<meta name="twitter:site" content="@{{ site.twitter.username | replace:"@","" }}" />
|
|
|
|
{% if seo_tag.author.twitter %}
|
|
<meta name="twitter:creator" content="@{{ seo_tag.author.twitter }}" />
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if site.facebook %}
|
|
{% if site.facebook.admins %}
|
|
<meta property="fb:admins" content="{{ site.facebook.admins }}" />
|
|
{% endif %}
|
|
|
|
{% if site.facebook.publisher %}
|
|
<meta property="article:publisher" content="{{ site.facebook.publisher }}" />
|
|
{% endif %}
|
|
|
|
{% if site.facebook.app_id %}
|
|
<meta property="fb:app_id" content="{{ site.facebook.app_id }}" />
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if site.webmaster_verifications %}
|
|
{% if site.webmaster_verifications.google %}
|
|
<meta name="google-site-verification" content="{{ site.webmaster_verifications.google }}">
|
|
{% endif %}
|
|
|
|
{% if site.webmaster_verifications.bing %}
|
|
<meta name="msvalidate.01" content="{{ site.webmaster_verifications.bing }}">
|
|
{% endif %}
|
|
|
|
{% if site.webmaster_verifications.alexa %}
|
|
<meta name="alexaVerifyID" content="{{ site.webmaster_verifications.alexa }}">
|
|
{% endif %}
|
|
|
|
{% if site.webmaster_verifications.yandex %}
|
|
<meta name="yandex-verification" content="{{ site.webmaster_verifications.yandex }}">
|
|
{% endif %}
|
|
{% elsif site.google_site_verification %}
|
|
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
|
|
{% endif %}
|
|
|
|
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "http://schema.org",
|
|
|
|
{% if seo_tag.type %}
|
|
"@type": {{ seo_tag.type | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.name %}
|
|
"name": {{ seo_tag.name | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.page_title %}
|
|
"headline": {{ seo_tag.page_title | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.author %}
|
|
"author": {
|
|
"@type": "Person",
|
|
"name": {{ seo_tag.author.name | jsonify }}
|
|
},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.image %}
|
|
"image": {{ seo_tag.image.path | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if page.date %}
|
|
"datePublished": {{ page.date | date_to_xmlschema | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.date_modified %}
|
|
"dateModified": {{ seo_tag.date_modified | date_to_xmlschema | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.description %}
|
|
"description": {{ seo_tag.description | jsonify }},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.logo %}
|
|
"publisher": {
|
|
"@type": "Organization",
|
|
{% if seo_tag.author %}
|
|
"name": {{ seo_tag.author.name | jsonify }},
|
|
{% endif %}
|
|
"logo": {
|
|
"@type": "ImageObject",
|
|
"url": {{ seo_tag.logo | jsonify }}
|
|
}
|
|
},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.type == "BlogPosting" or seo_tag.type == "CreativeWork"%}
|
|
"mainEntityOfPage": {
|
|
"@type": "WebPage",
|
|
"@id": {{ page.url | replace:'/index.html','/' | absolute_url | jsonify }}
|
|
},
|
|
{% endif %}
|
|
|
|
{% if seo_tag.links %}
|
|
"sameAs": {{ seo_tag.links | jsonify }},
|
|
{% endif %}
|
|
|
|
"url": {{ page.url | replace:'/index.html','/' | absolute_url | jsonify }}
|
|
}
|
|
</script>
|
|
|
|
<!-- End Jekyll SEO tag -->
|