added homepage logo to articles

This commit is contained in:
Geoff Doty 2018-03-18 20:43:01 -04:00
parent defc28c5f1
commit 435d0850a9
5 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,7 @@
{
"locals": {
"url": "http://blog.negative9.net",
"url": "http://negative9.net",
"home": "http://blog.negative9.net",
"name": "DEVELOPER LOG",
"owner": "Geoff Doty",
"description": "Inspiration Through Code",

View File

@ -219,7 +219,7 @@ footer .copy, footer .copy a {
}
.article header .date span {
background-color: #f8f8f8;
background-color: #f0f0f0;
padding: 0 0.7em;
}

BIN
contents/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -9,7 +9,10 @@ block prepend title
block header
include author
h1= page.title
a(href=locals.url)
img(src="/img/logo.png", alt="", srcset="" height="64")
a(href=locals.home)
h1= page.title
p.author
| #{ 'Written by ' }
mixin author(page.metadata.author)

View File

@ -18,6 +18,9 @@ html(lang='en')
div.content-wrap
block header
div.logo
a(href=locals.url)
img(src="img/logo.png", alt="", srcset="" height="64" style="margin-right: 16px;")
Home
h1.h1
a(href=locals.url)= locals.name
p.description= locals.description