aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/entry.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/entry.html')
-rw-r--r--template/html/entry.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/html/entry.html b/template/html/entry.html
index 4dcd3ca..c7eea4a 100644
--- a/template/html/entry.html
+++ b/template/html/entry.html
@@ -115,8 +115,8 @@
{{ end }}
<div class="entry-enclosure-download">
- <a href="{{ .URL }}" title="{{ .URL }} ({{ .MimeType }})" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ t "action.download" }}</a>
- <small>({{ .URL }})</small>
+ <a href="{{ .URL }}" title="{{ t "action.download" }}{{ if gt .Size 0 }} - {{ formatFileSize .Size }}{{ end }} ({{ .MimeType }})" target="_blank" rel="noopener noreferrer" referrerpolicy="no-referrer">{{ .URL }}</a>
+ <small>{{ if gt .Size 0 }} - <strong>{{ formatFileSize .Size }}</strong>{{ end }}</small>
</div>
</div>
{{ end }}