Commit 024c46da authored by intrigeri's avatar intrigeri

Use the page() pagespec instead of globs in more places.

This should avoid listing attachments as if they were pages.
parent 9bf974d9
......@@ -38,7 +38,7 @@ It aims at preserving your <strong>privacy</strong> and
<h1>News</h1>
[[!inline pages="news/* and !news/*/* and !news/discussion and currentlang()" show="2" feeds="no" archive="yes"]]
[[!inline pages="page(news/*) and !news/*/* and !news/discussion and currentlang()" show="2" feeds="no" archive="yes"]]
<p>See [[News]] for more.</p>
......@@ -48,7 +48,7 @@ It aims at preserving your <strong>privacy</strong> and
<h1>Security</h1>
[[!inline pages="security/* and !security/audits and !security/audits.* and !security/audits/* and !security/*/* and !security/discussion and currentlang()" show="2" feeds="no" archive="yes"]]
[[!inline pages="page(security/*) and !security/audits and !security/audits.* and !security/audits/* and !security/*/* and !security/discussion and currentlang()" show="2" feeds="no" archive="yes"]]
<p>See [[Security]] for more.</p>
......
......@@ -23,7 +23,7 @@ Debian.
# Current holes
[[!inline pages="security/* and ! tagged(security/probable)
[[!inline pages="page(security/*) and ! tagged(security/probable)
and ! tagged(security/fixed) and currentlang() and created_after(security/Numerous_security_holes_in_1.0.1)"
actions=no archive=yes feeds=no show=0]]
......@@ -33,7 +33,7 @@ Until an [[!tails_ticket 5769 desc="audit"]] of the bundled network
applications is done, information leakages at the protocol level
should be considered as − at the very least − possible.
[[!inline pages="security/* and tagged(security/probable) and currentlang()"
[[!inline pages="page(security/*) and tagged(security/probable) and currentlang()"
actions=no archive=yes feeds=no show=0]]
# Fixed holes
......@@ -41,7 +41,7 @@ actions=no archive=yes feeds=no show=0]]
**WARNING**: some of these holes may only be fixed in [[Git|contribute/git]].
Please carefully read the "Affected versions" sections below.
[[!inline pages="security/* and tagged(security/fixed) and currentlang()"
[[!inline pages="page(security/*) and tagged(security/fixed) and currentlang()"
actions=no archive=yes feeds=no show=0]]
# Audits
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment