aboutsummaryrefslogtreecommitdiff
path: root/source/_layouts
diff options
context:
space:
mode:
authorB Mathis <brandon@imathis.com>2009-10-18 19:07:36 -0500
committerB Mathis <brandon@imathis.com>2009-10-18 19:07:36 -0500
commit82d0251da120186c27791b7c073aa103d73c2b31 (patch)
treeed8c90ca49e21c160ed119ab6a297c614d9c5e73 /source/_layouts
parent2b4c5948b36ed1054dab270444df51fd4c38196f (diff)
downloadmy_new_personal_website-82d0251da120186c27791b7c073aa103d73c2b31.tar.xz
my_new_personal_website-82d0251da120186c27791b7c073aa103d73c2b31.zip
improved starting point
Diffstat (limited to 'source/_layouts')
-rw-r--r--source/_layouts/default.haml20
-rw-r--r--source/_layouts/post.haml20
2 files changed, 40 insertions, 0 deletions
diff --git a/source/_layouts/default.haml b/source/_layouts/default.haml
new file mode 100644
index 00000000..43dae4f4
--- /dev/null
+++ b/source/_layouts/default.haml
@@ -0,0 +1,20 @@
+!!! 1.1 Transitional
+%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en")
+ %head
+ %title= page.title
+ - if page.respond_to? :description
+ %meta{:name=>"description", :content=>page.description}/
+ - if page.respond_to? :keywords
+ %meta{:name=>"keywords", :content=>page.keywords}/
+ %body
+ #header
+ .page_width
+ %a.title(href="/")Blog
+ %ul#header_nav.nav
+ %li.alpha
+ %a(href="/") Home
+ #page
+ .page_width
+ = content
+ #footer
+ .page_width Footer \ No newline at end of file
diff --git a/source/_layouts/post.haml b/source/_layouts/post.haml
new file mode 100644
index 00000000..42ccde45
--- /dev/null
+++ b/source/_layouts/post.haml
@@ -0,0 +1,20 @@
+!!! 1.1 Transitional
+%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en")
+ %head
+ %title= page.title
+ - if page.respond_to? :description
+ %meta{:name=>"description", :content=>page.description}/
+ - if page.respond_to? :keywords
+ %meta{:name=>"keywords", :content=>page.keywords}/
+ %body
+ #header
+ .page_width
+ %a.title(href="/")Page Title
+ %ul#header_nav.nav
+ %li.alpha
+ %a(href="/") Home
+ #page
+ .page_width
+ = content
+ #footer
+ .page_width Footer \ No newline at end of file