From 45712a3ce5260c1c6efab6bf52c2f6e9cc219060 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Thu, 19 Mar 2020 02:29:36 +0100 Subject: [PATCH] !publish! added is_in for sessions.. --- content/session/hr.assistingpeopleinisolation.md | 1 + content/session/it.kidsinquarantine.md | 1 + themes/piratecare/layouts/session/single.html | 2 ++ 3 files changed, 4 insertions(+) diff --git a/content/session/hr.assistingpeopleinisolation.md b/content/session/hr.assistingpeopleinisolation.md index a193805..5179fe0 100644 --- a/content/session/hr.assistingpeopleinisolation.md +++ b/content/session/hr.assistingpeopleinisolation.md @@ -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. diff --git a/content/session/it.kidsinquarantine.md b/content/session/it.kidsinquarantine.md index a375f4e..81c1677 100644 --- a/content/session/it.kidsinquarantine.md +++ b/content/session/it.kidsinquarantine.md @@ -1,6 +1,7 @@ --- title: "Bambini/e in quarantena" images: ["/images/care_curve.jpg"] +is_in: coronanotes --- # Crisi della domesticità diff --git a/themes/piratecare/layouts/session/single.html b/themes/piratecare/layouts/session/single.html index f3a9240..cee77ac 100644 --- a/themes/piratecare/layouts/session/single.html +++ b/themes/piratecare/layouts/session/single.html @@ -25,6 +25,8 @@ {{ range (where $.Site.RegularPages ".Section" "topic") }} {{ if in .Params.has_sessions $currentNode.File.BaseFileName }}
  • ↖ topic ⦚ {{ .Title }}
  • + {{ else if eq $currentNode.Params.is_in .File.BaseFileName }} +
  • ↖ topic ⦚ {{ .Title }}
  • {{ end }} {{ end }}