Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade jekyll-seo-tag #723

Merged
merged 3 commits into from
Jan 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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