|
|
|
@ -67,7 +67,7 @@
|
|
|
|
|
|
|
|
|
|
(djula:def-filter :build-thumbnail-path (file) |
|
|
|
|
(cond ((str:contains? "image" (files::file-type-of file) :ignore-case t) |
|
|
|
|
(format nil "/storage/thumb/~a" (files::slug-of file))) |
|
|
|
|
(format nil "/storage/view/media/thumbnail-~a" (files::slug-of file))) |
|
|
|
|
((str:contains? "pdf" (files::file-type-of file) :ignore-case t) |
|
|
|
|
(format nil "/images/icons/pdf.png")) |
|
|
|
|
((str:contains? "html" (files::file-type-of file) :ignore-case t) |
|
|
|
|