Fix javascript missing let
[stripe_example_site.git] / success.html.jst
1 return async env => {
2   let _out = []
3   _out.push('<!DOCTYPE html>')
4   html {
5     head {
6       title {
7         'Thanks for your order!'
8       }
9       link(rel="stylesheet" href="style.css") {}
10     }
11     body {
12       section {
13         p {
14           'We appreciate your business! If you have any questions, please email '
15           a(href="mailto:orders@example.com") {
16             'orders@example.com'
17           }
18           '.'
19         }
20       }
21     }
22   }
23   env.site.serve(env, 200, Buffer.from(_out.join('')), 'success.html.jst')
24 }