aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
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" }}