Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
b78e33db
Commit
b78e33db
authored
Jan 30, 2014
by
Dave St.Germain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This script and meta tag shouldn't be inside the title.
parent
d06fbae8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
+13
-15
lms/templates/main.html
+13
-15
No files found.
lms/templates/main.html
View file @
b78e33db
...
...
@@ -21,37 +21,35 @@
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"
>
<script
type=
"text/javascript"
>
/* immediately break out of an iframe if coming from the marketing website */
(
function
(
window
)
{
if
(
window
.
location
!==
window
.
top
.
location
)
{
window
.
top
.
location
=
window
.
location
;
}
})(
this
);
</script>
% endif
</title>
</
%
block>
<script
type=
"text/javascript"
>
/* immediately break out of an iframe if coming from the marketing website */
(
function
(
window
)
{
if
(
window
.
location
!==
window
.
top
.
location
)
{
window
.
top
.
location
=
window
.
location
;
}
})(
this
);
</script>
<script
type=
"text/javascript"
src=
"/jsi18n/"
></script>
<link
rel=
"icon"
type=
"image/x-icon"
href=
"${static.url(MicrositeConfiguration.get_microsite_configuration_value('favicon_path', settings.FAVICON_PATH))}"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment