mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #181 from scott1702/gravatar
Update docs about gravatars
This commit is contained in:
commit
02d5485f18
@ -96,16 +96,16 @@ properly sanitized. Don't allow tags like `<script>` or arbitrary attributes.
|
|||||||
|
|
||||||
## Gravatars
|
## Gravatars
|
||||||
|
|
||||||
Gravatars can be turned on by adding this to your mysite/_config.php file
|
Gravatars can be turned on by adding this to your mysite/_config/config.yml file
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
SiteTree:
|
SiteTree:
|
||||||
comments:
|
comments:
|
||||||
use_gravitar: true
|
use_gravatar: true
|
||||||
````
|
````
|
||||||
|
|
||||||
The default size is 80 pixels, as per the gravatar site if the 's' parameter is
|
The default size is 80 pixels, as per the gravatar site if the 's' parameter is
|
||||||
omitted. To change this add the following (again to mysite/_config.php):
|
omitted. To change this add the following (again to mysite/_config/config.yml):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
SiteTree:
|
SiteTree:
|
||||||
|
Loading…
Reference in New Issue
Block a user