From 6fd1ce1c570f7cc2210668e0bf1cf6109925e125 Mon Sep 17 00:00:00 2001 From: Siri Reiter Date: Fri, 13 Mar 2020 01:40:42 +0100 Subject: revert if-directive like genveje.mdwn to make inline appear different on index page and elsewhere --- vejviseren/corona_2020.mdwn | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/vejviseren/corona_2020.mdwn b/vejviseren/corona_2020.mdwn index cc404481..a60a6401 100644 --- a/vejviseren/corona_2020.mdwn +++ b/vejviseren/corona_2020.mdwn @@ -1,22 +1,19 @@ [[!meta title="Marts 2020: Byvandringer i Coronavirussens tid"]] [[!if test="included() and !(destpage(index) or destpage(test))" then=""" - Byvandringer gennemføres under kontrollerede vilkår. Efter ønske kan man afbestille ture, samt få tilbagebetalt enkeltbilletter. -[[!img bynu_forsideviral.jpg class=blog link=corona2020/]] - -[[Læs mere...|corona2020]] +[[!img bynu_forsideviral.jpg class=blog link=corona_2020]] -""" -[[!if test="included()" then=""" +[[Læs mere...|corona_2020]] +"""]] +[[!if test="included() and destpage(index)" then=""" [[!img bynu_forsideviral.jpg link=corona_2020 class=solo size=480x ]] +"""]] -""" - -else=""" +[[!if test="!included()" then=""" #2020 – Byvandringer og Coronavirus -- cgit v1.2.3