diff --git a/README.md b/README.md index 2c24dc7..c07c39e 100644 --- a/README.md +++ b/README.md @@ -195,8 +195,7 @@ Markdown files. They'll be picked up automatically. Example: ### Reveal.js Options -Define Reveal.js [options][37] in a `reveal.json` file at the project root. -They'll be picked up automatically. Example: +Define Reveal.js [options][37] in a `reveal.json` file at the project root. They'll be picked up automatically. Example: ```json { diff --git a/lib/config.js b/lib/config.js index f5f04ef..28626fb 100644 --- a/lib/config.js +++ b/lib/config.js @@ -68,7 +68,7 @@ module.exports.getThemeUrl = (theme, assetsDir, base) => { const revealTheme = revealThemes.find( themePath => path.basename(themePath).replace(path.extname(themePath), '') === theme ); - return (revealTheme ? `${base || ''}/${revealTheme}` : getAssetPath(theme, assetsDir, base)); + return revealTheme ? `${base || ''}/${revealTheme}` : getAssetPath(theme, assetsDir, base); } };