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

Commit

Permalink
fix(Feed): don't minify
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jun 6, 2017
1 parent 70c1f84 commit cdd3e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ const striptags = str => str.replace(/<[^>]+>/g, '')
const buildPage = (build, config, collections, blocks, content, identifier, template, includesFiles, translatedStrings) => {
const isIndex = identifier === 'index'
const isFeed = identifier === 'feed'
if (isFeed) build.minify = false
const page = {
url: config.webHost + config.baseHref + (isIndex ? '' : identifier) + '/'
}
Expand Down

0 comments on commit cdd3e8b

Please sign in to comment.