!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"
|
title: "Kako pomoći ljudima u kućnoj izolaciji"
|
||||||
images: ["/images/care_curve.jpg"]
|
images: ["/images/care_curve.jpg"]
|
||||||
|
is_in: coronanotes
|
||||||
---
|
---
|
||||||
|
|
||||||
Sastavljači: [Pirate Care Syllabus](http://syllabus.pirate.care/). Zadnje izmjene: 14. ožujka, 21h.
|
Sastavljači: [Pirate Care Syllabus](http://syllabus.pirate.care/). Zadnje izmjene: 14. ožujka, 21h.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
title: "Bambini/e in quarantena"
|
title: "Bambini/e in quarantena"
|
||||||
images: ["/images/care_curve.jpg"]
|
images: ["/images/care_curve.jpg"]
|
||||||
|
is_in: coronanotes
|
||||||
---
|
---
|
||||||
|
|
||||||
# Crisi della domesticità
|
# Crisi della domesticità
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
{{ range (where $.Site.RegularPages ".Section" "topic") }}
|
{{ range (where $.Site.RegularPages ".Section" "topic") }}
|
||||||
{{ if in .Params.has_sessions $currentNode.File.BaseFileName }}
|
{{ 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>
|
<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 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue