Merge pull request #45 from benbalter/google-site-verification

Add google site verification meta tag
This commit is contained in:
Ben Balter 2016-02-09 16:22:37 -05:00
commit dff6003713
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,7 @@
A Jekyll plugin to add metadata tags for search engines and social networks to better index and display your site's content.
[![Gem Version](https://badge.fury.io/rb/jekyll-seo-tag.svg)](https://badge.fury.io/rb/jekyll-seo-tag) [![Build Status](https://travis-ci.org/benbalter/jekyll-seo-tag.svg)](https://travis-ci.org/benbalter/jekyll-seo-tag)
[![Gem Version](https://badge.fury.io/rb/jekyll-seo-tag.svg)](https://badge.fury.io/rb/jekyll-seo-tag) [![Build Status](https://travis-ci.org/benbalter/jekyll-seo-tag.svg)](https://travis-ci.org/benbalter/jekyll-seo-tag)
## What it does
@ -68,6 +68,7 @@ The SEO tag will respect any of the following if included in your site's `_confi
* `type` - Either `person` or `organization` (defaults to `person`)
* `name` - If the user or organization name differs from the site's name
* `links` - An array of links to social media profiles.
* `google_site_verification` for verifying ownership via Google webmaster tools
The SEO tag will respect the following YAML front matter if included in a post, page, or document:

View File

@ -116,6 +116,9 @@
{% if site.facebook %}
<meta property="article:publisher" content="{{ site.facebook.publisher }}" />
<meta property="fb:app_id" content="{{ site.facebook.app_id }}" />
{% if site.google_site_verification %}
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
{% endif %}
{% if site.logo %}