The hibana library re-exports various Lume
helper plugins and utility functions designed to enhance
Lume static site generation projects.
| Hibana | Specifications |
|---|---|
| Version | 1.3.0 |
| Repository | https://github.com/RickCogley/hibana |
| API Docs | https://hibana.esolia.deno.net |
| Distribution | https://deno.land/x/hibana |
| License | MIT |
| Author | Rick Cogley |
It provides:
- cssBanner - A plugin to add a comment banner to CSS files.
- shuffle - A plugin to add a shuffle filter for arrays.
- deferPagefind - A processor to defer Pagefind CSS and JS loading.
-
externalLinksIcon - A processor to add external
link icons to
target="_blank"links. - ventoHeadingAnchors - A processor to add anchor links to headings in Vento pages.
- ventoTOC - A processor to generate table of contents from headings in Vento pages.
- ventoTOCInject - A processor to inject TOC HTML into rendered pages at marker position.
- temporalDate - A Temporal API-based date filter with timezone support.
- markdownMetadata - Extract excerpts and calculate elapsed days from markdown.
- breadcrumbSchema - Auto-generate Schema.org breadcrumbs from URLs.
- languageAlternatesSchema - Link translated pages via Schema.org.
- fixFontPaths - Fix Google Fonts paths in CSS files.
- injectDoctype - Inject DOCTYPE into HTML files (Lume 3 workaround).
- loadVendorScript, trapFocus, prefersReducedMotion, detectOS, addOSClass - General DOM utility functions.
Add hibana to your Lume project's
deno.json import map:
Add hibana to your Lume project's
deno.json import map:
... "imports": { "lume/": "https://deno.land/x/lume@v3.0.3/", "lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/cms@0.12.0/", "lume/jsx-runtime": "https://deno.land/x/ssx@v0.1.10/jsx-runtime.ts", "hibana/": "https://deno.land/x/hibana@v1.3.0/" },...
Or you can import hibana directly
from GitHub:
Or you can import hibana directly
from GitHub:
"hibana/": "https://raw.githubusercontent.com/RickCogley/hibana/v1.3.0/"