summaryrefslogtreecommitdiffstats
path: root/example/layout
diff options
context:
space:
mode:
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"