This commit is contained in:
2025-11-09 08:47:11 +04:00
parent 69d9949c39
commit 3179d362fc
9 changed files with 37 additions and 34 deletions

View File

@@ -268,11 +268,11 @@ fn (mut p Page) export_link_path(mut link Link) !string {
match link.file_type {
.image {
mut tf := link.target_file()!
return 'img/${tf.file_name()}'
return 'img/${tf.name}'
}
.file {
mut tf := link.target_file()!
return 'files/${tf.file_name()}'
return 'files/${tf.name}'
}
.page {
mut tp := link.target_page()!