diff options
author | Dennis Eriksen <d@ennis.no> | 2019-04-10 20:01:29 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-04-10 20:01:29 +0200 |
commit | 59e1226bfb0801c723f112a7c606d6d6f6fc09fb (patch) | |
tree | b2668c0c058912e92641357e26a81a6d709a5697 /layouts/index.html | |
parent | adding readme (diff) | |
download | rikerz-59e1226bfb0801c723f112a7c606d6d6f6fc09fb.tar.gz |
settling on design, adding giraffe, fixing css
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 6d3b85c..9c9fadc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,3 +1,23 @@ -{{ partial "header" . }} - <p>Hello world! This is HTML5 Boilerplate.</p> +{{ 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 .Data.Pages "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" . }} |