Skip to content
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.

Commit

Permalink
fix(page.url): no trailing slash on index
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jun 9, 2017
1 parent cdd3e8b commit c5a1e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const buildPage = (build, config, collections, blocks, content, identifier, temp
const isFeed = identifier === 'feed'
if (isFeed) build.minify = false
const page = {
url: config.webHost + config.baseHref + (isIndex ? '' : identifier) + '/'
url: config.webHost + config.baseHref + (isIndex ? '' : identifier + '/')
}

const include = name => buildTemplate(includesFiles[name], templateData)
Expand Down

0 comments on commit c5a1e74

Please sign in to comment.