import { findNearestLayoutPath } from "https://deno.land/x/pagic@v1.5.1/src/utils/filepath.ts";
input: ('foo/bar/baz.md', ['foo/_layout.tsx', '_layout.tsx']) output: 'foo/_layout.tsx'
x/pagic/src/utils/filepath.ts>findNearestLayoutPath
import { findNearestLayoutPath } from "https://deno.land/x/pagic@v1.5.1/src/utils/filepath.ts";
input: ('foo/bar/baz.md', ['foo/_layout.tsx', '_layout.tsx']) output: 'foo/_layout.tsx'