thom4parisot / hexo-algolia

Index your hexo website content to Algolia Search.
https://npmjs.com/hexo-algolia
MIT License
88 stars 15 forks source link

enhancement: ability to specify custom front-matter properties #29

Closed codediodeio closed 3 years ago

codediodeio commented 7 years ago

I added an additional config option (include) allowing custom properties to be specified. These custom properties are added to the defaults.

thom4parisot commented 5 years ago

Hey @codediodeio, sorry I never took the time to reply to you before.

I agree with what you propose to do.

However in the most recent version of the plugin, I'm leaning towards CLI arguments to parametrize the indexation. I'd rather leep the YML config file for frontend related options.

Can you rework your PR in this direction? Like I did for --layouts but naming it --properties?

Thank you :-)