Added parameter to menu-contextual.html: show_related

This commit is contained in:
Emiliano Tortorella 2018-11-18 12:11:02 -04:00
parent b253230db3
commit 9b8c05674b

View File

@ -17,6 +17,7 @@
{{ $related := .Site.RegularPages.Related . | first 15 }}
{{ if .Site.Params.show_related}}
{{ with $related }}
<div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links">
<p class="f5 b mb3">Related</p>
@ -31,3 +32,4 @@
</ul>
</div>
{{ end }}
{{ end }}