Various minor aesthetic fixes

- made the border surrounding content a consistent width on each page
- minor aesthetic changes to the tag page
- removed need for index.html

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
This commit is contained in:
Collin J. Doering 2014-03-25 02:01:27 -04:00 committed by Collin J. Doering
parent 4dc9224af3
commit ed278bb117
10 changed files with 33 additions and 40 deletions

View File

@ -1,5 +0,0 @@
---
title: Index
---
loading

View File

@ -21,7 +21,7 @@
@import 'sass/util'
.post
@include border-box(0.5em)
@include border-box()
header
margin-bottom: 0.8em

View File

@ -24,8 +24,9 @@
background-size: contain
background-repeat: no-repeat
background-position: 50%
padding: 0.75em
padding: 24px 39px
margin: 0 0.35em 0 0.1em
#tag
text-transform: capitalize
margin-bottom: 8px

View File

@ -249,7 +249,7 @@ main = do
route r
compile $ getResourceString >>= withItemBody (unixFilter "jsmin" [])
match "index.html" $ do
create ["index.html"] $ do
route idRoute
compile $ do
-- Generate nav-bar from pages/* ordered by metadata 'weight'
@ -257,7 +257,7 @@ main = do
let indexCtx = listField "pages" pagesCtx (return pages) <> defaultContext
getResourceBody
makeItem "loading"
>>= applyAsTemplate indexCtx
>>= loadAndApplyTemplate "templates/default.haml" indexCtx
>>= relativizeUrls

View File

@ -10,7 +10,7 @@
%meta(charset="utf-8")
%title RekahSoft
%meta(name="description" content="Custom soltuions to unique problems")
%meta(name="description" content="The technical musings of a minimalist")
%meta(name="author" content="Collin Doering")
/ Mobile Specific Metas

View File

@ -1,2 +1,2 @@
#blog-page.container
#blog-page
$partial("templates/partials/post-teaser-list.haml")$

View File

@ -1,6 +1,5 @@
#contact-page.container
.border-box
.row
$partial("templates/partials/business-card.haml")$
#about-me-blurb.row
$body0$
#contact-page.container.border-box
.row
$partial("templates/partials/business-card.haml")$
#about-me-blurb.row
$body0$

View File

@ -1,19 +1,18 @@
#home-page.container
.border-box
.row
.eight.columns.alpha
$partial("templates/partials/business-card.haml")$
.seven.columns.offset-by-one.omega
#recent-posts
%h1 Recent Posts
%hr/
$partial("templates/partials/recent-posts-list.haml")$
#tag-cloud
%h1 Tag Cloud
%hr/
$tagCloud$
.row
#license.eight.columns.alpha
$license$
#tools.seven.columns.offset-by-one.omega
$tools$
#home-page.container.border-box
.row
.eight.columns.alpha
$partial("templates/partials/business-card.haml")$
.seven.columns.offset-by-one.omega
#recent-posts
%h1 Recent Posts
%hr/
$partial("templates/partials/recent-posts-list.haml")$
#tag-cloud
%h1 Tag Cloud
%hr/
$tagCloud$
.row
#license.eight.columns.alpha
$license$
#tools.seven.columns.offset-by-one.omega
$tools$

View File

@ -1,4 +1,4 @@
%article.post
%article.post.container
%header
%h1.title
%a(href="$url$") $title$

View File

@ -1,6 +1,5 @@
#tag-page.container
%h1#tag $tag$
#tag-page
%h1#tag.container $tag$
$for(posts)$
$partial("templates/partials/post-teaser.haml")$
$endfor$