Skip to content

Commit

Permalink
fix(post-type-audio): contain audio within figure
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrobertlloyd committed Apr 15, 2024
1 parent 5800028 commit 18162c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/post-type-audio/includes/post-types/audio.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% set html %}{% for item in property -%}
<figure>
<audio src="{{ item.url | url(publication.me) }}" controls>
</figure>
{%- endfor %}{% endset -%}
{{- prose({
html: html
Expand Down

0 comments on commit 18162c5

Please sign in to comment.