JSRocksHQ / harmonic

The next static site generator
http://harmonicjs.com/
MIT License
282 stars 26 forks source link

Author picture - support Gravatar #112

Closed UltCombo closed 9 years ago

UltCombo commented 9 years ago

Right now, authors have to specify a URL to their profilePicture.

Perhaps we could add a Gravatar option?

UltCombo commented 9 years ago

Of course, one could enter the gravatar hash URL directly in the profilePicture, but that's not very user friendly. Perhaps we could support the format:

profilePicture: gravatar/john@gmail.com
or
profilePicture: gravatar:john@gmail.com

Or similar.

jaydson commented 9 years ago

I think this kind of thing must be offered by a plugin. But, Harmonic doesn't have (yet) the plugin mechanism :disappointed: Perhaps i must focus on that too. We already have the issue #6

UltCombo commented 9 years ago

Gravatar would be just very few lines of code and it is quite popular, but yes, a plugin would be better suited for the task. In the future, if this is as popular as I believe, the plugin could ship with Harmonic by default.

UltCombo commented 9 years ago

Closing this issue for now, one can generate the hash manually until the Harmonic Gravatar plugin is made.

jaydson commented 9 years ago

Sure, we can ship cool plugins as much as we want.