Skip to content

Commit

Permalink
Merge pull request #9 from mglukhovsky/master
Browse files Browse the repository at this point in the history
Changed the filename parameter for AliasFiles from nil to an empty string.
  • Loading branch information
tsmango committed Jul 6, 2013
2 parents 0e7fd23 + 19e6dd0 commit d5cdab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _plugins/alias_generator.rb
Expand Up @@ -71,7 +71,7 @@ def generate_aliases(destination_path, aliases)
end

(alias_index_path.split('/').size + 1).times do |sections|
@site.static_files << Jekyll::AliasFile.new(@site, @site.dest, alias_index_path.split('/')[0, sections].join('/'), nil)
@site.static_files << Jekyll::AliasFile.new(@site, @site.dest, alias_index_path.split('/')[0, sections].join('/'), '')
end
end
end
Expand Down

0 comments on commit d5cdab3

Please sign in to comment.