octopress-filters 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/octopress-filters.rb +1 -1
- data/lib/octopress-filters/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5835af607d32f0104e35390efd538a2448fd1d
|
4
|
+
data.tar.gz: c5b353057d66e1778656127faa68dab7b91707e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b4840520feb15dd3b6a4c56435552ed2ccf438c7b3b0cc3c8d2bba47be133cbe90fe13ed06c7ea7dfa48d26aea0a9271f4a705ccb8b3c547917858f8e5edc33
|
7
|
+
data.tar.gz: fe960c94f771056c6e6cc946c9dbbf3dd82c3722f8a8be59f336580a415f2e7f875729378b7de870af1b50305d5d6c571ac710fb2fcd1963a95f405f61f30413
|
data/CHANGELOG.md
CHANGED
data/lib/octopress-filters.rb
CHANGED
@@ -79,7 +79,7 @@ module Octopress
|
|
79
79
|
# Convert url input into a standard canonical url by expanding urls and
|
80
80
|
# removing url fragments ending with `index.[ext]`
|
81
81
|
def canonical_url(input)
|
82
|
-
full_url(input).
|
82
|
+
full_url(input).sub(/index\.\w+$/i, '')
|
83
83
|
end
|
84
84
|
|
85
85
|
# Prepend all urls with the full site url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-filters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|