summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2017-07-01 13:30:41 +0200
committerAlan Pearce2017-07-01 13:30:41 +0200
commite4e26ceca7bfe60185082748c54f7ccd30746350 (patch)
tree268055ee5db2df35677409ea9fa5141ca784e362 /src
parentab46e976f5bd9414d95a5f3a9441481d10453710 (diff)
downloadhomestead-e4e26ceca7bfe60185082748c54f7ccd30746350.tar.lz
homestead-e4e26ceca7bfe60185082748c54f7ccd30746350.tar.zst
homestead-e4e26ceca7bfe60185082748c54f7ccd30746350.zip
fix: fix combination of layout and page templates
Diffstat (limited to 'src')
-rw-r--r--src/responders.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responders.js b/src/responders.js
index e6ec5d0..b9758f3 100644
--- a/src/responders.js
+++ b/src/responders.js
@@ -50,7 +50,7 @@ function layout(config, pageTitle, pageElement) {
       alt: config.site.author.name,
       src: config.site.author.photo
     },
-    "body > main": pageElement
+    "body > main": pageElement.outerHTML
   }).outerHTML.trim();
 }