diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/parse/page.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parse/page.js b/lib/parse/page.js index 0ac0cea..2db4476 100644 --- a/lib/parse/page.js +++ b/lib/parse/page.js @@ -12,7 +12,7 @@ var lnormalize = require('../utils/lang').normalize; // Render a section using our custom renderer function render(section, _options) { // Copy section - var links = section.links ? section.links : {}; + var links = section.links || {}; section = _.toArray(section); section.links = links; |