theme: Merge commit '7fbb4bed25001182bfeb91f79db0f0c1936582ee'

Closes #32
This commit is contained in:
Bjørn Erik Pedersen 2017-09-13 20:53:46 +02:00
commit 557c36e81c
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,7 @@
<div id="readout" class="fixed right-0 bottom-0">
</div>
{{ .Render "page" }}
{{ partial "related.html" . }}
</div>
</div>
<div class="order-0 w-20 dn db-l">

View File

@ -0,0 +1,9 @@
{{ $related := .Site.RegularPages.Related . | first 5 }}
{{ with $related }}
<h2>See Also</h2>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}