Try to remove case ToC for non-case pages
parent
a557febf2e
commit
1c8574716e
|
@ -10,6 +10,7 @@
|
|||
<aside class="menu column is-3 mt-2 is-align-self-flex-start">
|
||||
{{ if (and .IsPage (eq .FirstSection.Section "posts"))}}
|
||||
{{ with .CurrentSection }}
|
||||
{{ if .Params.Title }}
|
||||
<p class="menu-label">
|
||||
Dans le dossier « <a href="{{ .Permalink }}">{{ .Params.Title }} »</a>...
|
||||
</p>
|
||||
|
@ -19,6 +20,7 @@
|
|||
{{ range $postsSorted }}
|
||||
<a {{ if eq $.Title .Title }} class="is-active" {{ end }} href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue