diff --git a/README.md b/README.md index d2d1f5e665..56a080be8b 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ Contains the `main.scss` that imports sass files from within the `_sass` directo This directory can include sub-directories to manage assets of similar type, and will be copied over as is, to the final transformed site directory. +### Plugins + +Minima comes with [`jekyll-seo-tag`](https://github.com/jekyll/jekyll-seo-tag) plugin preinstalled to make sure your website gets the most useful meta tags. See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set it up. ## Usage diff --git a/_includes/head.html b/_includes/head.html index 99b698fc81..6611762a52 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,15 +2,10 @@ - - {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} - - + {% seo %} - - {% if jekyll.environment == 'production' and site.google_analytics %} - {% include google-analytics.html %} + {% include google-analytics.html %} {% endif %} diff --git a/minima.gemspec b/minima.gemspec index e9f6f6e4b5..b0bdfd9ed0 100644 --- a/minima.gemspec +++ b/minima.gemspec @@ -19,6 +19,8 @@ Gem::Specification.new do |spec| spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } - spec.add_runtime_dependency "jekyll", "~> 3.3" + spec.add_runtime_dependency "jekyll", "~> 3.5" + spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.1" + spec.add_development_dependency "bundler", "~> 1.12" end