git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: support tagged article links
[minimedit.git]
/
nieuws
/
index.php
diff --git
a/nieuws/index.php
b/nieuws/index.php
index b54d5bd7a38a04e5fa0f7b8891d9a618266c5191..11e305ef04a98fe7323306bf4640adcf9b08e8ba 100644
(file)
--- a/
nieuws/index.php
+++ b/
nieuws/index.php
@@
-34,6
+34,10
@@
if ($year) {
$match .= "/19??";
$title .= " vóór 2000";
}
+ elseif (file_exists("$Page/.tags/$year")) {
+ $match .= "/.tags/$year";
+ $title .= " met $year";
+ }
print "<h2>$title</h2>\n\n";
print placeholder_include('nieuws', [$match]);