No content to show

User Activity

私も同様のコードをセクションに追加したところ、すべてのページ(問い合わせページ,カートページなど)に背景動画が表示される状態です。一行目に{%- if template.name == 'index' -%}を追加してみたのですがそのまま表示されます。トップページのみに背景動画を表示させたいのですが、どのようにコードを編集したら良いでしょうか。
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.