diff --git a/lib/pico.php b/lib/pico.php index 7dd3286..8e9800c 100644 --- a/lib/pico.php +++ b/lib/pico.php @@ -232,6 +232,13 @@ class Pico { unset($pages[$key]); continue; } + + // Ignore files starting with an underscore + if (substr(basename($page), 0, 1) == '_') { + unset($pages[$key]); + continue; + } + // Get title and format $page $page_content = file_get_contents($page); $page_meta = $this->read_file_meta($page_content);