Adapt code to work with the latest changes on master.
This commit is contained in:
@@ -1,20 +1,16 @@
|
||||
===================
|
||||
Image information
|
||||
Image information
|
||||
===================
|
||||
|
||||
Additional information on an image can be given in a file using the `markdown`_ syntax,
|
||||
named ``<imagename>.md`` (example: IMG_5206.jpg.md):
|
||||
|
||||
::
|
||||
Additional information on an image can be given in a file using the `markdown`_
|
||||
syntax, named ``<imagename>.md`` (example: ``IMG_5206.md``)::
|
||||
|
||||
Title: My awesome photo
|
||||
|
||||
And a description with *Markdown* syntax.
|
||||
|
||||
EXIF data is directly extracted
|
||||
|
||||
Some meta-data keys are used by Sigal to get the useful informations on the
|
||||
gallery:
|
||||
EXIF data is directly extracted, see :ref:`simple-exif-data`. Some meta-data
|
||||
keys are used by Sigal to get the useful informations on the gallery:
|
||||
|
||||
- *Title*: the image title.
|
||||
|
||||
@@ -26,8 +22,8 @@ can be used in the template with:
|
||||
|
||||
.. code-block:: jinja
|
||||
|
||||
{% if media.desc.meta.location %}
|
||||
<p>Location: {{ media.desc.meta.location[0] }}</>
|
||||
{% if media.meta.location %}
|
||||
<p>Location: {{ media.meta.location[0] }}</>
|
||||
{% endif %}
|
||||
|
||||
.. _markdown: http://daringfireball.net/projects/markdown/
|
||||
|
||||
Reference in New Issue
Block a user