summaryrefslogtreecommitdiff
path: root/blueprints
diff options
context:
space:
mode:
Diffstat (limited to 'blueprints')
-rw-r--r--blueprints/anmeldelse.lua6
-rw-r--r--blueprints/artikkel.lua4
2 files changed, 6 insertions, 4 deletions
diff --git a/blueprints/anmeldelse.lua b/blueprints/anmeldelse.lua
index 6df45d7..9f63745 100644
--- a/blueprints/anmeldelse.lua
+++ b/blueprints/anmeldelse.lua
@@ -48,10 +48,10 @@ function artikkel.html(body, data)
if data.portrait then
html.print("<img class='headshot' src='%s'>", data.portrait)
end
- html.print("</aside>")
+ html.dl(data.info)
html.print("<section class=body>")
- html.marxup(data.lead or "")
+ html.print("<p><b>" .. data.lead .. "</b>")
html.marxup(body)
html.print("</section>")
@@ -70,7 +70,7 @@ function artikkel.form(body, data)
html.label{text="Inline-bilde:"}
html.orz{inline = true}
- html.p{}
+ html.print("<p id=lol>")
html.textarea{name='lead', value=data.lead, rows=3}
html.p{}
diff --git a/blueprints/artikkel.lua b/blueprints/artikkel.lua
index 506c701..a4c6de7 100644
--- a/blueprints/artikkel.lua
+++ b/blueprints/artikkel.lua
@@ -19,7 +19,7 @@ function artikkel.html(body, data)
end
html.print("<p class=figure>")
- html.img(data.image)
+ html.img{src = data.image}
html.h2(data.title)
@@ -56,6 +56,8 @@ function artikkel.form(body, data)
html.label{text="Bilde:"}
html.orz{name = "image", value = data.image}
html.p{}
+ html.orz{inline = true}
+ html.print("<p id=lol>")
html.textarea{name='lead', value=data.lead, rows=3}
html.p{}
html.textarea{name='text', value=body}