From 5dde6e486b242c4b79cd4446c237a98d394044e3 Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sun, 1 Sep 2019 22:24:26 +0200 Subject: [PATCH] getting started doc: add "album." qualifier where needed without this, "meta" is not accessible --- docs/album_information.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/album_information.rst b/docs/album_information.rst index 43d889a..960528a 100644 --- a/docs/album_information.rst +++ b/docs/album_information.rst @@ -31,8 +31,8 @@ can be used in the template with: .. code-block:: jinja - {% if 'authors' in meta %} -

Authors: {{ meta.authors|join(', ') }} + {% if 'authors' in album.meta %} +

Authors: {{ album.meta.authors|join(', ') }} {% endif %} If this file does not exist or if some meta-data is missing: