Merge branch 'master' into delayed-disqus

This commit is contained in:
Michael Romero 2018-10-26 00:53:23 -07:00 committed by GitHub
commit 934131263b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 726 additions and 19 deletions

View file

@ -21,6 +21,18 @@
</ul>
</section>
{{ end }}
{{ if .Site.Params.showRelatedPosts }}
{{ $related := .Site.RegularPages.Related . | first 3 }}
{{ with $related }}
<h4 class="see-also">{{ i18n "seeAlso" }}</h4>
<ul>
{{ range . }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ end }}
{{ end }}
</article>
{{ if ne .Type "page" }}