
      <meta name="twitter:card" content="summary_large_image"/>
      {{- $image := (index . 0) -}}
      {{- $image_link_absolute := (findRE "^/" $image) -}}
      {{- if $image_link_absolute -}}
          <meta name="twitter:image" content="{{- $image | absURL -}}"/>
      {{- else -}}
          <meta name="twitter:image" content="{{- (printf "%s%s" $permalink $image) -}}"/>
      {{- end -}}
  <!--using featured images-->
  {{ else -}}
      <!--featured image for the leaf bundle-->
      {{- $images :=