Use a new tinted book set on every page
[books.alexwlchan.net] / templates / base.html
1 <!doctype html>
2 <html lang="en">
3   <head>
4     <meta charset="utf-8">
5     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
7     <link rel="stylesheet" href="/static/style.css?hash={{ '' | css_hash }}">
8
9     {% block head_content %}{% endblock %}
10
11     <style>
12       aside #shelf_background {
13         background: url({{ [0, 0, 0] | create_shelf_data_uri }});
14       }
15     </style>
16
17     <title>{% if title %}{{ title | smartypants | safe }} {% endif %}📚 lexie&rsquo;s book tracker</title>
18   </head>
19   <body>
20     {% include "_header.html" %}
21
22     <main>
23       {% block content %}{% endblock %}
24     </main>
25
26     {% include "_footer.html" %}
27   </body>
28 </html>