Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/persian-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2021-01-05 07:51:29 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2021-01-05 07:51:29 +0300
commite57989a980a196db14721c38df76d063fbdbfe1b (patch)
tree690bcfd918c9537bae1b2853f80a5ee6d1b4ce7b
parentda6b6c66a480a3db325f040dd65b52f8db1903f6 (diff)
modified author image
-rw-r--r--layouts/author/single.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/author/single.html b/layouts/author/single.html
index b3c5739..9f63096 100644
--- a/layouts/author/single.html
+++ b/layouts/author/single.html
@@ -7,11 +7,9 @@
<div class="text-center">
<figure>
{{ if .Params.Image }}
- <img class="rounded-circle img-fluid mb-4" style="height:150px;width:150px;object-fit: cover;"
- src="{{.Params.Image | absURL }}">
+ <img class="rounded-circle img-fluid mb-4" style="height:150px;width:150px;object-fit: cover;" src="{{.Params.Image | absURL }}">
{{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">
+ <img class="rounded-circle img-fluid mb-4" style="height:150px;width:150px;object-fit: cover;" src="https://www.gravatar.com/avatar/{{ md5 .Params.email }}?s=150&pg&d=identicon">
{{ end }}
<figcaption>
<h4>{{ .Title }}</h4>