Last active
February 24, 2016 19:42
-
-
Save jandreaucodes/fbd4984917af3cd79acd to your computer and use it in GitHub Desktop.
Show Gravatar in Reply Theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% capture checksum %}{{case.id}}@z29p6.com{%endcapture%} | |
| {% capture checksum %}{{ checksum | gravatar_image: gravatar_unknown_user, ssl }}{%endcapture%} | |
| {% capture checksum %}{{checksum|remove:'<img class="gravatar" alt="" width="50" height="50" src="http://www.gravatar.com/avatar/'}}{%endcapture%} | |
| {% capture checksum %}{{checksum|remove:'?rating=PG&size=50" />'}}{%endcapture%} | |
| {% capture string %}Z29IlN{{case.id}}{% endcapture %} | |
| {% capture hash %}{{ string | md5}}{% endcapture %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment