aboutsummaryrefslogtreecommitdiff
path: root/src/file_handler/file_strategies/layout.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-04-18 19:14:40 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-04-18 19:14:40 +0200
commitdd0a540c2002f479ac56a7e0169e86d0f6f14d85 (patch)
treea50d034305cee8a92bf86cfffee859ee4f80349c /src/file_handler/file_strategies/layout.rs
parent160a27bd2aa334a881f7c54847ef406925f87633 (diff)
Generate gemini and html separately
Diffstat (limited to 'src/file_handler/file_strategies/layout.rs')
-rw-r--r--src/file_handler/file_strategies/layout.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file_handler/file_strategies/layout.rs b/src/file_handler/file_strategies/layout.rs
index 793b460..f51bf7a 100644
--- a/src/file_handler/file_strategies/layout.rs
+++ b/src/file_handler/file_strategies/layout.rs
@@ -22,5 +22,6 @@ impl FileHandlerStrategy for Strategy {
// We don't implement handling for layout, as we assume there's only one
// and it got handled before.
- fn handle(&self, _s: &PathBuf, _d: &PathBuf, _f: &File, _l: &String) {}
+ fn handle_html(&self, _s: &PathBuf, _d: &PathBuf, _f: &File, _l: &String) {}
+ fn handle_gemini(&self, _s: &PathBuf, _d: &PathBuf, _f: &File) {}
}