index.html 619 Bytes
Newer Older
1
{{ partial "header.html" . }}
wbar's avatar
wbar committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

  <h1>Liste des articles</h1>
  {{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.section_on_frontpage ) .Site.Params.pagination_articles }}
  {{ range $paginator.Pages }}
  <article>
    <header>
      <h1 class="articles-listing-title">
          <a href="{{ .RelPermalink }}">{{ .Title }}</a>
      </h1>
      {{ partial "metadata.html" . }}
    </header>

      {{ .Summary }}

    <p>
        <a href="{{ .RelPermalink }}">Lire la suite...</a>
    </p>
  </article>
  {{ end}}

  {{ partial "pagination.html" . }}

24
{{ partialCached "footer.html" . }}