aweplug 1.0.0.a2 → 1.0.0.a3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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