blog/templates/main.skooma.yue

18 lines
427 B
Text

import output from require 'params'
import 'modules'
(...) =>
head_content, body_content = @(...)
body_content = head_content unless body_content
render.html(html {
lang: "english"
head {
link rel: "stylesheet", href: "/#{output}/css/site.css"
meta charset: "UTF-8"
head_content
[ link rel: "modulepreload", href: module.url for module in *modules when module.preload ]
}
body {
body_content
}
})