octopress-multilingual 1.1.1 → 1.1.2
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/octopress-multilingual/jekyll.rb +10 -5
- data/lib/octopress-multilingual/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: 5bd5e6f51c804733c55246e3b4b1be02892600e0
|
4
|
+
data.tar.gz: db7d5e207295198819c8423849970173afde3cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40e189148351826d42e4ae0fa4ea6cbd1f100cf22f1a33928590fbd29398d71ca52c40be1c6f482ee9fb59565c48c7ee5a35f5a4ad2fabe39e76e9ea00b74a7f
|
7
|
+
data.tar.gz: e041121a1cdf86dd36532750da14ecdb34ff54cef95c51b2cdf524c50d26d6cb1220b5b8d35c4ec16772b8685a035de3075320c0a590d33a3303a9c6bdfde6ec
|
data/CHANGELOG.md
CHANGED
@@ -59,12 +59,17 @@ module Jekyll
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def permalink
|
62
|
-
if
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
62
|
+
if permalink = permalink_orig
|
63
|
+
if lang
|
64
|
+
data['permalink'].sub!(':lang', lang)
|
65
|
+
permalink.sub!(':lang', lang)
|
66
|
+
else
|
67
|
+
data['permalink'].sub!('/:lang', '')
|
68
|
+
permalink.sub!('/:lang', '')
|
69
|
+
end
|
67
70
|
end
|
71
|
+
|
72
|
+
permalink
|
68
73
|
end
|
69
74
|
end
|
70
75
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-multilingual
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
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-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-hooks
|