summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorWriterV2 <primary-v2@protonmail.com>2022-11-05 11:44:58 +0100
committerWriterV2 <primary-v2@protonmail.com>2022-11-05 11:44:58 +0100
commit69336e9c603608e27cc4458d664839f038233a00 (patch)
tree954e1d82c44385e4ec3c54a22c71511c94b6069f /src/main.rs
parentfefb0e01c42c74a98aafed4ebf99e2eebed0a2c4 (diff)
Add resizing for work card images
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 942b621..39d4b9d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,9 +3,11 @@ use tera::{Context, Tera};
use crate::works::Works;
+mod images_processing;
mod works;
fn main() -> Result<()> {
+ images_processing::resize_workcard_images()?;
// new tera instance
let tera = Tera::new("templates/**/*.html")?;