Archived
1
0

add download link for files

This commit is contained in:
ZiRo
2016-05-22 20:22:12 +02:00
parent 920ddb64b3
commit 41caf046a0
3 changed files with 15 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
{{#post.Attachments}}
<figure>
<figcaption>
<a class="download_link" href="{{Source}}" download="{{Filename}}">{{#i18n.Translations}}{{download_prompt}}{{/i18n.Translations}}</a>
<a class="file" href="{{Source}}" title="{{Filename}}" target="_blank"><img src="{{Thumbnail}}" alt="{{Filename}}" class="thumbnail"/></a>
</figcaption>
</figure>