Hugo Gravatar Module

Examples

ImageCode
Avatar{{ partial "gravatar/avatar" "user@example.com" }}
Avatar{{ partial "gravatar/avatar-hash" "e7501ec2b3cd95d6af8964743c1d27c7" }}
Avatar{{ partial "gravatar/avatar-params" (dict "Email" "invalid-email" "Default" "identicon") }}
Avatar{{ partial "gravatar/avatar-params" (dict "Id" "invalid-email-hash" "Default" "monsterid") }}
Avatar{{ partial "gravatar/avatar-params" (dict "Id" "invalid-email-hash" "Default" "https://razonyang.com/images/logo.webp") }}
Avatar{{ partial "gravatar/avatar-params" (dict "Id" "e7501ec2b3cd95d6af8964743c1d27c7" "Size" 120) }}
Avatar{{ partial "gravatar/avatar-params" (dict "Id" "e7501ec2b3cd95d6af8964743c1d27c7" "ForceDefault" true) }}
Avatar{{ partial "gravatar/avatar-params" (dict "Id" "e7501ec2b3cd95d6af8964743c1d27c7" "Rating" "x") }}
Avatar{{ partial "gravatar/avatar-params" (dict "Id" "e7501ec2b3cd95d6af8964743c1d27c7" "ClassName" "avatar-img-circle") }}
https://www.gravatar.com/avatar/e7501ec2b3cd95d6af8964743c1d27c7?d=mp&s=120{{ partial "gravatar/avatar-url" (dict "Id" "e7501ec2b3cd95d6af8964743c1d27c7" "Size" 120) }}