Created
September 16, 2013 16:30
-
-
Save torstello/6583013 to your computer and use it in GitHub Desktop.
slim: starter template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
doctype html | |
html | |
head | |
meta name="author" content=@author | |
link href="/css/reset.css" media="screen" rel="stylesheet" type="text/css" | |
link href="/css/grid.css" media="screen" rel="stylesheet" type="text/css" | |
link href="/css/layout.css" media="screen" rel="stylesheet" type="text/css" | |
link href="/css/text.css" media="screen" rel="stylesheet" type="text/css" | |
/ link rel="icon" type="image/x-icon" href="/favicon.ico" | |
title = @title | |
body | |
div class="container" | |
#container.row | |
/ top part, contains the navigation menu | |
#top.grid_12 | |
header.grid_6 | |
h2 = @title | |
h1 = @subtitle | |
nav.grid_6.last | |
ul.clearfix | |
li <a href="/learn">Home</a> | |
li <a href="/sequel">Sequel</a> | |
li <a href="https://github.com/torstello/learning-ramaze">Repo</a> | |
/ close nav | |
/ close top | |
#content.grid_12_content | |
== @content | |
/ close content + container | |
#footer | |
p | |
/ ' ==> like | but with trailing whitespace | |
' Copyright © #{@year} #{@author}, | |
/ same line as above, == means no html-escape | |
== @poweredby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment