aboutsummaryrefslogtreecommitdiff
path: root/assets/templates
diff options
context:
space:
mode:
Diffstat (limited to 'assets/templates')
-rw-r--r--assets/templates/markdown-feed.yaml7
1 files changed, 3 insertions, 4 deletions
diff --git a/assets/templates/markdown-feed.yaml b/assets/templates/markdown-feed.yaml
index c4450aa..d39a999 100644
--- a/assets/templates/markdown-feed.yaml
+++ b/assets/templates/markdown-feed.yaml
@@ -26,7 +26,6 @@ feed:
| replaceRE "}" "}"
}} [Read More →]({{ .link }})
-{{ with .enclosure -}}
{{- $author := "default" -}}
{{- with $.author -}}
@@ -36,10 +35,10 @@ feed:
{{- $description := "Image/Picture" -}}
{{- with $.description -}}
{{ $description = . | htmlEscape }}
-{{- end -}}
+{{- end }}
-![{{ $description }}]({{ $.enclosure }} "
+{{ with .enclosure -}}
+![{{ $description }}]({{ . }} "
{{ $description }}"
)
-
{{- end }}