aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Resource.hs
diff options
context:
space:
mode:
authorpacien2021-07-04 17:27:55 +0200
committerZero~Informatique2022-04-12 18:49:59 +0200
commitee5c85c76ac9e08a71ae09b42d11f60bd04aefca (patch)
tree75450b79bd8e3f0eed92eac6b1055c7f575d2287 /compiler/src/Resource.hs
parenta6b4a520f16092f38d8d97d5d746aa6777b8ced5 (diff)
downloadldgallery-ee5c85c76ac9e08a71ae09b42d11f60bd04aefca.tar.gz
compiler: register distinct markdown item type
Diffstat (limited to 'compiler/src/Resource.hs')
-rw-r--r--compiler/src/Resource.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/src/Resource.hs b/compiler/src/Resource.hs
index f59eed6..804c9a1 100644
--- a/compiler/src/Resource.hs
+++ b/compiler/src/Resource.hs
@@ -1,7 +1,7 @@
1-- ldgallery - A static generator which turns a collection of tagged 1-- ldgallery - A static generator which turns a collection of tagged
2-- pictures into a searchable web gallery. 2-- pictures into a searchable web gallery.
3-- 3--
4-- Copyright (C) 2019-2020 Pacien TRAN-GIRARD 4-- Copyright (C) 2019-2021 Pacien TRAN-GIRARD
5-- 5--
6-- This program is free software: you can redistribute it and/or modify 6-- This program is free software: you can redistribute it and/or modify
7-- it under the terms of the GNU Affero General Public License as 7-- it under the terms of the GNU Affero General Public License as
@@ -90,6 +90,7 @@ data GalleryItemProps =
90 { resource :: Resource 90 { resource :: Resource
91 , resolution :: Resolution } 91 , resolution :: Resolution }
92 | PlainText { resource :: Resource } 92 | PlainText { resource :: Resource }
93 | Markdown { resource :: Resource }
93 | PDF { resource :: Resource } 94 | PDF { resource :: Resource }
94 | Video { resource :: Resource } 95 | Video { resource :: Resource }
95 | Audio { resource :: Resource } 96 | Audio { resource :: Resource }