{{ define "main" }}

  {{ $paginator := .Paginate (where .Data.Pages "Type" "posts") }}
  {{ .Scratch.Set "paginator" $paginator }}

  <div class="pt-3 pt-md-5">
    <div class="container-fluid">
      <div class="row">
        <div class="col-md-8 offset-md-2">
          {{ if and (eq .Page.Type "categories") (eq .Page.Kind "taxonomy") }}
            <h1 class="pb-3 mb-0 border-bottom text-lowercase">#{{ .Title }}</h1>
          {{ else }}
            <h1 class="pb-3 mb-0 border-bottom">{{ .Title }}</h1>
 