Added support for local avatar

Now user can choose to use local avatar or gravatar
This commit is contained in:
Giuseppe Pignataro
2019-03-27 10:48:55 +01:00
parent 72a9061bd7
commit 2fa50697fd
4 changed files with 29 additions and 12 deletions

View File

@@ -51,7 +51,8 @@ disqusShortname = "yourdiscussshortname"
yandex_verification = ""
pinterest_verification = ""
baidu_verification = ""
avatar = "/images/me/avatar.jpg" #comment it to use gravatar
socialShare = true
description = "" # site description
@@ -60,7 +61,8 @@ disqusShortname = "yourdiscussshortname"
license= 'Released under <a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
[params.gravatar]
email = ""
#email = "example@gmail.com" #uncomment and insert your email address to use gravatar
[params.social]
GitHub = "xxxx"