From 2e4d66999bc65d0d10b1f2d202f77ff34839724c Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Mon, 10 Oct 2016 17:13:33 -0700 Subject: [PATCH 1/2] Add jekyll-seo-tag to Jekyll template Makes title, description, and keywords populate the right tags See https://github.com/jekyll/jekyll-seo-tag An example of this in action: ``` Docker Engine - Docker ``` --- _config.yml | 2 ++ _layouts/docs.html | 1 + 2 files changed, 3 insertions(+) diff --git a/_config.yml b/_config.yml index b924d4a473..325fef38d0 100644 --- a/_config.yml +++ b/_config.yml @@ -17,6 +17,8 @@ gems: - jekyll-redirect-from - jekyll-sitemap - jekyll-gist + - jekyll-seo-tag + defaults: - diff --git a/_layouts/docs.html b/_layouts/docs.html index dc5ff90711..192f34abb5 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -81,6 +81,7 @@ ng\:form { +{% seo %}
From d832bfc3d5765f3d1f0b53f8d4a662c6c44f46c3 Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Tue, 11 Oct 2016 14:31:10 -0700 Subject: [PATCH 2/2] Cleanup of metadata --- _layouts/docs.html | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/_layouts/docs.html b/_layouts/docs.html index 192f34abb5..2582df7b6f 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -31,22 +31,17 @@ ng\:form { - - - + - - + -Docker Docs{% if page.title %}: {{ page.title }}{% endif %} - - +