final tweaks for the initial round

This commit is contained in:
Mark Moser
2014-09-20 13:55:31 -05:00
parent ab8ec56737
commit 742eadf502
16 changed files with 132 additions and 99 deletions

View File

@ -1,48 +1,12 @@
!!!
/[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7">
/ [if IE 7] <html class="no-js lt-ie9 lt-ie8"> <![endif]
/ [if IE 8] <html class="no-js lt-ie9"><![endif]
%html
%head
%meta{charset: "utf-8"}/
%meta{content: "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
%meta{content: "width=device-width,initial-scale=1.0", name: "viewport"}/
%meta{content: page_description, name: "description"}/
%meta{content: page_keywords, name: "keywords"}/
= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed"
%title
= page_title
- # Blog Title#{' - ' + current_article.title unless current_article.nil?}
= stylesheet_link_tag "all"
= javascript_include_tag "vendor/modernizr"
= partial "shared/analytics"
= yield_content :head
- content_for :head do
-# Blog Title#{' - ' + current_article.title unless current_article.nil?}
= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed"
%body{class: page_classes}
/[if lt IE 8]
<haml_loud> partial "shared/compatibility-notice" </haml_loud>
= partial "shared/header"
- if current_page.data.poster.present?
.poster
= tag :img, src: current_page.data.poster
.container
.row
.col-sm-9#main{:role => "main"}
= yield
.col-sm-3
.spacer-50
.side-links
%ul
%li.bolder Recent Posts
- blog.articles[0...10].each do |article|
%li
= link_to article.title, article
%ul
%li Tags
- blog.tags.each do |tag, articles|
%li= link_to "#{tag}", tag_path(tag)
.spacer-50
= javascript_include_tag "app"
= wrap_layout :layout do
.row
.col-sm-9#main{:role => "main"}
= yield
.post_footer
%p published around #{current_article.date.strftime('%m/%d/%Y')}
.col-sm-3
= partial 'shared/blog_list'