Render the head for the page.
This commit is contained in:
@@ -59,4 +59,12 @@ impl Config {
|
||||
pub(crate) fn get_output_directory(&self) -> PathBuf {
|
||||
self.get_root_directory().join("output")
|
||||
}
|
||||
|
||||
pub(crate) fn use_relative_paths(&self) -> bool {
|
||||
self.raw.use_relative_paths.unwrap_or(true)
|
||||
}
|
||||
|
||||
pub(crate) fn get_web_root(&self) -> Option<&str> {
|
||||
self.raw.web_root.as_deref()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user