<html>
	<head>
		<title>Formulário</title>
		<meta charset="utf-8"/>
		{% assets filters="jsmin", output="gen/packed.css",
		  "css/form.css", "css/text.css", "css/show.css" %}
			<link rel="stylesheet" href="{{ ASSET_URL }}"/>
		{% endassets %}
		{% assets filters="jsmin", output="gen/packed.js",
		  "JS/show.js" %}
			<script src="{{ ASSET_URL }}"></script>
		{% endassets %}
	</head>
  <body>
	<main>
		<h1>Nossas fotos</h1>
		{% for image in images %}
			<figure>
				<img src="{{ image['data'] }}"/>
				<figcaption>
					Enviado por <i>{{ image["name"] }}</i>.
				</figcaption>
			<img width="50px" class="like{{loop.index}}" onclick="like('{{ image["data"] }}','{{ image["likes"] }}','.like{{loop.index}}')" src="https://freeiconshop.com/wp-content/uploads/edd/heart-flat.png" title="23 curtidas"/>

			<img width="50px" class="shit{{loop.index}}" onclick="shit('{{ image["data"] }}','{{ image["likes"] }}','.like{{loop.index}}')" src="https://image.flaticon.com/icons/svg/196/196827.svg"/>
			</figure>
			
		{% endfor %}
	</main>
  </body>
</html>