aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
Diffstat (limited to '_includes')
-rw-r--r--_includes/head.html13
1 files changed, 7 insertions, 6 deletions
diff --git a/_includes/head.html b/_includes/head.html
index 20217ea..012e8c7 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -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 -->