
			{{  $mypat := $.Params.pat}}

			{{ with .Site.GetPage .Params.ser }}

                {{/* $post_paginator := .Paginate (.Pages) 12 */}}
                {{/* range $post_paginator.Pages */}}
                {{ range first 12 .Pages }}


<div class="col-sm-4">
  <div class="mycard">
    <div class="image">

			{{ $mypage := . }}

                {{$images := .Resources.ByType "image"}}
                {{with $images.GetMatch "*cover*" }}
				<a class="text-dark" href="{{ $mypage.Permalink }}">
                    <img src="{{ .Permalink }}" alt="A thumbnail image">
				</a>
                {{end}}                

    </div>
    <div class="mycard-inner">
      <div class="header">
<a class="text-dark" href="{{ .Permalink }}"><h6>{{ .Title }}</h6></a>

    </div>
      </div>
  </div>
</div>

      {{end}}
            {{end}}

			{{.Inner}}

