%! from django.utils.translation import ugettext as _ %> <%! from django.core.urlresolvers import reverse %> <%! from time import strftime %> <%inherit file="main.html" /> <%namespace name='static' file='static_content.html'/> % if self.stanford_theme_enabled(): ${_("Free courses from {university_name}").format(university_name="Stanford")} % else: ${_("The Future of Online Education")} % endif ${_("For anyone, anywhere, anytime")} ## Disable social buttons for non-edX sites % if not self.theme_enabled(): ${_("Sign Up")} ${_("Stay up to date with all {platform_name} has to offer!").format(platform_name=settings.PLATFORM_NAME)} % endif ## Disable university partner logos and sites for non-edX sites % if not self.theme_enabled(): ${_('Explore free courses from {span_start}{platform_name}{span_end} universities').format(platform_name="edX", span_start='', span_end='')} MITx HarvardX BerkeleyX UTx McGillX ANUx WellesleyX GeorgetownX University of TorontoX EPFLx DelftX RiceX % endif %for course in courses: <%include file="course.html" args="course=course" /> %endfor <% if self.stanford_theme_enabled(): youtube_video_id = "2gmreZObCY4" else: youtube_video_id = "XNaiOGxWeto" %> <%block name="js_extra"> %block> % 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