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: ade17830e19baf6df6e0c43a215626982d7bd0dd (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
{{ 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='{{ "posts/" | relLangURL }}'>{{ i18n "seeMorePosts" }}</a>
</nav>
{{ end }}