diff options
Diffstat (limited to 'src/works/mod.rs')
| -rw-r--r-- | src/works/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/works/mod.rs b/src/works/mod.rs index 6cb9331..1d0b3de 100644 --- a/src/works/mod.rs +++ b/src/works/mod.rs @@ -21,6 +21,9 @@ pub trait Works: for<'a> Deserialize<'a> + Serialize { Ok(context) } + // render page for every work + fn render_single_pages(&self, tera_instance: &tera::Tera, template_name: &str) -> Result<()>; + // render corresponding overview HTML template // with its tera context fn render_overview_page( |
