don't add index pages to atom feed
This commit is contained in:
parent
4413249693
commit
0c75eb9dfd
1 changed files with 3 additions and 0 deletions
3
mkht.php
3
mkht.php
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue