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,7 +17,8 @@
{{ $related := .Site.RegularPages.Related . | first 15 }} {{ $related := .Site.RegularPages.Related . | first 15 }}
{{ with $related }} {{ if .Site.Params.show_related}}
{{ with $related }}
<div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links"> <div class="bg-light-gray pa3 nested-list-reset nested-copy-line-height nested-links">
<p class="f5 b mb3">Related</p> <p class="f5 b mb3">Related</p>
<ul class="pa0 list"> <ul class="pa0 list">
@ -29,5 +30,6 @@
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
</div> </div>
{{ end }}
{{ end }} {{ end }}