app/views/layouts/application.html.haml
!!!
%html
%head
%meta{ content: "width=device-width, initial-scale=1.0", name: "viewport" }
%title= page_title
%meta{ content: content_for?(:description) ? yield(:description) : "My Gists: Organize Your Gists!", name: "description" }
= stylesheet_link_tag "application", media: "all"
= csrf_meta_tags
= render "shared/google_analytics"
= yield(:head)
%body{ class: "#{controller_name} #{action_name}" }
.container-narrow
.masthead
= render "layouts/navigation"
%h2.muted My Gists
%hr/
= render "layouts/alerts"
= yield
%hr/
.footer
.row-fluid
.span7
%em My Gists
= link_to "crafted", github.my_gists_page
by
= link_to "@simeonwillbanks", github.simeon_page
using the
= succeed "." do
= link_to "GitHub API", github.api
.span5.pull-right
Thank you
= link_to "GitHub", github.home_page
for
= succeed "!" do
%strong= link_to "gists", github.gist_page
= javascript_include_tag "application"