Add an entry for "Notes from Small Planets"
[books.alexwlchan.net] / templates / base.html
index d97c92e..8ee5e50 100644 (file)
@@ -4,9 +4,18 @@
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
 
-    <link rel="stylesheet" href="/static/style.css">
+    <link rel="stylesheet" href="/static/style.css?hash={{ '' | css_hash }}">
 
 
-    <title>{% if title %}{{ title | safe }} {% endif %}📚 lexie&rsquo;s book tracker</title>
+    {% block head_content %}{% endblock %}
+
+    <style>
+      aside #shelf_background {
+        background: url({{ [0, 0, 0] | create_shelf_data_uri }});
+        background-size: auto 100%;
+      }
+    </style>
+
+    <title>{% if title %}{{ title | smartypants | safe }} {% endif %}📚 lexie&rsquo;s book tracker</title>
   </head>
   <body>
     {% include "_header.html" %}
   </head>
   <body>
     {% include "_header.html" %}