Make /_config/*.jst use ES6 superclass calls, fix failure to await the superclass...
[olly_site.git] / blog.html.jst
1 return async env => {
2   let _out = []
3   _out.push('<!DOCTYPE html>')
4   html {
5     head {
6       link(rel="stylesheet" type="text/css" href="olly.css") {}
7       title {
8         'Blog'
9       }
10     }
11     body.olly {
12       h1 {
13         'Olly\'s Blog'
14       }
15
16       ul {
17         li {
18           a("href=blog/20200331.html") {
19             b {'31/03/2020'}
20             ' Today we got Linux running on my new Asus Zenbook UM433DA'
21           }
22         }
23       }
24     }
25   }
26   env.site.serve(env, 200, Buffer.from(_out.join('')), 'circle.html.jst')
27 }