summaryrefslogtreecommitdiffstats
path: root/layouts/index.html
blob: afce814209179b7e30e08eff92fe55e4a8cb8b60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{ partial "head" . }}

<header>
    <a href="/"><img id="logo" src="/img/giraffe.svg" /></a>
<h1>dnns.no</h1>
</header>
<main>
<p>This site contains articles of various quality, and is sort of a private-but-public documentation of various things. Maybe there'll be some "normal" blog-posts at some point as well. Who knows.</p>

<div class="archive">
  <h2>Archive</h2>
  {{ range (where .Site.RegularPages "Type" "post").GroupByDate "2006" }}
  <h3 class="archive-title">{{ .Key }}</h3>
  {{ range .Pages }}
  <article class="list-item">
    <a href="{{ .Permalink }}" class="list-item-link">{{ .Title }}</a>
    <span class="list-item-date">{{ .Date.Format "January 2, 2006" }}</span>
  </article>
  {{ end }}
  {{ end }}
</div> 
</main>
{{ partial "footer" . }}