diff --git a/docs/sections.rst b/docs/sections.rst index fe718cf..8ca16e5 100644 --- a/docs/sections.rst +++ b/docs/sections.rst @@ -151,6 +151,7 @@ This section is for add audio file with HTML5 player.:: - type: audio title: Title of song image: song.ogg + color: "#000" (optional) Author diff --git a/prosopopee/themes/exposure/templates/sections/audio.html b/prosopopee/themes/exposure/templates/sections/audio.html index cf99913..7cb88b2 100644 --- a/prosopopee/themes/exposure/templates/sections/audio.html +++ b/prosopopee/themes/exposure/templates/sections/audio.html @@ -6,7 +6,7 @@ {% set format = extension %} {% endif %} {{ audio.copy() }} -
+

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