I am trying to use your plugin on a jekyll site using a yml data file that also serves other purposes. Anyway, I can't get the gem to pull in the title field. It just pulls in a "null". even though one of the fields is named "title" (ideally I would be able to remap the names of the fields). I have tried adding a "location:" to the beginning of the record and indenting everything else by two spaces. It does pull in the lat, long and url just fine. Also is there a way to use advanced logic for the marker image (i.e., if type=sweet then use marker one if type=savory then use marker 2)? Ideally, I would love to see live use cases out there including sample yml files beyond what you have in ayastreb.me/jekyll-maps/ If anyone can lead me in the right direction.... Thanks!
I am trying to use your plugin on a jekyll site using a yml data file that also serves other purposes. Anyway, I can't get the gem to pull in the title field. It just pulls in a "null". even though one of the fields is named "title" (ideally I would be able to remap the names of the fields). I have tried adding a "location:" to the beginning of the record and indenting everything else by two spaces. It does pull in the lat, long and url just fine. Also is there a way to use advanced logic for the marker image (i.e., if type=sweet then use marker one if type=savory then use marker 2)? Ideally, I would love to see live use cases out there including sample yml files beyond what you have in ayastreb.me/jekyll-maps/ If anyone can lead me in the right direction.... Thanks!