Fix Twig code block
This commit is contained in:
parent
16f4274ce6
commit
371a596cd9
|
@ -22,9 +22,11 @@ It's simpler, but I like it.
|
||||||
My website is built with Sculpin, so I was able to do this easily with Twig by adding the path to the MP3 file to each episode:
|
My website is built with Sculpin, so I was able to do this easily with Twig by adding the path to the MP3 file to each episode:
|
||||||
|
|
||||||
```twig
|
```twig
|
||||||
|
{% verbatim -%}
|
||||||
<audio controls>
|
<audio controls>
|
||||||
<source src="/files/bb/episodes/{{ page.episode_filename }}" type="audio/mp3">
|
<source src="/files/bb/episodes/{{ page.episode_filename }}" type="audio/mp3">
|
||||||
</audio>
|
</audio>
|
||||||
|
{%- endverbatim %}
|
||||||
```
|
```
|
||||||
|
|
||||||
This is already live. You can see it on [any of the podcast episode pages][1].
|
This is already live. You can see it on [any of the podcast episode pages][1].
|
||||||
|
|
Loading…
Reference in a new issue