diff --git a/content/photo/5ee255ec/index.md b/content/photo/5ee255ec/index.md
deleted file mode 100644
index f5e2aa56..00000000
--- a/content/photo/5ee255ec/index.md
+++ /dev/null
@@ -1,12 +0,0 @@
----
-date: '2020-06-11 17:03:56'
-draft: false
-photo:
- - 'https://jk.nipponalba.scot/media/file-20200611170355-1098.jpg'
-posttype: photo
-slug: 5ee255ec
-thumbnail:
- - 'https://jk.nipponalba.scot/media/file-20200611170355-1098.jpg'
-visibility: public
----
-Quick photo test
diff --git a/content/photo/5ee2782a/index.md b/content/photo/5ee2782a/index.md
deleted file mode 100644
index 2f522c28..00000000
--- a/content/photo/5ee2782a/index.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-date: '2020-06-11 19:30:02'
-draft: false
-photo:
- - 'https://jk.nipponalba.scot/media/file-20200611193001-1849.jpg'
-posttype: photo
-slug: 5ee2782a
-thumbnail:
- - 'https://jk.nipponalba.scot/media/file-20200611193001-1849.jpg'
-visibility: public
----
-Hopefully this post is devoid of html tags and displays an image..
-
-2nd line of text to see if any formatting at all is maintained!
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index b5488a33..9825b7fe 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -20,14 +20,15 @@
{{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}
{{ .Permalink }}
{{ .Content | plainify }}
- ({{ .Permalink }})
+ ({{ .Permalink }})
{{ range .Params.Photo }}
{{ if not ( in . "http" ) }}
- {{ $image_location := printf "static/%s" .}}{{$image := readFile $image_location }}{{$len := len $image}}
+
{{ else }}
- {{ $image_location := replace (printf "%s" .) "https://jk.nipponalba.scot/" "static/"}}{{$image := readFile $image_location }}{{$len := len $image}}
+
{{ end }}
{{ end }}
+
{{ end }}