Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
a much smaller fix to prevent the second layout from clobbering the f…
…irst one - this is what I should have done for #10
  • Loading branch information
nfriedly committed Oct 24, 2014
1 parent 23aee98 commit 25fb344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/multiplelayouts.plugin.coffee
Expand Up @@ -52,6 +52,7 @@ module.exports = (BasePlugin) ->
)
newDoc.setMeta(
fullPath: null # treat it as a virtual document
url: null,
relativePath: document.get('relativeOutDirPath') + '/' + document.get('basename') + '-' + layout + '.' + document.get('extensions').join('.')
layout: layout
additionalLayoutFor: document.id
Expand Down

0 comments on commit 25fb344

Please sign in to comment.