mirror of
https://github.com/danog/sass-site.git
synced 2024-12-04 10:28:22 +01:00
27 lines
958 B
Plaintext
27 lines
958 B
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<%= charset %>"/>
|
|
<title><%= options.title %></title>
|
|
</head>
|
|
<script type="text/javascript" charset="utf-8">
|
|
window.onload = function() {
|
|
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
|
var name = match ? match[1] : '<%= url_for_main %>';
|
|
name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
|
|
document.writeln('<frameset cols="20%,*">' +
|
|
'<frame name="list" src="<%= url_for_list('class') %>" />' +
|
|
'<frame name="main" src="' + escape(name) + '" />' +
|
|
'</frameset>');
|
|
}
|
|
</script>
|
|
<noscript>
|
|
<frameset cols="20%,*">
|
|
<frame name="list" src="<%= url_for_list('class') %>" />
|
|
<frame name="main" src="<%= url_for_main %>" />
|
|
</frameset>
|
|
</noscript>
|
|
</html>
|