Fix javascript missing let
[stripe_example_site.git] / cancel.html.jst
1 return async env => {
2   let _out = []
3   _out.push('<!DOCTYPE html>')
4   html {
5     head {
6       title {
7         'Checkout canceled'
8       }
9       link(rel="stylesheet" href="style.css") {}
10     }
11     body {
12       section {
13         p {
14           'Forgot to add something to your cart? Shop around then come back to pay!'
15         }
16       }
17     }
18   }
19   env.site.serve(env, 200, Buffer.from(_out.join('')), 'cancel.html.jst')
20 }