{{ if .BasicInfo.Photo }}
    <div class="sideSection avatar">
        <div class="avatar__container">
            <img class="avatar__img" src="{{ .BasicInfo.Photo }}" alt="photo of me">
        </div>
    </div>
{{ end }}