diff options
Diffstat (limited to 'example.html.rb')
-rw-r--r-- | example.html.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example.html.rb b/example.html.rb index fb5d818..db48799 100644 --- a/example.html.rb +++ b/example.html.rb @@ -10,15 +10,15 @@ puts Tag.html { Tag.title { "My Virgil site" } - } + } + Tag.body { Tag.h1 { "My Virgil site" - } + } + Tag.p ({:class => "italic"}) { "some content" - } - Tag.img ({:src => "img.jpg"}) + } + + Tag.img ({:src => "img.jpg"}) + Tag.a ({"href" => "/"}) { "A link home" } |