Created
November 29, 2016 16:09
-
-
Save Rich-Harris/51b8e73f79823f1cee2658d4b04f609b to your computer and use it in GitHub Desktop.
each blocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Cats of YouTube</h1> | |
<ul> | |
{{#each cats as cat}} | |
<li><a target='_blank' href='{{cat.video}}'>{{cat.name}}</a></li> | |
{{/each}} | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cats": [ | |
{ | |
"name": "Keyboard Cat", | |
"video": "https://www.youtube.com/watch?v=J---aiyznGQ" | |
}, | |
{ | |
"name": "Maru", | |
"video": "https://www.youtube.com/watch?v=z_AbfPXTKms" | |
}, | |
{ | |
"name": "Henri The Existential Cat", | |
"video": "https://www.youtube.com/watch?v=OUtn3pvWmpg" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment