45 lines
1.2 KiB
ReStructuredText
45 lines
1.2 KiB
ReStructuredText
|
Example
|
||
|
=======
|
||
|
|
||
|
As a recap, here is how the files of the example gallery are organised::
|
||
|
|
||
|
example
|
||
|
├── settings.yaml
|
||
|
└── first_gallery
|
||
|
├── settings.yaml
|
||
|
└── stuff.png
|
||
|
|
||
|
The content of ``example/settings.yaml``::
|
||
|
|
||
|
title: "Example gallery"
|
||
|
sub_title: some subtitle
|
||
|
|
||
|
The content of ``example/first_gallery/settings.yaml``::
|
||
|
|
||
|
title: my first gallery
|
||
|
sub_title: some subtitle
|
||
|
date: 2015-12-08
|
||
|
cover: stuff.png
|
||
|
sections:
|
||
|
- type: full-picture
|
||
|
image: stuff.png
|
||
|
text:
|
||
|
title: Beautiful Title
|
||
|
sub_title: pouet pouet
|
||
|
date: 2015-12-08
|
||
|
- type: bordered-picture
|
||
|
image: stuff.png
|
||
|
- type: text
|
||
|
text: « voici plein de blabla à rajouter et <b>ceci est du gras</b> et encore plein plein plein plein de text car je veux voir comment ça va wrapper car c'est important et il faut pas que j'oublie de mettre des margins en % sinon ça va pas le faire alala là ça devrait aller »
|
||
|
- type: pictures-group
|
||
|
images:
|
||
|
-
|
||
|
- stuff.png
|
||
|
- stuff.png
|
||
|
- stuff.png
|
||
|
-
|
||
|
- stuff.png
|
||
|
- stuff.png
|
||
|
- type: full-picture
|
||
|
image: stuff.png
|