diff options
author | Alan Pearce | 2017-07-05 22:41:24 +0200 |
---|---|---|
committer | Alan Pearce | 2017-07-05 22:41:24 +0200 |
commit | 3d70c97f2b6dc79244f067ca95535ac8c4f0f63b (patch) | |
tree | 9b6e8508398534a1a4c99c80a78b1c49ae7e449c /src | |
parent | cff6bcc31d59ce9957567cc05c1ed7e364fb40ca (diff) | |
download | homestead-3d70c97f2b6dc79244f067ca95535ac8c4f0f63b.tar.lz homestead-3d70c97f2b6dc79244f067ca95535ac8c4f0f63b.tar.zst homestead-3d70c97f2b6dc79244f067ca95535ac8c4f0f63b.zip |
Add site description
Diffstat (limited to 'src')
-rw-r--r-- | src/responders.js | 1 | ||||
-rw-r--r-- | src/templates/layout.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/responders.js b/src/responders.js index eeec42a..19f8489 100644 --- a/src/responders.js +++ b/src/responders.js @@ -66,6 +66,7 @@ function layout(config, pageTitle, pageElement) { return hyperfast(templates.layout, { title: title(config.author.name, pageTitle), ".h-card .p-name": config.author.name, + ".h-card .p-note": config.site.description, ".h-card .u-photo": { alt: config.author.name, src: config.author.photo diff --git a/src/templates/layout.html b/src/templates/layout.html index 6035209..284e939 100644 --- a/src/templates/layout.html +++ b/src/templates/layout.html @@ -11,6 +11,7 @@ <img class="u-photo" alt="" src="" /> <h1 class="p-name">hello world</h1> </a> + <p class="p-note">site description</p> <nav> <ul> <li><a href="/">test link</a></li> |