Collection with additional meta tags
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
bbf5de4c46
commit
9504770729
8
_data/meta_tags.yml
Normal file
8
_data/meta_tags.yml
Normal file
@ -0,0 +1,8 @@
|
||||
- name: "google-site-verification"
|
||||
content: "BkBsaYAO1LuQDRceyK2odvcpfuP2al0y04LnBda1uvE"
|
||||
|
||||
- name: "yandex-verification"
|
||||
content: "14221e61b87bbd27"
|
||||
|
||||
- name: "robots"
|
||||
content: "index, follow"
|
@ -3,17 +3,18 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<link rel="canonical" href="{{ page.url | absolute_url | uri_escape }}" />
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11" />
|
||||
|
||||
<!-- Search engines -->
|
||||
<link rel="canonical" href="{{ page.url | absolute_url | uri_escape }}" />
|
||||
<meta name="google-site-verification" content="{{ site.verification.google | strip_newlines | strip_html | strip | normalize_whitespace | cgi_escape }}" />
|
||||
<meta name="yandex-verification" content="{{ site.verification.yandex | strip_newlines | strip_html | strip | normalize_whitespace | cgi_escape }}" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<!-- Advanced meta tags -->
|
||||
{% for tag in site.data.meta_tags %}
|
||||
<meta name="{{ tag.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}"
|
||||
content="{{ tag.content | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}" />
|
||||
{% endfor %}
|
||||
|
||||
<!-- Title / Description -->
|
||||
<meta name="application-name" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | downcase | capitalize }}" />
|
||||
<meta name="description" content="{{ page.description | default: site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 100 }}" />
|
||||
<meta name="application-name" content="{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | capitalize }}" />
|
||||
<title>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncate: 64 }}</title>
|
||||
|
||||
<!-- CSS -->
|
||||
|
Loading…
Reference in New Issue
Block a user