jekyll-paginate 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-paginate/pager.rb +1 -1
- data/lib/jekyll-paginate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4792a4a67cbecdbd742d50507c9d6cbb7059679
|
4
|
+
data.tar.gz: 7a5bab59593839a32a0a21e2a1f0308f3e782b99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce7f665d28a4c889f0160c374420bc4e96312d71b10f7929eccc32a99647b242725c78a21f16dbac7209764c02a6ce82fedf9467d01246651ecfb0fd0995464
|
7
|
+
data.tar.gz: fea93e320799f8c98479b19904125fa5e3811be95d079d6c8cb8c0b620002ec26f9814c8c7cd0da21087d6f037ebc647c3621d6948ee737cadaf99fb1cb59884
|
@@ -62,7 +62,7 @@ module Jekyll
|
|
62
62
|
# Returns the pagination path as a string
|
63
63
|
def self.paginate_path(site, num_page)
|
64
64
|
return nil if num_page.nil?
|
65
|
-
return
|
65
|
+
return Pagination.first_page_url(site) if num_page <= 1
|
66
66
|
format = site.config['paginate_path']
|
67
67
|
format = format.sub(':num', num_page.to_s)
|
68
68
|
ensure_leading_slash(format)
|