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

github.com/adityatelange/hugo-PaperMod.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/index_profile.html')
-rw-r--r--layouts/partials/index_profile.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html
index 5d28afa4..c2ff3e69 100644
--- a/layouts/partials/index_profile.html
+++ b/layouts/partials/index_profile.html
@@ -20,10 +20,10 @@
{{- $img = $img.Resize "150x150" }}
{{- end }}
{{- end }}
- <img src="{{ $img.Permalink }}" alt="{{ .imageTitle | default "profile image" }}"
+ <img draggable="false" src="{{ $img.Permalink }}" alt="{{ .imageTitle | default "profile image" }}" title="{{ .imageTitle }}"
height="{{ .imageHeight | default 150 }}" width="{{ .imageWidth | default 150 }}" />
{{- else }}
- <img src="{{ .imageUrl | absURL }}" alt="{{ .imageTitle | default "profile image" }}"
+ <img draggable="false" src="{{ .imageUrl | absURL }}" alt="{{ .imageTitle | default "profile image" }}" title="{{ .imageTitle }}"
height="{{ .imageHeight | default 150 }}" width="{{ .imageWidth | default 150 }}" />
{{- end }}
{{- end }}