add comment

This commit is contained in:
yggverse 2024-10-29 22:58:14 +02:00
parent 58fba8d8f4
commit f70fde4263

View File

@ -576,7 +576,7 @@ impl Page {
// Update page meta
meta.borrow_mut().status = Some(Status::Success);
meta.borrow_mut().title = Some(
match url.split('/').last() {
match url.split('/').last() { // @TODO may be empty
Some(filename) => gformat!("{filename}"),
None => gformat!("Image")
}