Commit b78e33db by Dave St.Germain

This script and meta tag shouldn't be inside the title.

parent d06fbae8
......@@ -21,23 +21,25 @@
return getattr(settings, "THEME_NAME", None) == "stanford"
%>
</%def>
## this needs to be here to prevent the title from mysteriously appearing in the body, in one case
<%def name="pagetitle()" />
<!DOCTYPE html>
<!--[if IE 7]><html class="ie ie7 lte9 lte8 lte7" lang="${LANGUAGE_CODE}"><![endif]-->
<!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="${LANGUAGE_CODE}"><![endif]-->
<!--[if IE 9]><html class="ie ie9 lte9" lang="${LANGUAGE_CODE}"><![endif]-->
<!--[if gt IE 9]><!--><html lang="${LANGUAGE_CODE}"><!--<![endif]-->
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<%block name="title">
<title>
% if stanford_theme_enabled():
${_("Home")} | class.stanford.edu
% else:
${page_title_breadcrumbs(self.pagetitle())}
## this needs to be here to prevent the title from mysteriously appearing in the body, in one case
<!--<%block name="pagetitle" />-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
% endif
</title>
</%block>
<script type="text/javascript">
/* immediately break out of an iframe if coming from the marketing website */
......@@ -47,10 +49,6 @@
}
})(this);
</script>
% endif
</title>
</%block>
<script type="text/javascript" src="/jsi18n/"></script>
......
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