summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-05-22 11:48:09 +0200
committerJules Laplace <julescarbon@gmail.com>2017-05-22 11:48:09 +0200
commit2b1437b205c78c93988a2bf64943528c748ee839 (patch)
treebb35d2840010e6178050c26a1b49ed9c290e526e /templates
parentd6ac6736507a3270dfb3fdd41761e4f9b0690251 (diff)
parent0d213b99599be8e5761940a535c4a76d254de04c (diff)
Merge branch 'master' of ghghgh.us:armory-fmf-cms
Diffstat (limited to 'templates')
-rw-r--r--templates/email.html2
-rw-r--r--templates/photo.liquid7
2 files changed, 5 insertions, 4 deletions
diff --git a/templates/email.html b/templates/email.html
index fab1372..7456eeb 100644
--- a/templates/email.html
+++ b/templates/email.html
@@ -1,6 +1,6 @@
HANSEL AND GRETEL
<br><br>
-<img src='cid:plain.jpg'>
+<img src='cid:face.jpg'>
<br><br>
<a href='https://hanselgretelarmory.com/photo/{{id}}'>Download your photo</a>
<br><br>
diff --git a/templates/photo.liquid b/templates/photo.liquid
index 278d4fe..088403b 100644
--- a/templates/photo.liquid
+++ b/templates/photo.liquid
@@ -169,9 +169,10 @@ a {
</body>
<script>
var hash = document.location.pathname.replace('/photo/','').replace(/\/.*/,'')
-image('dots')
-image('lines')
-image('plain')
+console.log(hash)
+image(hash, 'dots')
+image(hash, 'lines')
+image(hash, 'plain')
function image(hash, type) {
var img = new Image
img.src = 'https://marsupial.s3.amazonaws.com/armory/mail/' + hash + '-' + type + '.jpg'