summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-01-02 01:23:14 +0200
committerYuval Adam <yuval@y3xz.com>2016-01-02 01:23:14 +0200
commit7831cf281921fdab1ac652528451100bf3479206 (patch)
tree934ddb317c083207bc930e317d6e73a170cf8dc5 /templates
parent8ffcc2bbd0460616495d18feb74763f31a459c1d (diff)
Render imgs into global state
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 61cbb05..052b318 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -16,6 +16,9 @@
</head>
<body>
<div id='root'></div>
+ <script>
+ window.imgs = {{ imgs|safe }};
+ </script>
<script src='/static/js/bundle.js'></script>
</body>
</html>