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:
parent
4dc9224af3
commit
ed278bb117
|
@ -1,5 +0,0 @@
|
||||||
---
|
|
||||||
title: Index
|
|
||||||
---
|
|
||||||
|
|
||||||
loading
|
|
|
@ -21,7 +21,7 @@
|
||||||
@import 'sass/util'
|
@import 'sass/util'
|
||||||
|
|
||||||
.post
|
.post
|
||||||
@include border-box(0.5em)
|
@include border-box()
|
||||||
|
|
||||||
header
|
header
|
||||||
margin-bottom: 0.8em
|
margin-bottom: 0.8em
|
||||||
|
|
|
@ -24,8 +24,9 @@
|
||||||
background-size: contain
|
background-size: contain
|
||||||
background-repeat: no-repeat
|
background-repeat: no-repeat
|
||||||
background-position: 50%
|
background-position: 50%
|
||||||
padding: 0.75em
|
padding: 24px 39px
|
||||||
margin: 0 0.35em 0 0.1em
|
margin: 0 0.35em 0 0.1em
|
||||||
|
|
||||||
#tag
|
#tag
|
||||||
text-transform: capitalize
|
text-transform: capitalize
|
||||||
|
margin-bottom: 8px
|
||||||
|
|
4
site.hs
4
site.hs
|
@ -249,7 +249,7 @@ main = do
|
||||||
route r
|
route r
|
||||||
compile $ getResourceString >>= withItemBody (unixFilter "jsmin" [])
|
compile $ getResourceString >>= withItemBody (unixFilter "jsmin" [])
|
||||||
|
|
||||||
match "index.html" $ do
|
create ["index.html"] $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
-- Generate nav-bar from pages/* ordered by metadata 'weight'
|
-- Generate nav-bar from pages/* ordered by metadata 'weight'
|
||||||
|
@ -257,7 +257,7 @@ main = do
|
||||||
|
|
||||||
let indexCtx = listField "pages" pagesCtx (return pages) <> defaultContext
|
let indexCtx = listField "pages" pagesCtx (return pages) <> defaultContext
|
||||||
|
|
||||||
getResourceBody
|
makeItem "loading"
|
||||||
>>= applyAsTemplate indexCtx
|
>>= applyAsTemplate indexCtx
|
||||||
>>= loadAndApplyTemplate "templates/default.haml" indexCtx
|
>>= loadAndApplyTemplate "templates/default.haml" indexCtx
|
||||||
>>= relativizeUrls
|
>>= relativizeUrls
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
%meta(charset="utf-8")
|
%meta(charset="utf-8")
|
||||||
|
|
||||||
%title RekahSoft
|
%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")
|
%meta(name="author" content="Collin Doering")
|
||||||
|
|
||||||
/ Mobile Specific Metas
|
/ Mobile Specific Metas
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#blog-page.container
|
#blog-page
|
||||||
$partial("templates/partials/post-teaser-list.haml")$
|
$partial("templates/partials/post-teaser-list.haml")$
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#contact-page.container
|
#contact-page.container.border-box
|
||||||
.border-box
|
.row
|
||||||
.row
|
$partial("templates/partials/business-card.haml")$
|
||||||
$partial("templates/partials/business-card.haml")$
|
#about-me-blurb.row
|
||||||
#about-me-blurb.row
|
$body0$
|
||||||
$body0$
|
|
||||||
|
|
|
@ -1,19 +1,18 @@
|
||||||
#home-page.container
|
#home-page.container.border-box
|
||||||
.border-box
|
.row
|
||||||
.row
|
.eight.columns.alpha
|
||||||
.eight.columns.alpha
|
$partial("templates/partials/business-card.haml")$
|
||||||
$partial("templates/partials/business-card.haml")$
|
.seven.columns.offset-by-one.omega
|
||||||
.seven.columns.offset-by-one.omega
|
#recent-posts
|
||||||
#recent-posts
|
%h1 Recent Posts
|
||||||
%h1 Recent Posts
|
%hr/
|
||||||
%hr/
|
$partial("templates/partials/recent-posts-list.haml")$
|
||||||
$partial("templates/partials/recent-posts-list.haml")$
|
#tag-cloud
|
||||||
#tag-cloud
|
%h1 Tag Cloud
|
||||||
%h1 Tag Cloud
|
%hr/
|
||||||
%hr/
|
$tagCloud$
|
||||||
$tagCloud$
|
.row
|
||||||
.row
|
#license.eight.columns.alpha
|
||||||
#license.eight.columns.alpha
|
$license$
|
||||||
$license$
|
#tools.seven.columns.offset-by-one.omega
|
||||||
#tools.seven.columns.offset-by-one.omega
|
$tools$
|
||||||
$tools$
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
%article.post
|
%article.post.container
|
||||||
%header
|
%header
|
||||||
%h1.title
|
%h1.title
|
||||||
%a(href="$url$") $title$
|
%a(href="$url$") $title$
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#tag-page.container
|
#tag-page
|
||||||
%h1#tag $tag$
|
%h1#tag.container $tag$
|
||||||
$for(posts)$
|
$for(posts)$
|
||||||
$partial("templates/partials/post-teaser.haml")$
|
$partial("templates/partials/post-teaser.haml")$
|
||||||
$endfor$
|
$endfor$
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue