Skip to content

Commit

Permalink
Merge pull request #910 from github/revert-jekyll-relative-links
Browse files Browse the repository at this point in the history
Revert jekyll-relative-links to 0.6.1 and add a test
  • Loading branch information
yoannchaudet authored Feb 14, 2024
2 parents a5898bc + dcd2f8e commit a38857c
Show file tree
Hide file tree
Showing 4 changed files with 6 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 @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lib/github-pages/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module GitHubPages
VERSION = 230
VERSION = 231
end
4 changes: 3 additions & 1 deletion spec/fixtures/jekyll-relative-links.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
excerpt: Just a relative link
---


[Jekyll](jekyll.md)

{{ page.excerpt }}
1 change: 1 addition & 0 deletions spec/github-pages/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ def rm_destination
context "jekyll-relative-links" do
it "converts relative links" do
expect(contents).to match('<a href="/jekyll.html">Jekyll</a>')
expect(contents).to match("<p>Just a relative link</p>") # excerpt
end
end

Expand Down

0 comments on commit a38857c

Please sign in to comment.