
{{ define "main" }}
<div class="m-auto max-w-6xl px-4">
{{ partial "breadcrumbs.html" . }}
</div>
<div class="m-auto my-16 max-w-6xl">
<div class="mx-4">
    <h2 class="text-2xl text-mms-nightblue text-center">Les dernières actus de la MMS 43</h2>
    {{ range .Pages }}
    <a href="{{.RelPermalink}}">
    <article class="my-16">
      <h3 class="text-xl text-mms-nightblue font-bold">{{.LinkTitle}}</h3>
      {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
      {{ $dateHuman := .Date | time.Format ":date_long" }}
      <time class="text-mms-turquoise font-bold" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
      <div class="my-4">
      {{.Page.Summary}}
      {{ if .Truncated }}
      <a class="text-mms-turquoise" href="{{ .RelPermalink }}">Lire la suire ...</a>
      {{ end }}
      </div>
    </article>
    </a>
    {{ end }}
  </div>
</div>
{{ end }}
