ctucx.git: gallery

static-site-generator for image-galleries [used @ photos.ctu.cx]

commit 61e1ad6c3a4b55c927892102df5ddc8cec9a4219
parent e6889bb69e575a4f96307ba4d573dad82a1f7708
Author: ctucx <c@ctu.cx>
Date: Sun, 24 May 2020 02:43:49 +0200

update README, rename nimble-file
5 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -0,0 +1,2 @@
+gallery
+out/*
diff --git a/README.md b/README.md
@@ -11,15 +11,11 @@ a little Example for https://git.ctu.cx/ctucx/gallery/
 
 ## Use the Programm
 ```shell=
-[user@pc ~]$ ./picture_gallery <source_dir> <target_dir>
+[user@pc ~]$ ./gallery <source_dir> <target_dir>
 ```
 
 ## Dependencies
-Dependencies: Imagemagick, nim >= 1.0.6, nimble
+Dependencies: ImageMagick, nim >= 1.0.6, nimble
 
 ## Infos
-When running the program, a source folder and a destination folder must be specified, then the program creates all necessary HTML and CSS objects to display the pages correctly and creates images in the following sizes. Maximum 1920x1080 Thumbnail 200x200
-
-After the generation process, images are created in the following sizes.
-Maximum 1920x1080
-Thumbnail 200x200
+When running the program, a source folder and a destination folder must be specified, then the program creates all necessary HTML and CSS objects to display the pages correctly and creates images in the following sizes: medium: 1920x1080, thumbnail: 200x200
diff --git a/gallery.nimble b/gallery.nimble
@@ -0,0 +1,14 @@
+# Package
+
+version       = "0.1.0"
+author        = "ctucx"
+description   = "A new awesome nimble package"
+license       = "MIT"
+srcDir        = "src"
+bin           = @["gallery"]
+
+
+
+# Dependencies
+requires "nim >= 1.0.6"
+requires "moustachu >= 0.14.0"
diff --git a/picture_gallery.nimble b/picture_gallery.nimble
@@ -1,14 +0,0 @@
-# Package
-
-version       = "0.1.0"
-author        = "ctucx"
-description   = "A new awesome nimble package"
-license       = "MIT"
-srcDir        = "src"
-bin           = @["picture_gallery"]
-
-
-
-# Dependencies
-requires "nim >= 1.0.6"
-requires "moustachu >= 0.14.0"-
\ No newline at end of file
diff --git a/src/picture_gallery.nim b/src/gallery.nim