<%! from django.utils.translation import ugettext as _ %> <%inherit file="../main.html" /> <%namespace name='static' file='../static_content.html'/> <%block name="pagetitle">${_("Courses")} <%! from microsite_configuration import microsite %>
<% course_index_overlay_text = microsite.get_value('course_index_overlay_text', _("Explore free courses from leading universities.")) # not sure why this is, but if I use static.url('images/edx_bw.png') then the HTML rendering # of this template goes wonky logo_file = microsite.get_value( 'course_index_overlay_logo_file', settings.STATIC_URL + 'images/edx_bw.png') %>
    %for course in courses:
  • <%include file="../course.html" args="course=course" />
  • %endfor