diff --git a/lib/template.html b/lib/template.html index 4b87b8e..ba29151 100644 --- a/lib/template.html +++ b/lib/template.html @@ -88,7 +88,7 @@ {{ seo_title }} {% endif %} -{% if seo_title %} +{% if seo_page_title %} {% endif %} @@ -126,12 +126,6 @@ {% if site.twitter %} - - - - {% if page.image %} - - {% endif %} {% if seo_author_twitter %} diff --git a/spec/jekyll_seo_tag_spec.rb b/spec/jekyll_seo_tag_spec.rb index 4fa5a1d..ca664ff 100644 --- a/spec/jekyll_seo_tag_spec.rb +++ b/spec/jekyll_seo_tag_spec.rb @@ -266,16 +266,6 @@ EOS expect(output).to match(expected) end end - - context 'with page.image' do - let(:site) { make_site('twitter' => site_twitter, 'url' => 'http://example.invalid') } - let(:page) { make_page('image' => '/img/foo.png') } - - it 'outputs the image' do - expected = %r{} - expect(output).to match(expected) - end - end end end