diff options
Diffstat (limited to 'layouts/author/single.html')
-rw-r--r-- | layouts/author/single.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/author/single.html b/layouts/author/single.html index b6ff2f0..3501afb 100644 --- a/layouts/author/single.html +++ b/layouts/author/single.html @@ -6,8 +6,8 @@ <div class="col-lg-10 mx-auto"> <div class="text-center"> <figure> - {{ if .Params.Image }} - <img class="rounded-circle img-fluid mb-4" src="{{.Params.Image | relURL }}"> + {{ if .Params.image }} + <img class="rounded-circle img-fluid mb-4" src="{{.Params.image | relURL }}"> {{else if .Params.Email}} <img class="rounded-circle img-fluid mb-4" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=128&pg&d=identicon"> {{ end }} |