Add SEO stuff
- <head> related SEO - Twitter Cards and Open Graph metas - Webmaster tool verifications
This commit is contained in:
+1
-12
@@ -1,18 +1,7 @@
|
||||
<meta charset="utf-8">
|
||||
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.title }}</title>
|
||||
{% if page.excerpt %}<meta name="description" content="{{ page.excerpt | strip_html }}">{% endif %}
|
||||
<meta name="keywords" content="{{ page.tags | join: ', ' }}">
|
||||
{% if page.author %}
|
||||
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.owner %}
|
||||
{% endif %}
|
||||
|
||||
{% include open-graph.html %}
|
||||
{% include seo.html %}
|
||||
|
||||
{% if site.owner.google.verify %}<!-- Webmaster Tools verfication -->
|
||||
<meta name="google-site-verification" content="{{ site.owner.google.verify }}">{% endif %}
|
||||
{% if site.owner.bing-verify %}<meta name="msvalidate.01" content="{{ site.owner.bing-verify }}">{% endif %}
|
||||
|
||||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: absurl }}">
|
||||
<link href="{{ absurl }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||
|
||||
<!-- http://t.co/dKP3o1e -->
|
||||
|
||||
Reference in New Issue
Block a user