This commit is contained in:
parent
46850a2430
commit
d332b1264d
2 changed files with 5 additions and 4 deletions
|
|
@ -399,7 +399,7 @@ void default_nav(FILE* out, const char* top, xl_node_t* element, int indent) {
|
|||
|
||||
excludes = xl_get_path(element, "exclude");
|
||||
|
||||
xml = scan_xml("site/content/", "", excludes, strcmp(layer, "*") == 0 ? -0xffff : (atoi(layer) - 1));
|
||||
xml = scan_xml("site/content/", "", excludes, strcmp(layer, "*") == 0 ? 0xffff : (atoi(layer) - 1));
|
||||
|
||||
if(excludes != NULL) free(excludes);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue