diff options
author | Siri Reiter <siri@jones.dk> | 2020-03-13 01:40:42 +0100 |
---|---|---|
committer | Siri Reiter <siri@jones.dk> | 2020-03-13 01:40:42 +0100 |
commit | 6fd1ce1c570f7cc2210668e0bf1cf6109925e125 (patch) | |
tree | abf47d165da2294e0d4a2a28d10cc785b9f86170 | |
parent | b36447222355d9ff4e88c06d22cfc188d9a60ce4 (diff) |
revert if-directive like genveje.mdwn to make inline appear different on index page and elsewhere
-rw-r--r-- | vejviseren/corona_2020.mdwn | 15 |
1 files 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 |