updated mathjax rendering

This commit is contained in:
Yann Esposito 2012-10-10 11:11:48 +02:00
parent 7f5d00d79c
commit 3d584882b8
3 changed files with 15 additions and 15 deletions

View file

@ -5,30 +5,30 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><%
<% t=tags %> t=tags
<% if t.length > 0 %> if t.length > 0
<meta name="keywords" content="<%= t %>"> %> <meta name="keywords" content="<%= t %>"><%
<% end %> end
<link rel="shortcut icon" type="image/x-icon" href="<%=@config[:webprefix]%>/img/favicon.ico" /> %> <link rel="shortcut icon" type="image/x-icon" href="<%=@config[:webprefix]%>/img/favicon.ico" />
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/assets/css/main.css" /> <link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/assets/css/main.css" />
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/solarized.css" /> <link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/solarized.css" />
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/idc.css" /> <link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/idc.css" />
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/yannespositocom<%= language %>"/> <link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/yannespositocom<%= language %>"/><%
<%
languages.each do |lang| languages.each do |lang|
item_for_lang=item_of_language(lang) item_for_lang=item_of_language(lang)
if not item_for_lang.nil? %> if not item_for_lang.nil? %>
<link rel="alternate" lang="<%= lang %>" xml:lang="<%= lang %>" title="<%= item_for_lang[:title] %>" type="text/html" hreflang="<%= lang %>" href="<%= item_for_lang.reps[0].path %>" /> <% <link rel="alternate" lang="<%= lang %>" xml:lang="<%= lang %>" title="<%= item_for_lang[:title] %>" type="text/html" hreflang="<%= lang %>" href="<%= item_for_lang.reps[0].path %>" /> <%
end end
end %> end
<script type="text/javascript" src="<%=@config[:webprefix]%>/js/jquery-1.3.1.min.js"></script> %> <script type="text/javascript" src="<%=@config[:webprefix]%>/js/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="<%=@config[:webprefix]%>/js/jquery.cookie.js"></script> <script type="text/javascript" src="<%=@config[:webprefix]%>/js/jquery.cookie.js"></script>
<script type="text/javascript" src="<%=@config[:webprefix]%>/js/index.js"></script> <script type="text/javascript" src="<%=@config[:webprefix]%>/js/index.js"></script>
<script type="text/javascript" src="<%=@config[:webprefix]%>/js/highlight/highlight.pack.js"></script> <script type="text/javascript" src="<%=@config[:webprefix]%>/js/highlight/highlight.pack.js"></script>
<script type="text/javascript" src="<%=@config[:webprefix]%>/js/article.js"></script> <script type="text/javascript" src="<%=@config[:webprefix]%>/js/article.js"></script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script>MathJax.Hub.Config({"HTML-CSS":{scale:83}});</script>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]--> <![endif]-->

View file

@ -87,7 +87,7 @@ $(window).bind("load", function() {
if (/windows/.test(navigator.userAgent.toLowerCase())) { if (/windows/.test(navigator.userAgent.toLowerCase())) {
$('head').append('<link rel="stylesheet" type="text/css" href="/Scratch/css/windows.css"/>'); $('head').append('<link rel="stylesheet" type="text/css" href="/Scratch/css/windows.css"/>');
} }
$('#blackpage').fadeOut(); $('#blackpage').fadeOut('slow',function(){ $('#blackpage').remove(); });
analytics(); analytics();
}); });

View file

@ -9,7 +9,7 @@ for fic in $webroot/content/html/??/blog/*(N); do
done done
print -- "Clean multi/blog" print -- "Clean multi/blog"
if [[ $(uname) = Linux ]]; then if [[ $(uname) = Linux ]]; then
column=8 column=9
else else
column=9 column=9
fi fi