update marketing template blocks, smarter and takes in just a class for header, fixes bug with no picture for mitx_global page
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
<%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 & Electronics</h1>
|
||||
@@ -13,9 +9,8 @@
|
||||
</section>
|
||||
<p> Taught by Anant Agarwal, with Gerald Sussman, Piotr Mitros, and Chris Terman, “6.002x Circuits and Electronics” 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 10, 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>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<%inherit file="marketing.html" />
|
||||
|
||||
<%block name="header_class">home</%block>
|
||||
|
||||
<section class="index-content">
|
||||
<section class="about">
|
||||
<h1><em>MITx</em> is MIT’s online learning initiative.</h1>
|
||||
|
||||
Reference in New Issue
Block a user