From 56c7f4e238c815af4a81167f37c6131a8de1b565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Sat, 30 Jan 2016 21:50:45 +0100 Subject: [PATCH 1/2] Fix HTML5 validation error Removed itemprop from canonical url due html validation error --- lib/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/template.html b/lib/template.html index 4326fa3..432599d 100644 --- a/lib/template.html +++ b/lib/template.html @@ -77,7 +77,7 @@ {% endif %} {% if seo_url %} - + {% endif %} From eac9501a2d19430602f522be3f696ea4ea1469cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Sat, 30 Jan 2016 22:50:19 +0100 Subject: [PATCH 2/2] Fix travis-ci errors --- spec/jekyll_seo_tag_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/jekyll_seo_tag_spec.rb b/spec/jekyll_seo_tag_spec.rb index f2fafd2..d420368 100644 --- a/spec/jekyll_seo_tag_spec.rb +++ b/spec/jekyll_seo_tag_spec.rb @@ -56,7 +56,7 @@ describe Jekyll::SeoTag do it "uses the site url to build the seo url" do site = site({"url" => "http://example.invalid"}) context = context({ :site => site }) - expected = // + expected = // expect(subject.render(context)).to match(expected) expected = // expect(subject.render(context)).to match(expected) @@ -65,7 +65,7 @@ describe Jekyll::SeoTag do it "uses site.github.url to build the seo url" do site = site({"github" => { "url" => "http://example.invalid" }} ) context = context({ :site => site }) - expected = // + expected = // expect(subject.render(context)).to match(expected) expected = // expect(subject.render(context)).to match(expected) @@ -75,7 +75,7 @@ describe Jekyll::SeoTag do page = page({ "permalink" => "/page/index.html" }) site = site({ "url" => "http://example.invalid" }) context = context({ :page => page, :site => site }) - expected = %r!! + expected = %r!! expected = %r!! expect(subject.render(context)).to match(expected) end @@ -83,7 +83,7 @@ describe Jekyll::SeoTag do it "uses baseurl to build the seo url" do site = site({ "url" => "http://example.invalid", "baseurl" => "/foo" }) context = context({ :site => site }) - expected = %r!! + expected = %r!! expect(subject.render(context)).to match(expected) expected = %r!! expect(subject.render(context)).to match(expected)