summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2017-06-30 21:34:30 +0200
committerAlan Pearce2017-06-30 21:34:30 +0200
commitd3dfbb13b7037c9382bd8418e475ac4208216f39 (patch)
tree21a965c1f50e1d98c075b2694bc7dc7fa2b6f97b /src
parent7d0ca01038f1a31af38ddf7b156da688f62f2f00 (diff)
downloadhomestead-d3dfbb13b7037c9382bd8418e475ac4208216f39.tar.lz
homestead-d3dfbb13b7037c9382bd8418e475ac4208216f39.tar.zst
homestead-d3dfbb13b7037c9382bd8418e475ac4208216f39.zip
feat: add basic h-card to homepage header
Diffstat (limited to 'src')
-rw-r--r--src/responders.js8
-rw-r--r--src/templates/layout.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/responders.js b/src/responders.js
index acfcaf1..7671141 100644
--- a/src/responders.js
+++ b/src/responders.js
@@ -80,7 +80,7 @@ module.exports = {
         .inner(".posts", function(postsTemplate) {
           return postsStream.pipe(postsTemplate.map(renderPostListItem(ctx)));
         })
-        .pipe(setTitle(config.site.title))
+        .pipe(setTitle(config.site.author))
         .render()
     );
   },
@@ -94,7 +94,7 @@ module.exports = {
         .outer("main", showPage("post"))
         .inner("article h1", rheo(post.data.get("title")))
         .outer("article main", rheo(post.body))
-        .pipe(setTitle(config.site.title, post.data.get("title")))
+        .pipe(setTitle(config.site.author, post.data.get("title")))
         .render()
     );
   },
@@ -106,11 +106,11 @@ module.exports = {
         .layout()
         .pipe(rheo())
         .outer("main", showPage("taxon"))
-        .inner("h1", rheo(config.site.title))
+        .inner("h1", rheo(config.site.author))
         .inner(".posts", function(postsTemplate) {
           return taxonItems.pipe(postsTemplate.map(renderPostListItem(ctx)));
         })
-        .pipe(setTitle(config.site.title))
+        .pipe(setTitle(config.site.author))
         .render()
     );
   }
diff --git a/src/templates/layout.html b/src/templates/layout.html
index 994ce02..7856917 100644
--- a/src/templates/layout.html
+++ b/src/templates/layout.html
@@ -5,8 +5,8 @@
     <title></title>
   </head>
   <body>
-    <header>
-      <h1>hello world</h1>
+    <header class="h-card">
+      <h1 class="p-name">hello world</h1>
     </header>
     <main></main>
   </body>