-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from robertfausk/patch-1
minor: add missing 'Twig' language identifiers
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ Gravatar does not serve images greater than `2048px`, and they are all squares. | |
|
||
### grDefault | ||
Specify a default image for if the User does not have one defined | ||
``` | ||
```Twig | ||
{{ '[email protected]'|grAvatar|grDefault('http://example.com/default.png') }} | ||
``` | ||
|
||
|
@@ -73,7 +73,7 @@ You can also use any of Gravatar's built in default images, [you can see them he | |
### grRating | ||
Specify a maximum rating that the image can be. | ||
Valid values are `g`, `pg`, `r` and `x`. | ||
``` | ||
```Twig | ||
{{ '[email protected]'|grAvatar|grRating('pg') }} | ||
``` | ||
|
||
|