jpescador / hugo-future-imperfect

A ported theme with some extras for the Hugo static website engine
MIT License
308 stars 227 forks source link

Layout/Sidebar: add support of Gravatar to fetch main picture #130

Closed Horgix closed 1 year ago

Horgix commented 6 years ago

Description

It is currently only possible to directly reference an image for the main avatar/picture in the sidebar. This Pull Requests adds support for getting this image from Gravatar by only specifying the email address to look for in the hugo configuration (config.{toml.yaml,json}).

If the gravatar field of the [params.intro.pic] section is set, it will take precedence over the existing src field. This hence doesn't change anything for current users just updating the theme. The concerned gravatar field has been added to the example site configuration and defaults to an empty string, effectively disabling it.

Motivation and Context

How Has This Been Tested?

Hugo Version: Hugo Static Site Generator v0.37.1 linux/amd64 BuildDate: 2018-03-08T21:23:30+0100

Browser(s): Mozilla Firefox 59.0.1

Types of changes

Checklist:

Horgix commented 6 years ago

Any news on this? Can I help with something? :slightly_smiling_face:

pacollins commented 6 years ago

@Horgix Sorry I have been super busy and am actually working on a rebase of most of the theme.

Horgix commented 6 years ago

@pacollins : no worries :slightly_smiling_face: Will this have a chance to be merged before the rebase of the theme? If not, should I close it and just maintain my own fork? Thanks!

Horgix commented 1 year ago

I guess that after 5 years there isn't much hope to see this merged, and am therefore closing the PR.

Good luck with the future of the project and its maintenance! :slightly_smiling_face: