diff --git a/CHANGELOG.md b/CHANGELOG.md index ea06bce..e6b37a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ CHANGELOG ========= +0.3 (unreleased) +---------------- + +* caption support on bordered picture and pictures group https://github.com/Psycojoker/prosopopee#images-caption by beudbeud +* configure licence https://github.com/Psycojoker/prosopopee#licence in footer by beudbeud +* possibility to use a range for the full picture date https://github.com/Psycojoker/prosopopee#full-screen-picture-with-or-without-text-on-it by beudbeud +* Update material theme by beudbeud + 0.2 (2016-02-23) ---------------- diff --git a/README.md b/README.md index 4f40c00..87fd310 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,17 @@ settings: theme: material ``` +##### Licence + +By default Prosopopée use CC-BY-SA for all the content, if you want use a another licence +you need add key in **root** settings.yaml. For example: + +```yaml +licence: + name: WTFPL + url: "http://www.wtfpl.net/txt/copying/" +``` + ### Gallery settings.yaml This settings.yaml will describe: @@ -211,7 +222,6 @@ image: auto-orient: False ``` - ### Different kind of sections A gallery is composed of a succession of sections as you can see on this [wonderfully @@ -250,6 +260,7 @@ With text: title: Big picture title sub_title: Some text date: 2016-01-15 + date_end: 2016-01-24 (Optional) ``` Without text: @@ -344,6 +355,36 @@ How to use it: image: 7.jpg ``` +### Images caption + + +Prosopopée has a support of caption in images, you can use it on bordered-picture and pictures-group. + +Exemple on bordered-picture : + +```yaml + - type: bordered-picture + image: another_picture.jpg + text: This is a caption +``` + +And on pictures-group + +```yaml + - type: pictures-group + images: + - + - name: image1.jpg + text: This is a caption + - image2.jpg + - image3.jpg + - + - image4.jpg + - image5.jpg +``` + + + ### Example As a recap, here is how the files of the example gallery are organised: diff --git a/prosopopee/themes/exposure/templates/base.html b/prosopopee/themes/exposure/templates/base.html index a62bd68..d98e3d4 100644 --- a/prosopopee/themes/exposure/templates/base.html +++ b/prosopopee/themes/exposure/templates/base.html @@ -1,34 +1,33 @@ -
- - {% block css %} - {% endblock %} + + + {% block css %} + {% endblock %} - - -