allow for injecting css scripts into pages

This commit is contained in:
zyl 2024-06-17 21:25:29 -07:00
parent f9b15aa932
commit 8d9866d048
No known key found for this signature in database
3 changed files with 9 additions and 0 deletions

View file

@ -70,6 +70,9 @@ pub struct PageMetadata {
/// The page's custom scripts, if any.
#[serde(default)]
pub scripts: Vec<String>,
/// the page's custom styles, if any.
#[serde(default)]
pub styles: Vec<String>,
/// The extra stuff to run for the page, if any.
pub extra: Option<String>,
}