Created
October 4, 2015 19:29
-
-
Save themeteorchef/9f8d0be522547b5d57c7 to your computer and use it in GitHub Desktop.
Using the HTML5 download attribute
This file contains hidden or 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
| <template name="home"> | |
| <p>File content: {{content}}</p> | |
| <p><a href="{{pathFor 'server.file'}}" download="filename.type">Download a file</a></p> | |
| </template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment