mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add comment
This commit is contained in:
parent
58fba8d8f4
commit
f70fde4263
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue