Added param submitted to control display of author and date on posts.
This commit is contained in:
parent
c0b9480f7c
commit
a0e3be452c
1 changed files with 14 additions and 15 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue