local artikkel = blueprint("default")
function artikkel.env(data)
data.image = os.getenv("POST_image")
data.published = os.getenv("POST_published")
data.lead = os.getenv("POST_lead")
end
function artikkel.html(body, data)
if data.mode == "title" then
html.h2(data.title)
return
end
if data.mode == "short" then
html.p()
html.print(body)
return
end
html.print("