Browse Source

getting started doc: add "album." qualifier where needed

without this, "meta" is not accessible
pull/374/head
Stefano Zacchiroli 7 years ago committed by GitHub
parent
commit
5dde6e486b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/album_information.rst

4
docs/album_information.rst

@ -31,8 +31,8 @@ can be used in the template with:
.. code-block:: jinja
{% if 'authors' in meta %}
<p>Authors: {{ meta.authors|join(', ') }}</>
{% if 'authors' in album.meta %}
<p>Authors: {{ album.meta.authors|join(', ') }}</>
{% endif %}
If this file does not exist or if some meta-data is missing:

Loading…
Cancel
Save