Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html « layouts - gitlab.com/VincentTam/huginn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9eb428b448e4ad68ed66fc76d00a3fe355b83c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{ define "main" }}
{{- range (.Paginator 5).Pages -}}
<article>
  <header>
    <h1>
      <a href="{{ .Permalink }}">
        {{- .Title -}}
      </a>
      <time datetime="{{ .Date.Format "2006-01-02T15:04:05+01:00" }}">
      {{- .Date.Format "02/01/2006" -}}
    </time>
    </h1>
    <div class="meta">
      {{- range .Params.categories -}}
        <a class="categories" href="{{ "/categories/" | relLangURL }}{{ . | urlize }}">
          {{- . -}}
        </a>
      {{- end -}}
      {{- range .Params.tags -}}
        <a class="tags" href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">
          {{- . -}}
        </a>
      {{- end -}}
      </div>
  </header>
  {{ .Summary }}
</article>
{{- end -}}
<nav id="index">
  <a href="{{ .Site.BaseURL }}posts/">Voir le reste des 
billets</a>
</nav>
{{ end }}