summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiri Reiter <siri@jones.dk>2017-02-06 13:09:19 +0100
committerSiri Reiter <siri@jones.dk>2017-02-06 13:09:19 +0100
commitc15151835481b97cd9f1f0111613e4b2af773bd9 (patch)
tree7f7756e9fc10ddf5bfe5c5b90f6b69b520912371
parentfe20b397ad20a0bb0c41b5ffc48f4d286805a0ff (diff)
Fix double image inline. (destpage index for frontpage inline image).
-rw-r--r--beerwalk.mdwn11
1 files changed, 6 insertions, 5 deletions
diff --git a/beerwalk.mdwn b/beerwalk.mdwn
index 60ef0868..4f46d29b 100644
--- a/beerwalk.mdwn
+++ b/beerwalk.mdwn
@@ -1,5 +1,11 @@
[[!meta title="Beerwalks - ølsmagning til fods"]]
+[[!if test="included() and (destpage(index)" then="""
+
+[[!img vindue_beerwalkstemning.jpg link=/beerwalk]]
+
+"""]]
+
[[!if test="included() and !(destpage(index) or destpage(test))" then="""
[[!img beerwalkstemning.jpg class=solo size=500x link=beerwalk]]
@@ -11,11 +17,6 @@ nøje udvalgte smagsprøver og ølhistorier undervejs.
"""]]
-[[!if test="included()" then="""
-
-[[!img vindue_beerwalkstemning.jpg link=/beerwalk]]
-
-"""]]
[[!if test="!included()" then="""
# Beerwalks - guidede ture med smagsprøver på Københavns bedste øl