chore: add yt block support
This commit is contained in:
parent
09614b0589
commit
460a50f88c
5 changed files with 49 additions and 1 deletions
5
src/_includes/partials/posts/blocks.liquid
Normal file
5
src/_includes/partials/posts/blocks.liquid
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% for block in blocks %}
|
||||
{% if block.type == 'youtube_player' %}
|
||||
{% render "partials/widgets/youtube-player.liquid", url:block.url %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
Reference in a new issue