about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2017-07-05 21:50:17 +0200
committerAlan Pearce2017-07-05 21:50:17 +0200
commitd01f2aa860b0d5f10dc8e143c4b1b9d420fc8fe0 (patch)
tree15e2d99fcb989c4d634cd15ea0bac8219f1f1658 /src
parent9d601e206bdad2c384f2328a14fea8c0f5428ca9 (diff)
downloadhomestead-d01f2aa860b0d5f10dc8e143c4b1b9d420fc8fe0.tar.lz
homestead-d01f2aa860b0d5f10dc8e143c4b1b9d420fc8fe0.tar.zst
homestead-d01f2aa860b0d5f10dc8e143c4b1b9d420fc8fe0.zip
Move author config to top-level
Diffstat (limited to 'src')
-rw-r--r--src/responders.js8
1 files changed, 4 insertions, 4 deletions
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: {