jekyll-sort 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jekyll_sort/page.rb +2 -2
- data/lib/jekyll_sort/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4677d274d0a851e91eb55526780155d227bd2815868ef1929a02f2ab40cc9acb
|
4
|
+
data.tar.gz: 33e46acc91c03e2d8ae6a5c458d112a369d89590fd7355912012518cd74baf21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42053906b7bcfb521db8328c6f079e9167795776adcecb9b6f038c3056950fd4d7dc9f65b9303b7291bdf9744144a64820a171be9ea7c0e5ffb7b246ab70e049
|
7
|
+
data.tar.gz: 0d39aea05b67642a83c6964ff7c14a6b90e2a01b6687ae43ad25ed061d60bf672edc4323727863d9d163934f5fd04dd2b2a946a7e1e79d19cabf590cb5bbce4d
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.3.1]
|
7
|
+
- fix add newline to next page link
|
8
|
+
|
6
9
|
## [0.3.0]
|
7
10
|
- add newline to next page link
|
8
11
|
|
data/lib/jekyll_sort/page.rb
CHANGED
@@ -74,7 +74,7 @@ module JekyllSort
|
|
74
74
|
[front_matter, parsed]
|
75
75
|
end
|
76
76
|
|
77
|
-
PREV_NEXT_MARKDOWN = "\n{% include prev_next.md %}
|
77
|
+
PREV_NEXT_MARKDOWN = "\n{% include prev_next.md %}"
|
78
78
|
|
79
79
|
def remove_prev_next_link(content)
|
80
80
|
content.sub(PREV_NEXT_MARKDOWN, '')
|
@@ -84,7 +84,7 @@ module JekyllSort
|
|
84
84
|
if content.include?(PREV_NEXT_MARKDOWN)
|
85
85
|
content
|
86
86
|
else
|
87
|
-
content + "\n" + PREV_NEXT_MARKDOWN
|
87
|
+
content + "\n" + PREV_NEXT_MARKDOWN + "\n"
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
data/lib/jekyll_sort/version.rb
CHANGED