aboutsummaryrefslogtreecommitdiff
path: root/compiler/src
diff options
context:
space:
mode:
authorpacien2020-10-25 06:01:59 +0100
committerpacien2020-10-25 06:01:59 +0100
commit27f70f9886b7b77039ca47539900f4383d79c1b9 (patch)
tree157ae052231b5bdf5ec693789f78ff9d5ae3148f /compiler/src
parent7f2231d86bb72c83f50693ec96526e7d9f47dfb8 (diff)
downloadldgallery-27f70f9886b7b77039ca47539900f4383d79c1b9.tar.gz
compiler/ItemProcessors: register .webp as picture file extension
GitHub: closes #278
Diffstat (limited to 'compiler/src')
-rw-r--r--compiler/src/ItemProcessors.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/src/ItemProcessors.hs b/compiler/src/ItemProcessors.hs
index f967954..476b7d7 100644
--- a/compiler/src/ItemProcessors.hs
+++ b/compiler/src/ItemProcessors.hs
@@ -54,6 +54,7 @@ formatFromPath =
54 ".tiff" -> PictureFormat 54 ".tiff" -> PictureFormat
55 ".hdr" -> PictureFormat 55 ".hdr" -> PictureFormat
56 ".gif" -> PictureFormat 56 ".gif" -> PictureFormat
57 ".webp" -> PictureFormat
57 ".txt" -> PlainTextFormat 58 ".txt" -> PlainTextFormat
58 ".md" -> PlainTextFormat -- TODO: handle markdown separately 59 ".md" -> PlainTextFormat -- TODO: handle markdown separately
59 ".pdf" -> PortableDocumentFormat 60 ".pdf" -> PortableDocumentFormat