Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create _layouts/ before writing refresh.html #48

Merged
merged 1 commit into from
Aug 12, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/jekyll/jekyll-import/drupal6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def self.process(dbname, user, pass, host = 'localhost', prefix = '')

FileUtils.mkdir_p "_posts"
FileUtils.mkdir_p "_drafts"
FileUtils.mkdir_p "_layouts"

# Create the refresh layout
# Change the refresh url if you customized your permalink config
Expand Down
1 change: 1 addition & 0 deletions lib/jekyll/jekyll-import/drupal7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def self.process(dbname, user, pass, host = 'localhost', prefix = '')

FileUtils.mkdir_p "_posts"
FileUtils.mkdir_p "_drafts"
FileUtils.mkdir_p "_layouts"

db[QUERY].each do |post|
# Get required fields and construct Jekyll compatible name
Expand Down