Skip to content

Commit 835a7ce

Browse files
committed
Add query param for default gravatar
1 parent f590470 commit 835a7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/vocabulary_theme/templates/macros/og_image.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% if page.author %}
1414
{% set author = page.parent.parent.children.get('authors').children.get(page.author) %}
1515
{% if author and author.md5_hashed_email %}
16-
{% set gravatarURL = 'https://secure.gravatar.com/avatar/' + author.md5_hashed_email + '?size=300' %}
16+
{% set gravatarURL = 'https://secure.gravatar.com/avatar/' + author.md5_hashed_email + '?size=300&d=mp' %}
1717
{% set queryParams = queryParams + '&images=' + gravatarURL %}
1818
{% set pageTitle = page.title + '<br><sm style="font-size:70px;">By '+ render_author_name(author) + '</sm>' %}
1919
{% endif %}

0 commit comments

Comments
 (0)