feat: add configurable navigation
1 file changed, 6 insertions(+), 0 deletions(-)
changed files
M src/responders.js → src/responders.js
@@ -70,6 +70,12 @@ ".h-card .u-photo": { alt: config.site.author.name, src: config.site.author.photo }, + "header nav li": config.site.nav.map(l => ({ + a: { + href: l.url, + _text: l.text + } + })), "body > main": pageElement.outerHTML }).outerHTML.trim(); }