lib/jekyll-maps/location_finder.rb in jekyll-maps-1.1.3 vs lib/jekyll-maps/location_finder.rb in jekyll-maps-1.1.4
- old
+ new
@@ -17,10 +17,11 @@
@documents.map do |document|
{
:latitude => document["location"]["latitude"],
:longitude => document["location"]["longitude"],
:title => document["title"],
- :url => document["url"] || document.url
+ :url => document["url"] || document.url,
+ :image => document["image"] || ""
}
end
end
private