|
|
|
@ -72,7 +72,7 @@
|
|
|
|
|
|
|
|
|
|
(djula:def-filter :build-thumbnail-path (file) |
|
|
|
|
(cond ((str:contains? "image" (files::file-type-of file) :ignore-case t) |
|
|
|
|
(format nil "/storage/view/media/~a" (files::slug-of file))) |
|
|
|
|
(format nil "/storage/thumb/media/~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) |
|
|
|
|