From 8c0156c1afa69354dae0a72845e5a12401f12ed0 Mon Sep 17 00:00:00 2001 From: Amy Troschinetz Date: Fri, 7 Aug 2020 20:06:10 -0700 Subject: [PATCH] Adds support for meta keywords (#691) --- CHANGELOG.md | 1 + _config.yml | 3 +++ _includes/head.html | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dab434d00a34..b163ce77aea1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## Unreleased version +- Adds support for site level keywords page meta header. (#691) - Adds support for custom meta-theme site color. (#692) - Add support for `site-css` config parameter to provide site-level CSS files. (#695) - Add support for `description` YAML parameter to provide a more detailed meta description (#690) diff --git a/_config.yml b/_config.yml index 3568fc429404..8ecc00de7c64 100644 --- a/_config.yml +++ b/_config.yml @@ -80,6 +80,9 @@ link-tags: true # Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page excerpt_length: 50 +# Sets the search engine keywords for pages on your site +#keywords: "my,list,of,keywords" + # --- Colours / background image --- # # Personalize the colors in your website. Colour values can be any valid CSS colour diff --git a/_includes/head.html b/_includes/head.html index ada9ffc65176..9d813aa4fdc4 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -18,6 +18,10 @@ {% endif %} + {% if site.keywords %} + + {% endif %} + {% include gtag.html %}