if or (eq $globalThumbnailPosition "right") (eq $pageThumbnailPosition "right") }} flex-md-row-reverse{{- end -}}">
        
          <div class="col-md-auto my-auto pb-2">
            {{ if .Params.image.src -}}
              <img class="
              
              {{- if $pageThumbnailBorders }}
                {{- $thumbnailBorders = $pageThumbnailBorders }}
              {{- else if $globalThumbnailBorders }}
                {{- $thumbnailBorders = $globalThumbnailBorders }}  
                {{/*
  