externalLinksIcon(siteUrlInput?: string | URL)
Adds an external link icon to <a> anchor elements that point to external sites.
Skips links inside elements with the class .no-external-icon.
// In your Lume _config.ts:
import lume from "lume/mod.ts";
import { deferPagefind, externalLinksIcon } from "hibana/mod.ts";
// In your Lume _config.ts: import lume from "lume/mod.ts"; import { deferPagefind, externalLinksIcon } from "hibana/mod.ts";
const site = lume();
// == NEAR BOTTOM of your _config.ts, after other plugins: // Specify the base URL site.process([".html"], externalLinksIcon("https://esolia.co.jp")); site.process([".html"], deferPagefind());
export default site;
optional
siteUrlInput: string | URL
The base URL of the site. If not provided, defaults to https://example.com.