diff options
author | Dennis Eriksen <d@ennis.no> | 2019-11-06 14:56:42 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-11-06 14:56:42 +0100 |
commit | ae72154594a25b5248581b5414ff62fcd5197c3b (patch) | |
tree | 8788bed867e4101914d2ca7c3f8d1b70d1b1cd3c /layouts/index.html | |
parent | fixing typo in license-link (diff) | |
download | riker-ae72154594a25b5248581b5414ff62fcd5197c3b.tar.gz |
testing out microblogging
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index 4f74872..7516cf1 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,6 +6,17 @@ </header> <main> <p>{{ .Site.Params.intro }}</p> +<div class="microblog"> + <h2>Microblog</h2> + {{ range (where .Site.RegularPages "Type" "micro") }} + <article class="list-item"> + {{ .Summary }} + {{ if .Truncated }} + <a href="{{ .RelPermalink }}">Read more</a> + {{ end }} + </article> + {{ end }} +</div> <div class="archive"> <h2>Archive</h2> {{ range (where .Site.RegularPages "Type" "post").GroupByDate "2006" }} |