Commit a7dafc69 authored by Marius Isken's avatar Marius Isken
Browse files

wip: baraddur

parent 0920e2ba
......@@ -203,6 +203,7 @@ class Baraddur(BokehServer):
hosts='0.0.0.0')
tornado_app = self._tornado
tornado_app.listen(8080)
tornado_app.settings['template_path'] = self.config.template_path
if self.config.debug:
......@@ -237,7 +238,8 @@ class Baraddur(BokehServer):
return bokeh_apps
def get_tornado_handlers(self):
return [(r'/', pages.values()[0])] +\
return [(r'/', pages.values()[0],
{'config': self.config})] +\
[(r'/%s' % title, handler,
{'config': self.config})
for title, handler in pages.iteritems()] +\
......
......@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Grond | Barad-dur</title>
<title>Grond | Barad-dûr</title>
<link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/pure-min.css" integrity="sha384-UQiGfs9ICog+LwheBSRCt1o5cbyKIHbwjWscjemyBMT9YCUMZffs6UqUTd0hObXD" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/purecss@0.6.2/build/grids-responsive-min.css">
<link rel="stylesheet" href="/css/site.css">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment