From a3c0853d0dc368ca9b19c63684c9ae1ad3593cbd Mon Sep 17 00:00:00 2001 From: Adrien Beudin Date: Mon, 6 Mar 2017 10:01:53 +0100 Subject: [PATCH] audio in light mode --- prosopopee/themes/light/templates/sections/audio.html | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 prosopopee/themes/light/templates/sections/audio.html diff --git a/prosopopee/themes/light/templates/sections/audio.html b/prosopopee/themes/light/templates/sections/audio.html new file mode 100644 index 0000000..f40a13e --- /dev/null +++ b/prosopopee/themes/light/templates/sections/audio.html @@ -0,0 +1,8 @@ +{% if section.image.type == "audio" %} +{% set audio = Audio(section.image) %} +{{ audio.copy() }} +{% endif %} +

{% if section.title %}{{ section.title }}{% else %}{{ audio }}{% endif %}

+