module.exports = function(page) {
    return `href="${page.path.href}${page.path.name}.html"`;
}

@@ -27,16 +27,87 @@
 page) %7B%0A
+    if (page.path.name === 'index') %7B%0A        return 'href=%22/%22';%0A    %7D%0A
     retu

refactor 'href' helper