diff --git a/lib/template.html b/lib/template.html index 7e01a10..45d3aae 100644 --- a/lib/template.html +++ b/lib/template.html @@ -84,7 +84,7 @@ {% endif %} {% if page.image %} - + {% endif %} {% if page.date %} diff --git a/spec/jekyll_seo_tag_spec.rb b/spec/jekyll_seo_tag_spec.rb index a607758..880a5f8 100644 --- a/spec/jekyll_seo_tag_spec.rb +++ b/spec/jekyll_seo_tag_spec.rb @@ -111,10 +111,10 @@ describe Jekyll::SeoTag do end context 'with page.image' do - let(:page) { make_page('image' => 'foo.png') } + let(:page) { make_page('image' => '/img/foo.png') } it 'outputs the image' do - expected = %r{} + expected = %r{} expect(output).to match(expected) end end