aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/src/Config.hs2
-rw-r--r--example/gallery.yaml2
-rw-r--r--ldgallery.1.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs
index d670aae..4c9aa40 100644
--- a/compiler/src/Config.hs
+++ b/compiler/src/Config.hs
@@ -51,7 +51,7 @@ instance FromJSON CompilerConfig where
51 <*> v .:? "includedFiles" .!= ["*"] 51 <*> v .:? "includedFiles" .!= ["*"]
52 <*> v .:? "excludedFiles" .!= [] 52 <*> v .:? "excludedFiles" .!= []
53 <*> v .:? "tagsFromDirectories" .!= 0 53 <*> v .:? "tagsFromDirectories" .!= 0
54 <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 400) 54 <*> v .:? "thumbnailMaxResolution" .!= (Resolution 400 300)
55 <*> v .:? "pictureMaxResolution" 55 <*> v .:? "pictureMaxResolution"
56 56
57 57
diff --git a/example/gallery.yaml b/example/gallery.yaml
index dfb6265..ea23d8a 100644
--- a/example/gallery.yaml
+++ b/example/gallery.yaml
@@ -14,7 +14,7 @@ compiler:
14 14
15 thumbnailMaxResolution: 15 thumbnailMaxResolution:
16 width: 400 # default 16 width: 400 # default
17 height: 400 # default 17 height: 300 # default
18 18
19 pictureMaxResolution: 19 pictureMaxResolution:
20 width: 1024 20 width: 1024
diff --git a/ldgallery.1.md b/ldgallery.1.md
index 8784fb2..5612cbf 100644
--- a/ldgallery.1.md
+++ b/ldgallery.1.md
@@ -115,7 +115,7 @@ compiler.thumbnailMaxResolution.width
115: Maximum width in pixels of the item thumbnails, 400 by default. 115: Maximum width in pixels of the item thumbnails, 400 by default.
116 116
117compiler.thumbnailMaxResolution.height 117compiler.thumbnailMaxResolution.height
118: Maximum height in pixels of the item thumbnails, 400 by default. 118: Maximum height in pixels of the item thumbnails, 300 by default.
119 119
120compiler.pictureMaxResolution.width 120compiler.pictureMaxResolution.width
121: Maximum width in pixels of the picture items, unlimited by default. 121: Maximum width in pixels of the picture items, unlimited by default.