mirror of
https://git.adityakumar.xyz/hugo-devresume-theme.git
synced 2024-11-09 14:59:45 +00:00
if there is no avatar param in profile, there will be no avatar image in page
This commit is contained in:
parent
795fe4b641
commit
9cb1c67a33
1 changed files with 2 additions and 0 deletions
|
@ -3,7 +3,9 @@
|
|||
|
||||
<div class="media flex-column flex-md-row align-items-center">
|
||||
|
||||
{{ if .Site.Params.profile.avatar }}
|
||||
<img class="resume-profile-image mb-3 mb-md-0 mr-md-5 ml-md-0 rounded mx-auto" src="{{ .Site.BaseURL }}assets/images/{{ .Site.Params.profile.avatar }}" alt="image">
|
||||
{{ end }}
|
||||
|
||||
<div class="media-body text-left">
|
||||
<p class="mb-0">{{ .Site.Params.summary.text }}</p>
|
||||
|
|
Loading…
Reference in a new issue