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

index.html « layouts - github.com/edavidaja/docter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a63f1455cf10b29278bb7cd6533fbc4b9f07ebf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{define "main" }}

{{ .Content }}

<div id="home">
  <h2>Posts</h2>
  <ul class="posts">
    {{ $section := where $.Site.RegularPages "Section" "post"}}
    {{ range $section }}
      <li>
        <a href="{{ .Page.Permalink }}">{{ .Title }}</a>
        <span class="post-date">{{ .Date | dateFormat "Jan 2, 2006" }}</span>
      </li>
    {{ end }}
  </ul>
</div>

{{ end }}