diff --git a/lms/templates/index.html b/lms/templates/index.html index db5389e7a0..9255845562 100644 --- a/lms/templates/index.html +++ b/lms/templates/index.html @@ -38,13 +38,7 @@ from openedx.core.djangolib.markup import HTML, Text - % if show_homepage_promo_video: - -
-
-
-
- % endif + <%include file="index_promo_video.html" /> diff --git a/lms/templates/index_promo_video.html b/lms/templates/index_promo_video.html new file mode 100644 index 0000000000..9cf4e1fcdb --- /dev/null +++ b/lms/templates/index_promo_video.html @@ -0,0 +1,9 @@ +<%page expression_filter="h"/> + +% if show_homepage_promo_video: + +
+
+
+
+% endif