octopress-multilingual 1.1.2 → 1.1.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 +3 -0
- data/lib/octopress-multilingual/jekyll.rb +4 -2
- 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: f63e94caebb32bb02400c36549a41dcdac7b6233
|
4
|
+
data.tar.gz: d8d6a66d61b17e308e368beaeda4755192efdcb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 763b84afc697d3223900e426c8141bf6e5075e833b24860a47f079489b0d3136ee6ce3346973948027dddd1b91417b020840762e873db1f3432a239f84ad3681
|
7
|
+
data.tar.gz: 5a4a430a9d3058bc3728c6c6a99635ccbee09e413f5b6248ef5d0a1437fd63c7b1a7da7e550172f6b572674fa7929eb02ea2d84820b8463b4b971d479e479edd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
### 1.1.3 (2015-03-02)
|
4
|
+
- Fix: Posts permalinks will only have language defined if the site has a default language.
|
5
|
+
|
3
6
|
### 1.1.2 (2015-02-26)
|
4
7
|
- Fix: Pages with `:lang` in permalink structure are given proper URLs if language is not defined for them.
|
5
8
|
|
@@ -80,8 +80,10 @@ module Jekyll
|
|
80
80
|
def template
|
81
81
|
template = template_orig
|
82
82
|
|
83
|
-
if
|
84
|
-
|
83
|
+
if self.site.config['lang']
|
84
|
+
if [:pretty, :none, :date, :ordinal].include? site.permalink_style
|
85
|
+
template = File.join('/:lang', template)
|
86
|
+
end
|
85
87
|
end
|
86
88
|
|
87
89
|
template
|
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.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-02
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-hooks
|