<%inherit file="main.html" /> <%namespace name='static' file='static_content.html'/> <%! from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse from microsite_configuration import microsite %> <% homepage_overlay_html = microsite.get_value('homepage_overlay_html') ## To display a welcome video, change False to True, and add a YouTube ID (11 chars, eg "123456789xX") in the following line show_homepage_promo_video = microsite.get_value('show_homepage_promo_video', False) homepage_promo_video_youtube_id = microsite.get_value('homepage_promo_video_youtube_id', "your-youtube-id") show_partners = microsite.get_value('show_partners', True) %>
% if homepage_overlay_html: ${homepage_overlay_html} % else: % if self.stanford_theme_enabled():

${_("Free courses from {university_name}").format(university_name="Stanford")}

${_("For anyone, anywhere, anytime")}

% else: ## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.

${_("Welcome to Open edX!")}

## Translators: 'Open edX' is a brand, please keep this untranslated. See http://openedx.org for more information.

${_("It works! This is the default homepage for this Open edX instance.")}

% endif % endif
% if settings.FEATURES.get('ENABLE_COURSE_DISCOVERY'): % endif
% if show_homepage_promo_video:
% endif
<% # allow for microsite override of the courses list courses_list = microsite.get_template_path('courses_list.html') %> <%include file="${courses_list}" />
<%block name="js_extra"> % if show_signup_immediately is not UNDEFINED: ## NOTE: This won't work in production, because anonymous views are cached, so it will ## show either with or without this extra js for 3 minutes at a time. % endif