diff options
author | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-01-21 17:49:37 +0000 |
---|---|---|
committer | Nathan Lasseter <Nathan Lasseter nathan@bytemark.co.uk> | 2015-01-21 17:49:37 +0000 |
commit | 2ed79c336647fd2e9d9527a05c72b4b14ff14598 (patch) | |
tree | cfd8e9cf303e3d1851e960921ca45681cdb47e88 /example.html.rb | |
parent | 2d392e7b167fdf0a6c76e287a0f78c7ff4f88d94 (diff) |
Syntax error
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" } |