mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
allow for injecting css scripts into pages
This commit is contained in:
parent
f9b15aa932
commit
8d9866d048
3 changed files with 9 additions and 0 deletions
|
@ -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>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue