aboutsummaryrefslogtreecommitdiff
path: root/assets/templates/markdown-feed.yaml
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-05 01:52:32 -0400
committertdro <tdro@noreply.example.com>2022-06-05 01:52:32 -0400
commit3bbf841311209695660efc06d5f598dff49380a0 (patch)
tree4d8077246427801fee7db34725c8eea7d22cf554 /assets/templates/markdown-feed.yaml
parentb7e72b625895e9cbbfd086391cd9d3fff56a8925 (diff)
downloadcanory-3bbf841311209695660efc06d5f598dff49380a0.tar.gz
canory-3bbf841311209695660efc06d5f598dff49380a0.tar.bz2
canory-3bbf841311209695660efc06d5f598dff49380a0.zip
assets/templates/markdown-feed: Ensure relative links on enclosure
Diffstat (limited to 'assets/templates/markdown-feed.yaml')
-rw-r--r--assets/templates/markdown-feed.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/templates/markdown-feed.yaml b/assets/templates/markdown-feed.yaml
index 8361144..8ea9797 100644
--- a/assets/templates/markdown-feed.yaml
+++ b/assets/templates/markdown-feed.yaml
@@ -40,7 +40,7 @@ feed:
{{- with $enclosure := resources.GetRemote . -}}
{{- $enclosure = .Content | resources.FromString (print $author "/media/" ($enclosure | urlize)) -}}
-![{{ $description }}]({{ ($enclosure.Resize "600x").RelPermalink }} "
+![{{ $description }}](/{{ print $author "/media/" (path.Base ($enclosure.Resize "600x").RelPermalink) }} "
{{ $description }}"
)
{{- end -}}