Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olivsinz authored Sep 7, 2018
1 parent 7228200 commit 2310d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Showing avatar based on user complete name

Use the ``avatar`` function to generate user avatar.

{% set userCompleteName = 'John Doe' %}
{% set userCompleteName = 'Peter Jackson' %}
<img src="{{ avatar(userCompleteName, '', 64) }}" />

This example would output avatar with two initials letter like ``JD``, as ``John Doe`` is the providen user name.
This example would output avatar with two initials letter like ``PJ``, as ``Peter Jackson`` is the providen user name.

![alt Avatar examples](https://cloud.githubusercontent.com/assets/618412/12192012/835c7488-b60d-11e5-9276-d06f42d11a86.png)

0 comments on commit 2310d15

Please sign in to comment.