aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/advisory.html4
-rw-r--r--tmpl/index.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/tmpl/advisory.html b/tmpl/advisory.html
index f9a7e63..177933a 100644
--- a/tmpl/advisory.html
+++ b/tmpl/advisory.html
@@ -15,7 +15,7 @@
[% FOREACH rel IN adv.src.keys.sort %]
[% sep %]
[% SET sep = ', ' %]
- <a href="[% rel %].html">[% rel %]</a>
+ <a href="[% basename.rel(rel) %].html">[% rel %]</a>
[% END %]
<br />
@@ -25,7 +25,7 @@
[% FOREACH cve IN adv.CVE %]
[% sep %]
[% SET sep = ', ' %]
- <a href="[% cve %].html">[% cve %]</a>
+ <a href="[% basename.CVE(cve) %].html">[% cve %]</a>
[% END %]
[% END %]
diff --git a/tmpl/index.html b/tmpl/index.html
index f084cc8..bb1691f 100644
--- a/tmpl/index.html
+++ b/tmpl/index.html
@@ -8,7 +8,7 @@
<h1>Mageia Advisories</h1>
<ul>
[%- FOREACH adv IN advdb.advisories.keys.sort.reverse -%]
- <li><a href="[% adv %].html">[% adv %]</a>: [% advdb.advisories.$adv.subject %]</li>
+ <li><a href="[% basename.ID(adv) %].html">[% adv %]</a>: [% advdb.advisories.$adv.subject %]</li>
[%- END -%]
</ul>
<h1>Older Advisories</h1>