summaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-06 22:23:46 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-06 22:23:46 +0200
commit2a666df50044819e7465224a28ea9d81ca4a5d48 (patch)
tree68bf43095c019ed6c8821821b9a31bed344fb7ad /ikiwiki/pagespec
parent488ee68619570d293ebae2b21c36a4a1b3d13a64 (diff)
parenta4d8b1a6fba4a0c21a9acecabc6ddd1b54aacb44 (diff)
Merge branch 'ikiwiki' into dada
Diffstat (limited to 'ikiwiki/pagespec')
-rw-r--r--ikiwiki/pagespec/attachment.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/ikiwiki/pagespec/attachment.mdwn b/ikiwiki/pagespec/attachment.mdwn
index 302732f..f5724ef 100644
--- a/ikiwiki/pagespec/attachment.mdwn
+++ b/ikiwiki/pagespec/attachment.mdwn
@@ -12,7 +12,7 @@ billeder op, og intet andet, mens større mp3-filer må lægges op af joey til
en bestemt mappe, og alle vedhæftninger checkes for vira, kunne noget i stil
med dette bruges:
- virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb)))
+ virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or ((mimetype(image/jpeg) or mimetype(image/png)) and maxsize(50kb)))
Den normale [[ikiwiki/PageSpec]]-syntaks er udvidet med følgende yderligere
tests: