Skip to content

Commit

Permalink
Merge pull request #723 from ain/upgrade-jekyll-seo-tag
Browse files Browse the repository at this point in the history
Upgrade jekyll-seo-tag
  • Loading branch information
parkr committed Jan 22, 2021
2 parents c12e02d + 34b2057 commit 6d895c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/github-pages/dependencies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Dependencies
"jekyll-gist" => "1.5.0",
"jekyll-paginate" => "1.1.0",
"jekyll-coffeescript" => "1.1.1",
"jekyll-seo-tag" => "2.6.1",
"jekyll-seo-tag" => "2.7.1",
"jekyll-github-metadata" => "2.13.0",
"jekyll-avatar" => "0.7.0",
"jekyll-remote-theme" => "0.4.2",
Expand Down
1 change: 1 addition & 0 deletions spec/fixtures/jekyll-seo-tag.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Jekyll SEO Tag
locale: et_EE
---

{% seo %}
8 changes: 6 additions & 2 deletions spec/github-pages/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,12 @@ def rm_destination
end

context "jekyll-seo-tag" do
it "outputs the tag" do
expect(contents).to match("<title>Jekyll SEO Tag")
it "outputs title tag" do
expect(contents).to include("<title>Jekyll SEO Tag | pages-gem</title>")
end

it "outputs OpenGraph locale meta tag" do
expect(contents).to include("<meta property=\"og:locale\" content=\"et_EE\">")
end
end

Expand Down

0 comments on commit 6d895c4

Please sign in to comment.