Skip to main content
Module

x/lume/plugins/resolve_urls.ts>getPathInfo

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function getPathInfo
import { getPathInfo } from "https://deno.land/x/lume@v1.15.2/plugins/resolve_urls.ts";

Split the filename and the extra content (query or hash) from a path Example: "/foo.md?hello=world" => ["/foo.md", "?hello=world"] Example: "/foo.md#hello=world" => ["/foo.md", "#hello=world"]

Parameters

path: string

Returns

[string, string]