Create a page header struct.
This commit is contained in:
@@ -67,4 +67,8 @@ impl Config {
|
||||
pub(crate) fn get_web_root(&self) -> Option<&str> {
|
||||
self.raw.web_root.as_deref()
|
||||
}
|
||||
|
||||
pub(crate) fn get_site_title(&self) -> Option<&str> {
|
||||
self.raw.site_title.as_deref()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user