nieuws: prepend link to feed
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 26 Aug 2018 00:04:19 +0000 (02:04 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 26 Aug 2018 00:11:35 +0000 (02:11 +0200)
nieuws/index.php

index 316a16e6e4ebe10a8013ef3fb9907e267703b9bb..678c3db8aba083317288b874cf3e0201df957a84 100644 (file)
@@ -85,6 +85,10 @@ if ($year) {
        return 1;
 }
 
+$html = ob_get_clean();
+printf('<div class="nav right"><a href="%s">Feed</a></div>'."\n", "/$Page/feed");
+print $html;
+
 print '<div id="news">'."\n\n";
 
 foreach (array_reverse(glob("$Page/2???")) as $page) {