Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class DefaultLayout() : HtmlLayout() {
- override fun render(context: ActionContext, mainView: HtmlView) {
- head {
- title("Kara Demo Title")
- stylesheet(DefaultStyles())
- }
- body {
- h1("Kara Demo Site")
- div(id="main") {
- renderView(context, mainView)
- }
- a(text="Kara is developed by Tiny Mission", href="http://tinymission.com")
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment