diff --git a/lib/template.html b/lib/template.html index 1a3c979..981aa9a 100755 --- a/lib/template.html +++ b/lib/template.html @@ -18,6 +18,7 @@ {% if seo_tag.description %} + {% endif %} {% if site.url %} diff --git a/spec/jekyll_seo_tag_integration_spec.rb b/spec/jekyll_seo_tag_integration_spec.rb index d7e934e..f7b1cb8 100755 --- a/spec/jekyll_seo_tag_integration_spec.rb +++ b/spec/jekyll_seo_tag_integration_spec.rb @@ -124,6 +124,7 @@ RSpec.describe Jekyll::SeoTag do it "uses the page description" do expect(output).to match(%r!!) expect(output).to match(%r!!) + expect(output).to match(%r!!) end end @@ -133,6 +134,7 @@ RSpec.describe Jekyll::SeoTag do it "uses the page excerpt when no page description exists" do expect(output).to match(%r!!) expect(output).to match(%r!!) + expect(output).to match(%r!!) end end @@ -142,6 +144,7 @@ RSpec.describe Jekyll::SeoTag do it "uses the site description when no page description nor excerpt exist" do expect(output).to match(%r!!) expect(output).to match(%r!!) + expect(output).to match(%r!!) end end