aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki/pagespec/attachment/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/pagespec/attachment/index.html')
-rw-r--r--ikiwiki/pagespec/attachment/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ikiwiki/pagespec/attachment/index.html b/ikiwiki/pagespec/attachment/index.html
index ec3e4d7..563d4ba 100644
--- a/ikiwiki/pagespec/attachment/index.html
+++ b/ikiwiki/pagespec/attachment/index.html
@@ -82,7 +82,7 @@ while allowing larger mp3 files to be uploaded by joey into a specific
directory, and check all attachments for viruses, something like this could be
used:</p>
-<pre><code>virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb)))
+<pre><code>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)))
</code></pre>
<p>The regular <a href="../">PageSpec</a> syntax is expanded with the following
@@ -130,7 +130,7 @@ include a glob in the type, for example <code>mimetype(image/*)</code>.</p></li>
<!--<div class="pagedate">
- Last edited <span class="date">Sex 12 Set 2014 17:23:58 BRT</span>
+ Last edited <span class="date">Sex 06 Mai 2016 03:57:45 BRT</span>
</div> -->
</div>