Browse Source

always have site header shown

pull/1/head
Brett Langdon 11 years ago
parent
commit
ab28ec849c
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      contents/css/main.css
  2. +1
    -1
      templates/article.jade
  3. +2
    -2
      templates/layout.jade

+ 1
- 1
contents/css/main.css View File

@ -87,7 +87,7 @@ hr {
margin: 3em 0 5em; margin: 3em 0 5em;
} }
.header h1 {
.header h1, .header .title {
font-size: 2.0em; font-size: 2.0em;
text-align: center; text-align: center;
font-weight: 700; font-weight: 700;


+ 1
- 1
templates/article.jade View File

@ -7,7 +7,7 @@ block append vars
block prepend title block prepend title
| #{ page.title + " - "} | #{ page.title + " - "}
block header
block append header
include author include author
h1= page.title h1= page.title
p.author p.author


+ 2
- 2
templates/layout.jade View File

@ -18,13 +18,13 @@ html(lang='en')
div.content-wrap div.content-wrap
block header block header
div.logo div.logo
h1
h1.title
a(href=locals.url)= locals.name a(href=locals.url)= locals.name
p.description= locals.description p.description= locals.description
div#content div#content
div.content-wrap div.content-wrap
block content block content
h2 Welcome to zombocom!
h2 Welcome to The Worst Programmer Ever!
footer footer
div.content-wrap div.content-wrap
block footer block footer


Loading…
Cancel
Save