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