Skip to content

Commit

Permalink
fix(videos): Getting size of non-existent variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pham committed Oct 19, 2022
1 parent 5a32316 commit b0415a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/session/videos.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% for v in include.videos %}
{% include session/youtube.html id=v %}
{% assign _size = videos | size %}
{% assign _size = include.videos | size %}
{% if forloop.index != _size %}<hr />{% endif %}
{% endfor %}

0 comments on commit b0415a5

Please sign in to comment.