{{ if $.Param "enableBio" }}
<section class="bio" data-dir="{{ $.Param "languagedir" | default "ltr" }}">
  {{ if ($.Param "enableBioImage" | default true) }}
  <hr class="hr-slash bio-hr"/>
  <div class="bio__photo-wrapper">
    {{ $src := "" }}
    {{ if site.Params.useGravatar }}
      {{ $src = printf "https://s.gravatar.com/avatar/%s?s=200" (md5 ($.Param "email")) }}
      <img src="{{ $src }}" alt="{{ if $.Param "myname" }}{{ $.Param "myname" }}{{ else }}Avatar{{ end }}" class="bio__photo" data-ani="{