41 lines
1.7 KiB
Plaintext
41 lines
1.7 KiB
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
<title><%=@page.plain_name%></title>
|
|
<!-- metadata -->
|
|
<meta name="generator" content="Instiki" />
|
|
<meta name="version" content="<%= "#{Instiki::VERSION::STRING}" %>" />
|
|
<meta name="author" content="<%=@page.author%>" />
|
|
<meta name="company" content="" />
|
|
<!-- configuration parameters -->
|
|
<meta name="defaultView" content="slideshow" />
|
|
<meta name="controlVis" content="hidden" />
|
|
<!-- style sheet links -->
|
|
<%= stylesheet_link_tag "/stylesheets/syntax.css", :media => 'all', :id => 'syntaxStyle' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/outline.css", :media => 'screen', :id => 'outlineStyle' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/print.css", :media => 'print', :id => 'slidePrint' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/opera.css", :media => 'projection', :id => 'operaFix' %>
|
|
<%= stylesheet_link_tag "/s5/ui/core/math.css", :media => 'all', :id => 'mathStyle' %>
|
|
<%= stylesheet_link_tag "/s5/themes/#{@s5_theme}/slides.css", :media => 'projection', :id => 'slideProj' %>
|
|
|
|
<!-- S5 JS -->
|
|
<%= javascript_include_tag 'prototype' %>
|
|
<%- if @web.markup == :markdownMML -%>
|
|
<script type="text/javascript">
|
|
if (!(Prototype.Browser.Gecko || navigator.userAgent.match(/MathPlayer/))) {
|
|
var s = document.createElement('script');
|
|
s.src = "<%= compute_public_path('MathJax.js', 'MathJax').split('?')[0] %>?config=instiki";
|
|
document.querySelector('head').appendChild(s);
|
|
};
|
|
</script>
|
|
<%- end -%>
|
|
<%= javascript_include_tag "/s5/ui/core/slides.js" %>
|
|
</head>
|
|
<body>
|
|
|
|
<%= @s5_content %>
|
|
|
|
</body>
|
|
</html>
|