From 2ba88b53c70258409a626f3cebd49149bbbf01f6 Mon Sep 17 00:00:00 2001 From: Ernie Park Date: Thu, 26 Jan 2012 13:19:22 -0500 Subject: [PATCH] update marketing template blocks, smarter and takes in just a class for header, fixes bug with no picture for mitx_global page --- index.html | 9 ++------- marketing.html | 2 +- mitx_global.html | 2 ++ 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 09c3787347..23b04637b5 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,6 @@ <%inherit file="marketing.html" /> -<%block name="header"> -
-
- ${parent.header_nav()} - +<%block name="header_text">

Circuits & Electronics

@@ -13,9 +9,8 @@

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.

-
-
+<%block name="header_class">course
diff --git a/marketing.html b/marketing.html index 3ce8aef68d..8074098d0a 100644 --- a/marketing.html +++ b/marketing.html @@ -27,7 +27,7 @@ <%block name="header"> -
+
">
<%block name="header_nav">