From 731f5bac1aea36e1b3fa937552f27b3d503cf83a Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Tue, 13 Dec 2016 14:16:54 -0500 Subject: [PATCH] Use Jekyll SEO Tag to generate the search engine HEAD meta. This commit moves the site to use the official Jekyll SEO Tag plugin (https://github.com/jekyll/jekyll-seo-tag) to generate the search-engine meta in the HEAD of each page. The title and canonical URL output should be largely the same as before, but with additional metadata, such as JSON-LD (for richer indexing), Twitter card metadat, etc. Like the other plugins, this should largely work out-of-the-box, with no additional day-to-day configuration, but is customizable where desired. --- _config.yml | 6 ++++++ _includes/head-header.html | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index b5c1134b21..8b131eb433 100644 --- a/_config.yml +++ b/_config.yml @@ -33,3 +33,9 @@ gems: - jekyll-redirect-from - jekyll-feed - jekyll-sitemap + - jekyll-seo-tag + +# SEO +logo: /images/favicon.png +twitter: + username: kubernetesio diff --git a/_includes/head-header.html b/_includes/head-header.html index 28cec80a84..e2b18fa6ee 100644 --- a/_includes/head-header.html +++ b/_includes/head-header.html @@ -2,7 +2,6 @@ - {% if !page.no_canonical %}{% endif %} @@ -14,7 +13,7 @@ - Kubernetes - {{ title }} + {% seo %}