summaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec/attachment.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-06 22:24:31 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-06 22:24:31 +0200
commitb8a261c82933ab6d3c23677f39af2a4300afc8b2 (patch)
tree4a64f517440fd6997023030bc6e254424fe4fe2b /ikiwiki/pagespec/attachment.mdwn
parentb911c9cc473b680aa51dbca391ba145661efa0bd (diff)
parent2a666df50044819e7465224a28ea9d81ca4a5d48 (diff)
Merge branch 'da' into master-damaster-da
Diffstat (limited to 'ikiwiki/pagespec/attachment.mdwn')
-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: