diff --git a/lib/github-pages/dependencies.rb b/lib/github-pages/dependencies.rb index bf0d455d..5d3f948d 100644 --- a/lib/github-pages/dependencies.rb +++ b/lib/github-pages/dependencies.rb @@ -36,7 +36,7 @@ class Dependencies # Plugins to match GitHub.com Markdown "jemoji" => "0.13.0", "jekyll-mentions" => "1.6.0", - "jekyll-relative-links" => "0.7.0", + "jekyll-relative-links" => "0.6.1", "jekyll-optional-front-matter" => "0.3.2", "jekyll-readme-index" => "0.3.0", "jekyll-default-layout" => "0.1.5", diff --git a/lib/github-pages/version.rb b/lib/github-pages/version.rb index 1d4d3c97..c69e2cda 100644 --- a/lib/github-pages/version.rb +++ b/lib/github-pages/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module GitHubPages - VERSION = 230 + VERSION = 231 end diff --git a/spec/fixtures/jekyll-relative-links.md b/spec/fixtures/jekyll-relative-links.md index 889348d1..bebe8a23 100644 --- a/spec/fixtures/jekyll-relative-links.md +++ b/spec/fixtures/jekyll-relative-links.md @@ -1,5 +1,7 @@ --- +excerpt: Just a relative link --- - [Jekyll](jekyll.md) + +{{ page.excerpt }} \ No newline at end of file diff --git a/spec/github-pages/integration_spec.rb b/spec/github-pages/integration_spec.rb index 35740df2..5b3da4bf 100644 --- a/spec/github-pages/integration_spec.rb +++ b/spec/github-pages/integration_spec.rb @@ -224,6 +224,7 @@ def rm_destination context "jekyll-relative-links" do it "converts relative links" do expect(contents).to match('Jekyll') + expect(contents).to match('

Just a relative link

') # excerpt end end