diff options
Diffstat (limited to 'assets/templates')
-rw-r--r-- | assets/templates/markdown-feed.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/assets/templates/markdown-feed.yaml b/assets/templates/markdown-feed.yaml index 8ea9797..696785d 100644 --- a/assets/templates/markdown-feed.yaml +++ b/assets/templates/markdown-feed.yaml @@ -40,7 +40,8 @@ feed: {{- with $enclosure := resources.GetRemote . -}} {{- $enclosure = .Content | resources.FromString (print $author "/media/" ($enclosure | urlize)) -}} -![{{ $description }}](/{{ print $author "/media/" (path.Base ($enclosure.Resize "600x").RelPermalink) }} " +{{- $write := print $author "/media/" (path.Base ($enclosure.Resize "600x").RelPermalink) }} +![{{ $description }}]({{ $.enclosure }} " {{ $description }}" ) {{- end -}} |