don't add index pages to atom feed

This commit is contained in:
Miraty 2023-10-29 19:41:17 +01:00
parent 4413249693
commit 0c75eb9dfd
1 changed files with 3 additions and 0 deletions

View File

@ -234,6 +234,9 @@ foreach ($pages as $node) {
exec('gzip --keep --fast --force ' . $base_filepath_target . '.html');
}
if ($page_names[$src] === 'index')
continue;
$relative_addr = substr_replace($base_filepath_src . '.html', '', strpos($base_filepath_src, SITE), strlen(SITE));
// As of RFC 3151: A URN Namespace for Public Identifiers