Romain
dc7a7b5848
Must pass options when finalising album hierarchy. Fixes album sorting.
2017-01-27 17:40:34 +11:00
Romain
f7bfe954a9
Extra margin at the bottom of pages for legibility
2017-01-26 22:50:05 +11:00
Romain
277fe126f7
Video model also includes 'large' URL so it's a superset of photos.
...
Without this, template code like {{previews.0.urls.large}} only works for photos.
2017-01-26 22:49:51 +11:00
Romain
c98227fde4
2.0.0-alpha.1
2017-01-26 16:00:27 +11:00
Romain
043d2fbb05
CSS fixes: fixed height and smoother header rendering
2017-01-26 15:55:36 +11:00
Romain
22e0c88608
Mosaic theme: bigger font + make header clickable
2016-11-17 22:07:36 +11:00
Romain
f235675f86
Don't concatenate the root album name to be 100% compatible with existing version for flat albums
2016-11-17 22:07:04 +11:00
Romain
0208babae1
Pick 10 previews per album, to make the mosaic theme work
2016-11-17 12:34:58 +11:00
Romain
9fdef73f6e
Cards theme: single album preview to be more different from "classic"
2016-11-16 21:41:23 +11:00
Romain
7eba1d4695
Remove old hamburger menu button from Cards theme
2016-11-15 22:12:55 +11:00
Romain
b10e7ca6c9
Unit tests for album constructor + sorting
2016-11-15 13:28:37 +11:00
Romain
e4e920e053
Don't float thumbs in "classic" mode, inline-block works just as well
2016-11-15 09:40:20 +11:00
Romain
e414ad7a74
Fix thumbnail size in HTML before rendering to avoid page jumps
2016-11-15 09:39:57 +11:00
Romain
23ce9b1e7d
Fix backwards support for "--sort-folders date"
2016-11-15 09:36:09 +11:00
Romain
21e4a3fae2
Add "npm test" to quickly run unit tests without the full build
2016-11-15 09:35:24 +11:00
Romain
ff7b720f49
Remove sidebar until we have a good design
...
Current sidebar doesn't handle nested albums very well, and navigation is still awkward.
For example should it save its open/closed state when browsing?
2016-11-14 11:29:39 +11:00
Romain
bd7119c25b
Fix invalid default config setting (--sort-albums-by)
2016-11-14 09:46:20 +11:00
Romain
fb7ed50753
Prepare for npm publish (ignore tests, cleanup license...)
2016-11-13 13:35:52 +11:00
Romain
b9205b76b2
Remove sample media & gallery (now separate repo)
2016-11-13 13:29:22 +11:00
Romain
93ffff1e90
Move album.previews() test one level up
2016-11-13 13:22:43 +11:00
Romain
0a1302dd4a
README add dev dependencies status from david-dm
2016-11-12 15:30:14 +11:00
Romain
6bfba60918
Update all dependencies + full build script in scripts/cibuild
2016-11-12 15:27:16 +11:00
Romain
b905d62ac3
Fix unit tests (album.finalise argument should be optional)
2016-11-12 15:23:47 +11:00
Romain
6d245f3ed5
Fix typos in CLI help and README
2016-11-12 08:03:30 +11:00
Romain
6f6c5c2390
Merge pull request #47 from thumbsup/readme-point-to-website
...
Simpler README points to the website for full docs
2016-11-12 07:36:09 +11:00
Romain
6565acb259
Update README.md
2016-11-12 07:35:13 +11:00
Romain
eb95cc929c
Fix #30 Fix #31 use <mtime> instead of <ctime> which is more relevant
...
Also means we can use <touch> to force a file to rebuild, since touch changes <mtime>
2016-11-03 16:04:56 +11:00
Romain
315e08e0e5
Fix #30 Fix #31 allow asc/desc order when sorting albums and media
2016-11-03 16:02:25 +11:00
Romain
5117c19eed
Cleanup CLI and validate multiple-choice arguments
2016-11-03 13:17:31 +11:00
Romain
58c37bd429
Fix model paths
2016-11-02 12:00:14 +11:00
Romain
0126c76479
Mosaic theme: class name for separators. Linebreak after the date on mobile
2016-11-02 11:38:33 +11:00
Romain
d91fdbf525
Cleanup output + group photo/video processing
2016-11-02 11:35:55 +11:00
Romain
fd9bf181fd
Extract model from website generation
2016-11-02 11:35:27 +11:00
Romain
b023b72cc0
Extract album creation as separate step + consolidate progress bar logic
2016-11-01 14:12:38 +11:00
Romain
ed605abeb4
Classic theme fixes
2016-10-27 08:15:39 +11:00
Romain
7c0fb8a3bf
Enable --albums-from = [ folders | date ] and --albums-date-format
2016-10-26 21:57:06 +11:00
Romain
b64843a8a1
Re-implement "classic" theme = same as thumbsup v1
2016-10-26 21:56:20 +11:00
Romain
90b2e17df3
Update executable with all new options
2016-10-26 08:31:13 +11:00
Romain
707e25ca34
Increase preview count for the Mosaic theme
2016-10-26 08:30:21 +11:00
Romain
6d162bd110
Fix sorting of albums & media
2016-10-26 08:30:08 +11:00
Romain
3dd51841ff
2 main themes will be "cards" and "mosaic"
2016-10-26 08:29:48 +11:00
Romain Prieto
72fd69bb79
by-date generator supports nested albums + custom album title format
2016-10-17 18:34:45 +11:00
Romain
942f673670
Merge pull request #46 from rprieto/nested-albums
...
Nested albums
2016-10-17 08:26:11 +11:00
Romain Prieto
4d6d79f3d5
Rebuild the example gallery with nested folder as a demo
2016-10-16 22:30:29 +11:00
Romain Prieto
14bd74a540
Fix missing stylesheet
2016-10-16 22:26:21 +11:00
Romain Prieto
d8f8a0c1fe
Add handy Handlebars helper to repeat a block N times
...
Usage: {{#times 4}}hello{{/times}
Can also use any variables in context, e.g. {{#times things.length}}
2016-10-16 22:26:12 +11:00
Romain Prieto
f69d2e3d48
Add support for nested folders
2016-10-16 22:24:07 +11:00
Romain Prieto
5553ab0c9b
README updates
2016-10-16 17:09:42 +11:00
Romain Prieto
c61681253f
Fix README screenshot
2016-10-16 13:55:05 +11:00
Romain Prieto
a47259b220
Fix README table of contents
2016-10-16 13:51:32 +11:00