mirror of
https://github.com/zyllian/webdog.git
synced 2025-05-10 02:26:42 -07:00
add support for custom partials
Some checks are pending
Build Site / build (push) Waiting to run
Build Site / deploy (push) Blocked by required conditions
Some checks are pending
Build Site / build (push) Waiting to run
Build Site / deploy (push) Blocked by required conditions
This commit is contained in:
parent
fd40a5d31a
commit
1d502881f6
7 changed files with 690 additions and 350 deletions
|
@ -130,6 +130,9 @@ pub struct PageMetadata {
|
|||
/// Custom values passed to the base template.
|
||||
#[serde(default)]
|
||||
pub userdata: serde_yml::Value,
|
||||
/// Whether this page being rendered is a partial. Set by the builder, not your page metadata.
|
||||
#[serde(skip)]
|
||||
pub is_partial: bool,
|
||||
}
|
||||
|
||||
/// Struct containing information about the site.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue