diff --git a/exampleSite/content/posts/post-with-images/images/feature.jpg b/exampleSite/content/posts/post-with-images/images/feature.jpg
new file mode 100644
index 0000000..a5a17c3
Binary files /dev/null and b/exampleSite/content/posts/post-with-images/images/feature.jpg differ
diff --git a/exampleSite/content/posts/post-with-images/index.md b/exampleSite/content/posts/post-with-images/index.md
index 65d729b..64c0ef5 100644
--- a/exampleSite/content/posts/post-with-images/index.md
+++ b/exampleSite/content/posts/post-with-images/index.md
@@ -8,6 +8,10 @@ tags:
- Open Source
- Development
resources:
+ - name: feature
+ src: "images/feature.jpg"
+ params:
+ credits: "[Angelina Litvin](https://unsplash.com/@linalitvina) on [Unsplash](https://unsplash.com/s/photos/writing)"
- name: testimage
src: "images/testimage.jpg"
title: This is a test image
diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml
index bd97f27..128dc36 100644
--- a/layouts/_default/list.atom.xml
+++ b/layouts/_default/list.atom.xml
@@ -51,7 +51,7 @@
%s" ($desc | markdownify))) }} + {{ $description := (cond (eq "" $desc) "" (printf "
%s" ($desc | $.Page.RenderString))) }} {{ printf `
- {{ .Inner | markdownify }} + {{ .Inner | $.Page.RenderString }}diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index b6b0a12..5976c37 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -31,7 +31,7 @@ {{ end }}/> {{ with $caption }} -