Skip to main content

Use Gravatar Everywhere

·153 words·1 min
Hong Konger.

What is Gravatar #

Your public profile on the internet, provided by Wordpress. See

1. Upload an image to your gravatar account #

If you don’t have the gravatar account, create one. Make sure that the email you used to create the account will be the email account you want to link your profile picture.

After that, upload your profile picture to gravatar.

2. Use the image everywhere #

Get your md5 hash of email address #

For MacOS user, you should have the md5 utility installed, go to the terminal and check:

❯ which md5

After that, generate the md5 has of your email address:

❯ md5 -s ""
MD5 ("") = ca49930cff2f87bd37bfe71ce21467f

The gravatar image url is in this format:{your md5 hash}?s={size}

If you want to have a 200px avatar, use

use this image url in <img> tag:

<img src="" />

And you are good to go!


Displaying the Full Content in Hugo's RSS feed
·481 words·3 mins
The default RSS feed in Hugo site shows article abstract only. But what should I do if I want to display full content of the articles in the feed?
Documentation Makes Easy With MkDocs and GitLab Pages
·1045 words·5 mins
A guide to build a static website using MkDocs and deploy it to GitLab Pages.
A Tale of Two Caches: Redis and the cache helper
·884 words·5 mins
A note on how to add Redis and the cache helper to a .NET core Mvc app.