This repository was archived by the owner on Jul 31, 2025. It is now read-only.
v.0.2.0
Core Changes:
- now config file data
.dust.ymlaccessible on every layout page - add custom tag element & custom attribute
- add inject function to inject file string to the page
Example
(** tag *)
let heading = H.custom_tag("comp-heading")
(** attribute *)
let dataTheme = A.custom_attr("data-theme")
heading [
dataTheme "dark"
] (H.text "heading")
(** returned to => <comp-heading data-theme="dark">heading</comp-heading> *)