diff --git a/web/docs/index.php b/web/docs/index.php index ef87d67..23921e3 100644 --- a/web/docs/index.php +++ b/web/docs/index.php @@ -50,6 +50,12 @@ if (is_file($f)) { $title = $page; if ($body !== '' && preg_match('/^#\s+(.+)$/m', str_replace('<', '', $body), $m)) $title = trim(strip_tags($m[1])); +if (isset($_GET['ajax'])) { /* partial response for AJAX nav (no layout) */ + echo '