24 lines
507 B
Plaintext
24 lines
507 B
Plaintext
# frozen_string_literal: true
|
|
|
|
html5 do
|
|
html do
|
|
head do
|
|
title "Hello!"
|
|
meta charset: "utf-8"
|
|
meta name: "viewport", content: "width=device-width, initial-scale=1"
|
|
link rel: "stylesheet", href: "/test.css"
|
|
meta name: "created", content: created
|
|
end
|
|
|
|
body do
|
|
div(id: "content") do
|
|
div(class: "container") do
|
|
h1("Hello!")
|
|
numbers.each do |i|
|
|
div("This is div ##{i}")
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end |