Group base template parameters
This commit is contained in:
parent
729b3ba672
commit
90a446a576
7 changed files with 46 additions and 33 deletions
|
|
@ -40,12 +40,6 @@ impl Default for Repo {
|
|||
}
|
||||
}
|
||||
|
||||
impl Repo {
|
||||
pub fn name(&self) -> String {
|
||||
self.name.clone()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Web {
|
||||
#[serde(default = "default::web_base")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue