-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.html
28 lines (27 loc) · 1.04 KB
/
template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Giphy Responser</title>
<style type="text/css">
* {
font-family: Helvetica, Arial, sans-serif;
}
</style>
</head>
<body style="text-align:center;">
<h1>{{ search }} gifs!</h1>
{{ if not empty(gifs) }}
<ul style="list-style-type: none;padding:0;margin:0;">
{{ each gifs }}
<li><a href="{{{ loop_var.url }}}"><img src="{{ loop_var.src }}" /></a></li>
{{ end }}
</ul>
{{ else }}
<h3>Sorry, no gifs were found.</h3>
{{ end }}
<p>
Email sent using <a href="https://developers.sparkpost.com" data-msys-linkname="Developer Hub">SparkPost</a>.<br/>
<a href="https://github.com/aydrian/giphy-responder"data-msys-linkname="Giphy Responder">Giphy Responder</a>
</p>
</body>
</html>