summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-10-18 18:36:10 +0200
committerJonas Smedegaard <dr@jones.dk>2023-10-18 20:27:50 +0200
commitc6e3aed3844823712fb32d1dbeda42c4df34aa49 (patch)
tree87f8b1723494987a14362088d507763b7775eb4a /templates
parent36f82027978be887ff98b00c1dfdddb389630afc (diff)
wrap deco images, to support excempting auto-width styling
Diffstat (limited to 'templates')
-rw-r--r--templates/deco.mdwn3
-rw-r--r--templates/tour.mdwn2
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/deco.mdwn b/templates/deco.mdwn
new file mode 100644
index 00000000..d6bd3ff9
--- /dev/null
+++ b/templates/deco.mdwn
@@ -0,0 +1,3 @@
+<div class="deco">
+<TMPL_VAR text>
+</div>
diff --git a/templates/tour.mdwn b/templates/tour.mdwn
index da76174b..7e79afbb 100644
--- a/templates/tour.mdwn
+++ b/templates/tour.mdwn
@@ -10,10 +10,12 @@ Kort beskrivende appetitvækker på et par linier, fungerer som tekst i turovers
"""
else="""
+[[!template id="deco" text="
[[!img /img/billednavn.jpg class=deco]]
[[!img /img/billednavn.jpg class=deco]]
[[!img /img/billednavn.jpg class=deco]]
[[!img /img/billednavn.jpg class=deco]]
+"]]
# Overskrift
## Evt underoverskrift