From 15d55e301ad7bbc643115d7146fcedb6554b9db4 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Sat, 10 Sep 2011 23:36:38 +0200 Subject: rewrite example application --- examples/layout/css.haml | 5 +++++ examples/layout/default.haml | 2 +- examples/layout/other.haml | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 examples/layout/css.haml (limited to 'examples/layout') diff --git a/examples/layout/css.haml b/examples/layout/css.haml new file mode 100644 index 0000000..c9e35db --- /dev/null +++ b/examples/layout/css.haml @@ -0,0 +1,5 @@ +%h1=@title +%p="xx css layout xx" +%p="Css #{css.inspect}" +%p=@content +%p="xx -- xx" diff --git a/examples/layout/default.haml b/examples/layout/default.haml index 9c84f4d..6af5e38 100644 --- a/examples/layout/default.haml +++ b/examples/layout/default.haml @@ -1,4 +1,4 @@ %h1=@title -%p="xx -- xx" +%p="xx default layout xx" %p=@content %p="xx -- xx" diff --git a/examples/layout/other.haml b/examples/layout/other.haml index ac6f300..601b305 100644 --- a/examples/layout/other.haml +++ b/examples/layout/other.haml @@ -1,4 +1,4 @@ %h1=@title -%p="xx - OTHER - xx" +%p="xx other layout - xx" %p=@content -%p="xx - OTHER - xx" +%p="xx -- xx" -- cgit v1.2.3