From d01f2aa860b0d5f10dc8e143c4b1b9d420fc8fe0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 5 Jul 2017 21:50:17 +0200 Subject: Move author config to top-level --- src/responders.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/responders.js b/src/responders.js index 75850f8..f29b2b0 100644 --- a/src/responders.js +++ b/src/responders.js @@ -64,11 +64,11 @@ const renderPost = ctx => post => { function layout(config, pageTitle, pageElement) { return hyperfast(templates.layout, { - title: title(config.site.author.name, pageTitle), - ".h-card .p-name": config.site.author.name, + title: title(config.author.name, pageTitle), + ".h-card .p-name": config.author.name, ".h-card .u-photo": { - alt: config.site.author.name, - src: config.site.author.photo + alt: config.author.name, + src: config.author.photo }, "header nav li": config.site.nav.map(l => ({ a: { -- cgit 1.4.1