default
The hibana library re-exports various Lume
helper plugins and utility functions designed to enhance
Lume static site generation projects.
Helper function to manually add language alternate links to a schema
Adds OS detection class to document body. Convenience function that automatically adds 'os-{platform}' class.
Format types supported by the filter
Lume plugin to defer the loading of Pagefind CSS and JS.
Detects the user's operating system from the user agent string. Useful for platform-specific styling or functionality.
Adds an external link icon to <a>
anchor elements that point to external sites. Skips
links inside elements with the class .no-external-icon.
Generates a shell command to fix font paths
Generates a shell command string for DOCTYPE injection
Generates individual fix commands for manual registration
Options for the heading anchors processor.
Home page names for different languages
Creates an event listener function that injects DOCTYPE into all HTML files
Creates a language alternates schema preprocessor
Configuration options for language alternate schema linking
Utility function to load an external vendor script.
Creates a markdown metadata preprocessor
Configuration options for markdown metadata extraction
Operating systems that can be detected
Checks if the user prefers reduced motion based on their system settings. Important for accessibility - animations should be disabled when this returns true.
A Lume plugin to register the filter "shuffle" that shuffles an array.
Creates a Temporal API-based date filter function
Configuration options for the temporal date filter
Options for the TOC generator processor.
Traps focus within a given container element. Useful for modal dialogs to prevent users from tabbing outside the modal.
Adds ID and anchor links to heading elements in Vento-rendered pages.
Generates a table of contents (TOC) from headings in Vento-rendered pages.
Injects TOC HTML into pages at the injection marker