summaryrefslogtreecommitdiffstats
path: root/example/layout
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 09:44:02 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 09:44:02 +0100
commit0d82447a4a0f2c603e648ec5f640f848e6a02208 (patch)
tree6e75939b6e5d2d300df62cdbb0bb127042dc4c0d /example/layout
parent626aebd32b2fa899cfb67f3b569c7460aee9c9b0 (diff)
downloadzorglub-0d82447a4a0f2c603e648ec5f640f848e6a02208.zip
zorglub-0d82447a4a0f2c603e648ec5f640f848e6a02208.tar.gz
rename examples into example
Diffstat (limited to 'example/layout')
-rw-r--r--example/layout/css.haml5
-rw-r--r--example/layout/default.haml5
-rw-r--r--example/layout/other.haml4
3 files changed, 14 insertions, 0 deletions
diff --git a/example/layout/css.haml b/example/layout/css.haml
new file mode 100644
index 0000000..fbe0a47
--- /dev/null
+++ b/example/layout/css.haml
@@ -0,0 +1,5 @@
+%h1=@title
+%p="xx <b>css</b> layout xx"
+%p="Css #{inherited_var(:css).inspect}"
+%p=@content
+%p="xx -- xx"
diff --git a/example/layout/default.haml b/example/layout/default.haml
new file mode 100644
index 0000000..8df684f
--- /dev/null
+++ b/example/layout/default.haml
@@ -0,0 +1,5 @@
+%h1=@title
+%p="xx <b>default</b> layout xx"
+%p="count #{Zorglub::Node.count}"
+%p=@content
+%p="xx -- xx"
diff --git a/example/layout/other.haml b/example/layout/other.haml
new file mode 100644
index 0000000..601b305
--- /dev/null
+++ b/example/layout/other.haml
@@ -0,0 +1,4 @@
+%h1=@title
+%p="xx <b>other</b> layout - xx"
+%p=@content
+%p="xx -- xx"