Added param submitted to control display of author and date on posts.

This commit is contained in:
Fredrik Jonsson 2017-05-18 14:05:07 +02:00
commit a0e3be452c

View file

@ -3,12 +3,14 @@
<aside class="layout-3col__right-sidebar" role="complementary">
{{ range $section, $taxonomy := .Site.Sections -}}
{{ if ne $section "" -}}
<section>
<h4 class="menu"><a class="{{ if eq $currentSection $section }}active{{ end }}" href="/{{ urlize $section }}">{{ humanize $section }}</a></h4>
<ul class="menu">
{{ range $taxonomy.Pages -}}
<li><a class="{{ if eq $currentID .UniqueID }}active{{ end }}" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end -}}
</ul>
</section>
{{ end -}}
{{ end -}}
</aside>