dommmel / jekyll-contentful

Jekyll plugin for Contenful.com
MIT License
29 stars 5 forks source link

Do not merge Contentful fields with properties #3

Closed neonichu closed 9 years ago

neonichu commented 9 years ago

This ensures that all fields are actually accessible, no matter if they clash with existing system defined properties, e.g. content.

neonichu commented 9 years ago

We could also do both, but that would b somewhat messy.

dommmel commented 9 years ago

I agree. That would be a mess. Let's stick with your suggestion then. Maybe we can make the variable names more clear though. E.g.

self.data['contentful_fields'] 
self.data["contentful_id"] 
self.data["contentful_locale"]

What do you think? (Reminder to self: Update Readme)

neonichu commented 9 years ago

Sounds good, I have updated this and also the README.