aweplug 1.0.0.a2 → 1.0.0.a3
Sign up to get free protection for your applications and to get access to all the features.
@@ -9,8 +9,9 @@ module Aweplug
|
|
9
9
|
class Quickstart
|
10
10
|
include Aweplug::Helper::Git::Commit::Metadata
|
11
11
|
|
12
|
-
def initialize repository, layout
|
12
|
+
def initialize repository, layout, output_dir
|
13
13
|
@repo = repository
|
14
|
+
@output_dir = output_dir
|
14
15
|
@layout = layout
|
15
16
|
end
|
16
17
|
|
@@ -33,6 +34,7 @@ module Aweplug
|
|
33
34
|
def add_to_site(site, file)
|
34
35
|
page = site.engine.load_site_page file
|
35
36
|
page.layout = @layout
|
37
|
+
page.output_path = File.join @output_path, page.output_filename
|
36
38
|
page
|
37
39
|
end
|
38
40
|
end
|
data/lib/aweplug/version.rb
CHANGED