 $page.Resources.ByType "image" -}}
      {{ $leaf := $images.GetMatch "*feature*" }}
      {{- $hex := $images.GetMatch "*hex*" -}}
      {{- $card := cond (ne $hex nil) $hex $leaf -}}
      <!--sidebar image for the branch bundle-->
      {{ $branch := ($section.Resources.ByType "image").GetMatch "*sidebar*" }}
      {{- $card := cond (ne $card nil) $card $branch -}}
      {{ with $card }}
          <meta property="og:image" content="{{ .Permalink }}" >
          <meta property="twitter:card" content="{{ 