octopress-multilingual 1.0.0 → 1.0.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/octopress-multilingual.rb +4 -1
- 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: 4d606f06c9a133bc28afd0816e8140f5c0a305f2
|
4
|
+
data.tar.gz: b44fe42aa80ac6e08777dffd3b1c6e2771c98ce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be20ea3349cde7b75f4bb85a5814f20aa470a66969d401074a119993e43d735931ebc1b0a042ad4ea0fd76c51c15baa35c4ca82d585ab30143ce0056f78c553d
|
7
|
+
data.tar.gz: 2a9af131a1ab6fc0cbede092baf36a2dc5fbb56197d642615353ec2e550a5364fc5c55b56258654640792bb1409c61de5d8e678bafda8c0e9a369d3657282b64
|
data/CHANGELOG.md
CHANGED
@@ -65,7 +65,10 @@ module Octopress
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def languages
|
68
|
-
@languages ||=
|
68
|
+
@languages ||= begin
|
69
|
+
languages = site.posts.dup.concat(site.pages).select(&:lang).group_by(&:lang).keys
|
70
|
+
(languages << main_language).uniq
|
71
|
+
end
|
69
72
|
end
|
70
73
|
|
71
74
|
def posts_by_language
|
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.0.
|
4
|
+
version: 1.0.1
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octopress-hooks
|