aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-06 14:56:42 +0100
committerDennis Eriksen <d@ennis.no>2019-11-06 14:56:42 +0100
commitae72154594a25b5248581b5414ff62fcd5197c3b (patch)
tree8788bed867e4101914d2ca7c3f8d1b70d1b1cd3c /layouts/index.html
parentfixing typo in license-link (diff)
downloadriker-ae72154594a25b5248581b5414ff62fcd5197c3b.tar.gz
testing out microblogging
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html11
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" }}