diff --git a/lib/jekyll/migrators/tumblr.rb b/lib/jekyll/migrators/tumblr.rb index d1df9678..e2758ba8 100644 --- a/lib/jekyll/migrators/tumblr.rb +++ b/lib/jekyll/migrators/tumblr.rb @@ -60,7 +60,9 @@ module Jekyll max_size = post.keys.map{ |k| k.gsub("photo-url-", "").to_i }.max url = post["photo-url"] || post["photo-url-#{max_size}"] content = "" - content = "#{content}" unless url.nil? + unless post["photo-link-url"].nil? + content = "#{content}" + end when "audio" if !post["id3-title"].nil? title = post["id3-title"]