diff --git a/templates/status.tmpl b/templates/status.tmpl index e842a96..a46129f 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -91,7 +91,9 @@ {{if eq .Type "image"}} {{if $.Ctx.HideAttachments}} - [image] + + {{if .Description}}[{{.Description}}]{{else}}[image]{{end}} + {{else}} status-image @@ -103,7 +105,9 @@ {{else if eq .Type "audio"}} {{if $.Ctx.HideAttachments}} - [audio] + + {{if .Description}}[{{.Description}}]{{else}}[audio]{{end}} + {{else}}