octopress-ink 1.0.0.alpha.12 → 1.0.0.alpha.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/octopress-ink/plugin.rb +5 -3
- data/lib/octopress-ink/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: a1446285729adab14365a58b5aea84f2f15fcb89
|
4
|
+
data.tar.gz: 5bd266b09bc0372e59ea380c09905df8374a748c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9232dfcb6d7d169d8f9ac0d5a79851872df5403a66ec899b9b478aa62121b8d38a59cf6484fed6a2ee2fcd8be537f29b16cc9e2f39c3dbaa0544b4ae1979f9f7
|
7
|
+
data.tar.gz: de714997b3f1e103f270d5a4de4a0916b8c7eeea406c93e7ccfc6ccdd18a0d53a078ff96e67680807a7e5c135152d6f27f7266cffdfd0eb86fd3cac29ab792d6
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Use Ink to help you build themes and plugins for Jekyll.
|
|
6
6
|
- Installing Ink plugins is easy.
|
7
7
|
- Users won't need to install or managae plugin assets.
|
8
8
|
- Jekyll will read your plugin's layouts, javascripts, stylesheets and more directly from your gem.
|
9
|
-
- Ink allows users to modify a theme or plugin by adding
|
9
|
+
- Ink allows users to modify a theme or plugin by adding a modified version to source/_custom directory.
|
10
10
|
|
11
11
|
## Installation
|
12
12
|
|
data/lib/octopress-ink/plugin.rb
CHANGED
@@ -60,9 +60,11 @@ module Octopress
|
|
60
60
|
if @assets_path
|
61
61
|
base = File.join(@assets_path, @layouts_dir)
|
62
62
|
entries = []
|
63
|
-
Dir.
|
64
|
-
|
65
|
-
|
63
|
+
if Dir.exists?(base)
|
64
|
+
Dir.chdir(base) { entries = Dir['**/*.*'] }
|
65
|
+
entries.each do |file|
|
66
|
+
@layouts << Assets::Layout.new(self, @layouts_dir, file)
|
67
|
+
end
|
66
68
|
end
|
67
69
|
end
|
68
70
|
end
|