diff --git a/CHANGELOG.md b/CHANGELOG.md index f8381b162..da5e780c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### 2.4.1 + +> 2017-02-13 + +#### Bug fixes +- fix(index): cover page. + ### 2.4.0 > 2017-02-13 diff --git a/src/index.js b/src/index.js index 75243a662..1a9ee3323 100644 --- a/src/index.js +++ b/src/index.js @@ -90,7 +90,7 @@ const mainRender = function (cb) { } // Render Cover page - if (OPTIONS.coverpage && page === OPTIONS.homepage) { + if (OPTIONS.coverpage && page === ('/' + OPTIONS.homepage).replace(/\/+/, '/')) { utils.load(OPTIONS.coverpage).then(render.renderCover) }