Adds support for meta keywords (#691)

This commit is contained in:
Amy Troschinetz 2020-08-07 20:06:10 -07:00 committed by GitHub
parent ed31f79fb6
commit 8c0156c1af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
## Unreleased version ## Unreleased version
- Adds support for site level keywords page meta header. (#691)
- Adds support for custom meta-theme site color. (#692) - 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 `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) - Add support for `description` YAML parameter to provide a more detailed meta description (#690)

View File

@ -80,6 +80,9 @@ link-tags: true
# Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page # Excerpt Word Length - Truncates the excerpt to the specified number of words on the index page
excerpt_length: 50 excerpt_length: 50
# Sets the search engine keywords for pages on your site
#keywords: "my,list,of,keywords"
# --- Colours / background image --- # # --- Colours / background image --- #
# Personalize the colors in your website. Colour values can be any valid CSS colour # Personalize the colors in your website. Colour values can be any valid CSS colour

View File

@ -18,6 +18,10 @@
<meta name="theme-color" content="{{ site.custom-site-color }}"> <meta name="theme-color" content="{{ site.custom-site-color }}">
{% endif %} {% endif %}
{% if site.keywords %}
<meta name="keywords" content="{{ site.keywords }}">
{% endif %}
<link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}"> <link rel="alternate" type="application/rss+xml" title="{{ site.title | default: 'Untitled' }} {{ site.title-separator | default: '-' }} {{ site.description }}" href="{{ '/feed.xml' | absolute_url }}">
{% include gtag.html %} {% include gtag.html %}