forked from PirateCare/Syllabus
!publish! added is_in for sessions..
This commit is contained in:
parent
09af9a85bf
commit
45712a3ce5
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "Kako pomoći ljudima u kućnoj izolaciji"
|
||||
images: ["/images/care_curve.jpg"]
|
||||
is_in: coronanotes
|
||||
---
|
||||
|
||||
Sastavljači: [Pirate Care Syllabus](http://syllabus.pirate.care/). Zadnje izmjene: 14. ožujka, 21h.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: "Bambini/e in quarantena"
|
||||
images: ["/images/care_curve.jpg"]
|
||||
is_in: coronanotes
|
||||
---
|
||||
|
||||
# Crisi della domesticità
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
{{ range (where $.Site.RegularPages ".Section" "topic") }}
|
||||
{{ if in .Params.has_sessions $currentNode.File.BaseFileName }}
|
||||
<li><a class="sidebar-list text-base" href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">↖ topic ⦚ {{ .Title }}</a></li>
|
||||
{{ else if eq $currentNode.Params.is_in .File.BaseFileName }}
|
||||
<li><a class="sidebar-list text-base" href="{{ .RelPermalink }}{{ if eq hugo.Environment "offline" }}index.html{{ end }}">↖ topic ⦚ {{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
Reference in New Issue