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" /> <%inherit file="marketing.html" />
<%block name="header"> <%block name="header_text">
<header class="announcement course">
<div class="anouncement-wrapper">
${parent.header_nav()}
<section class="course"> <section class="course">
<section> <section>
<h1>Circuits &amp; Electronics</h1> <h1>Circuits &amp; Electronics</h1>
...@@ -13,9 +9,8 @@ ...@@ -13,9 +9,8 @@
</section> </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> <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> </section>
</div>
</header>
</%block> </%block>
<%block name="header_class">course</%block>
<section class="index-content"> <section class="index-content">
<section class="about-course"> <section class="about-course">
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<body> <body>
<%block name="header"> <%block name="header">
<header class="announcement"> <header class="announcement <%block name="header_class"/>">
<div class="anouncement-wrapper"> <div class="anouncement-wrapper">
<%block name="header_nav"> <%block name="header_nav">
<nav> <nav>
......
<%inherit file="marketing.html" /> <%inherit file="marketing.html" />
<%block name="header_class">home</%block>
<section class="index-content"> <section class="index-content">
<section class="about"> <section class="about">
<h1><em>MITx</em> is MIT&rsquo;s online learning initiative.</h1> <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