Skip to content

Commit

Permalink
Merge pull request timpritlove#1 from SimonWaldherr/patch-1
Browse files Browse the repository at this point in the history
add HTML 5 download attribute
  • Loading branch information
katrinleinweber committed Oct 24, 2015
2 parents 400d1ed + e52dd23 commit 3473e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CC-slim-downloads.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% for file in episode.files %}
{% if file.asset.downloadable %}
<td>
<a href="{{ file.publicUrl("downloads", "buttonlist") }}">{{ file.asset.title }}</a> ({{ file.size|formatBytes }})
<a href="{{ file.publicUrl("downloads", "buttonlist") }}" download>{{ file.asset.title }}</a> ({{ file.size|formatBytes }})
</td>
{% endif %}
{% endfor %}
Expand Down

0 comments on commit 3473e3e

Please sign in to comment.