381 Commits

Author SHA1 Message Date
Laurent Peuch
0ed6d47ef0 [mod] trailing spaces 2016-02-18 06:39:49 +01:00
Julien Malik
a2ae29b5c7 [enh] put default gm settings in a global dict, can be overridden in root settings.yaml 2016-02-17 17:53:30 +01:00
Julien Malik
c23612e87b [fix] be coherent, use -strip at the beginning of the pipeline always 2016-02-17 12:33:24 +01:00
Julien Malik
d522b6c25b [enh] use gm -strip option 2016-02-17 12:33:24 +01:00
Julien Malik
3818012f91 [fix] quality and autoorient need to be in the cache 2016-02-17 12:33:24 +01:00
Julien Malik
a3a1451a5c [enh] allow to customize gm quality in root settings 2016-02-17 12:33:24 +01:00
Julien Malik
cecc95ea6a [enh] allow the use of auto-orient gm settings to autofix orientation of pictures during build (default False) 2016-02-17 12:33:24 +01:00
Julien Malik
1fb1dff47f [fix] embed thumbnail size in their filename (fix #19) 2016-02-17 11:12:07 +01:00
Laurent Peuch
c7b1628ee0 Merge remote-tracking branch 'julienmalik/typo'
Conflicts:
	prosopopee/prosopopee.py
2016-02-16 10:11:30 +01:00
Laurent Peuch
ed84052178 [mod] dedent 2016-02-16 08:51:46 +01:00
Laurent Peuch
1a14f79d19 [mod] retab 2016-02-16 08:51:10 +01:00
Laurent Peuch
85311e928e [mod] remove blank line 2016-02-16 08:50:04 +01:00
Laurent Peuch
43a235b9b4 [mod] add comment for reference 2016-02-16 08:49:03 +01:00
Laurent Peuch
cbf86ae55b [mod] remove indentation 2016-02-16 08:47:54 +01:00
Laurent Peuch
8b35886c2c [mod] add error message for usability 2016-02-16 08:44:42 +01:00
Laurent Peuch
4dcce1fcd2 [mod] simplify code 2016-02-16 08:43:46 +01:00
Laurent Peuch
c1b25f5189 [mod] remove trailing spaces 2016-02-16 08:41:53 +01:00
Julien Malik
935650a329 typo 2016-02-15 11:59:09 +01:00
Adrien Beudin
55def9c4a8 add external link in menu and more easier config 2016-02-13 11:21:51 +01:00
Adrien Beudin
419ce00c0e fix tags 2016-02-11 23:19:24 +01:00
Adrien Beudin
9f51abaeaf Add tags and new features for menu 2016-02-11 22:54:27 +01:00
Laurent Peuch
cf4e779175 [fix] avoid using one additionnal class for page style 2016-02-09 22:14:30 +01:00
Laurent Peuch
64c96f5122 [enh] move to template inheritance to avoid redudency 2016-02-09 22:14:30 +01:00
Laurent Peuch
ef55e9baf2 [mod] retab 2016-02-09 22:13:28 +01:00
Laurent Peuch
96b364a874 [mod] simplify code 2016-02-09 22:06:38 +01:00
Laurent Peuch
5399f9e8e0 [mod] better error message 2016-02-09 22:06:38 +01:00
Laurent Peuch
f54483b58c [mod] reduce indentation 2016-02-09 22:06:38 +01:00
Laurent Peuch
9cbb1eca5e [mod] autopep8 2016-02-09 22:06:38 +01:00
Adrien Beudin
f144a53ee5 Update README 2016-02-09 21:59:03 +01:00
Adrien Beudin
26a22ee893 fix generate page 2016-02-09 21:24:41 +01:00
Adrien Beudin
cfd2c4b751 merge from master 2016-02-09 21:12:34 +01:00
Adrien Beudin
a290c2bea3 Update code of menu 2016-02-09 21:03:21 +01:00
Laurent Peuch
acccb41ff0 [mod] update sections templates for new behavior 2016-02-09 07:36:08 +01:00
Laurent Peuch
1866d6279e [mod] merge images and templates class into one, go full OO 2016-02-09 07:36:08 +01:00
Laurent Peuch
a2d04eb3ce [fix] very strange behavior of python interpretor 2016-02-09 07:36:08 +01:00
Laurent Peuch
3ee90704bc [fix] save CACHE version in cache, otherwise don't make sens 2016-02-09 07:36:08 +01:00
Laurent Peuch
cfba36bd6c [mod] don't try to work without gm anymore 2016-02-09 07:36:08 +01:00
Laurent Peuch
a1c5e75aa3 [mod] start refactoring to a simplification of capslock patch 2016-02-09 07:36:08 +01:00
Laurent Peuch
b890b103ea [mod] autopep8 2016-02-09 07:36:08 +01:00
Laurent Peuch
bd9d8f0cfd [enh] handle cache version to avoid conflicts 2016-02-09 07:36:08 +01:00
CapsLock
0ab845eada Now one can choose to override picture quality for thumbnails
To use it, change this :

  - type: pictures-group
    images:
      -
        - image1.jpg
        - image2.jpg
      -
        - image3.jpg
        - image4.jpg

To this :
  - type: pictures-group
    images:
      -
        - name: image1.jpg
          quality: 80
        - image2.jpg
      -
        - image3.jpg
        - name: image4.jpg
          quality: 100

Next step would be to compress pictures instead of just copying them to reduce their size

Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
CapsLock
dca0f3623a footer type : s/generate/generated/
Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
CapsLock
799b816413 Quality of thumbnails can be changed in templates
Signed-off-by: CapsLock <faimaison@legeox.net>
2016-02-09 07:36:08 +01:00
Adrien Beudin
2dc2888a07 Fix home 2016-02-08 15:19:55 +01:00
Adrien Beudin
17c0fdbaab Add support of menu 2016-02-08 11:28:11 +01:00
Laurent Peuch
66f045183f [fix] typo in footer 2016-01-24 13:36:15 +01:00
Laurent Peuch
5ae3ca88e2 [mod] make error message more explicite 2016-01-24 12:57:19 +01:00
opi
4597700511 [fix] Vertical and horizontal spacing for pictures-line. 2016-01-17 16:11:58 +01:00
Laurent Peuch
945714c225 [mod] debug infos 2016-01-17 10:26:12 +01:00
Laurent Peuch
674958551a [enh] implement caching for thumbnails 2016-01-17 10:26:12 +01:00