Move *.jst from / to /_lib to keep things tidy, implement /_lib/Problem.jst and ...
[ndcode_site.git] / _lib / page.jst
similarity index 98%
rename from page.jst
rename to _lib/page.jst
index 7345f29..058ae05 100644 (file)
--- a/page.jst
@@ -5,7 +5,7 @@ let crypto = require('crypto')
 return async (env, head, body, scripts) => {
   let favicons = await env.site.get_min_html('/_favicon/favicons.html')
   let globals = await env.site.get_json('/_config/globals.json')
-  let session_cookie = await _require('/session_cookie.jst')
+  let session_cookie = await _require('/_lib/session_cookie.jst')
 
   // initialize env.session_key, set cookie in env.response
   let transaction = await env.site.database.Transaction()