Commit 2ba88b53 by Ernie Park

update marketing template blocks, smarter and takes in just a class for header,…

update marketing template blocks, smarter and takes in just a class for header, fixes bug with no picture for mitx_global page
parent 042e1fdf
<%inherit file="marketing.html" />
<%block name="header">
<header class="announcement course">
<div class="anouncement-wrapper">
${parent.header_nav()}
<%block name="header_text">
<section class="course">
<section>
<h1>Circuits &amp; Electronics</h1>
......@@ -13,9 +9,8 @@
</section>
<p> Taught by Anant Agarwal, with Gerald Sussman, Piotr Mitros, and Chris Terman, &ldquo;6.002x Circuits and Electronics&rdquo; is an experimental on-line adaption of MIT's first undergraduate analog design course 6.002. This course will run, free of charge, for students worldwide from February 21, 2012 through June&nbsp;10,&nbsp;2012.</p>
</section>
</div>
</header>
</%block>
<%block name="header_class">course</%block>
<section class="index-content">
<section class="about-course">
......
......@@ -27,7 +27,7 @@
<body>
<%block name="header">
<header class="announcement">
<header class="announcement <%block name="header_class"/>">
<div class="anouncement-wrapper">
<%block name="header_nav">
<nav>
......
<%inherit file="marketing.html" />
<%block name="header_class">home</%block>
<section class="index-content">
<section class="about">
<h1><em>MITx</em> is MIT&rsquo;s online learning initiative.</h1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment