Skip to content

Instantly share code, notes, and snippets.

@ahlusar1989
Last active May 15, 2018 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahlusar1989/4c3367463ae21eddf526d61e1749bf6c to your computer and use it in GitHub Desktop.
Save ahlusar1989/4c3367463ae21eddf526d61e1749bf6c to your computer and use it in GitHub Desktop.
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style>
</style>
<script type="text/javascript">
function now() {
return new Date().toLocaleDateString()
}
</script>
</head>
<body>
<td>
<br> Created: {{ now }}
</td>
<br/>
{{#each assets}}
Asset name: {{./this}}
<br/>
<img src="{#asset {{./this}} @encoding=dataURI}"
style="width:100%; max-width:700px;"
/>
<br/>
{{/each}}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment