Skip to content

Commit 18162c5

Browse files
fix(post-type-audio): contain audio within figure
1 parent 5800028 commit 18162c5

File tree

1 file changed

+2
-0
lines changed
  • packages/post-type-audio/includes/post-types

1 file changed

+2
-0
lines changed

packages/post-type-audio/includes/post-types/audio.njk

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{% set html %}{% for item in property -%}
2+
<figure>
23
<audio src="{{ item.url | url(publication.me) }}" controls>
4+
</figure>
35
{%- endfor %}{% endset -%}
46
{{- prose({
57
html: html

0 commit comments

Comments
 (0)