Skip to content

Commit c29f89c

Browse files
committed
Revert jekyll-relative-links to 0.6.1 and add a test
1 parent a5898bc commit c29f89c

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

lib/github-pages/dependencies.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Dependencies
3636
# Plugins to match GitHub.com Markdown
3737
"jemoji" => "0.13.0",
3838
"jekyll-mentions" => "1.6.0",
39-
"jekyll-relative-links" => "0.7.0",
39+
"jekyll-relative-links" => "0.6.1",
4040
"jekyll-optional-front-matter" => "0.3.2",
4141
"jekyll-readme-index" => "0.3.0",
4242
"jekyll-default-layout" => "0.1.5",

lib/github-pages/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module GitHubPages
4-
VERSION = 230
4+
VERSION = 231
55
end
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
2+
excerpt: Just a relative link
23
---
34

4-
55
[Jekyll](jekyll.md)
6+
7+
{{ page.excerpt }}

spec/github-pages/integration_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ def rm_destination
224224
context "jekyll-relative-links" do
225225
it "converts relative links" do
226226
expect(contents).to match('<a href="/jekyll.html">Jekyll</a>')
227+
expect(contents).to match('<p>Just a relative link</p>') # excerpt
227228
end
228229
end
229230

0 commit comments

Comments
 (0)