forked from MnO2/learnyouahaskell-zh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_page.erb
67 lines (63 loc) · 3.15 KB
/
_page.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta property="og:title" content="Haskell 趣學指南" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://learnyouahaskell-zh-tw.csie.org" />
<meta property="og:image" content="http://learnyouahaskell-zh-tw.csie.org/img/bird.png" />
<style type="text/css">
@import url(../css/style.css);
@import url(../css/feedback.css);
</style>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/jquery.chili-2.2.js"></script>
<script type="text/javascript" src="../js/script.js"></script>
<script type="text/javascript" src="../js/html2canvas.js"></script>
<script type="text/javascript" src="../js/jsfeedback.js"></script>
<script type="text/javascript">
ChiliBook.recipeFolder = "../js/chili/";
ChiliBook.automaticSelector = "pre";
</script>
<script type="text/javascript">
$(function(){
$('#feedback').click(function(){
$('body').feedback();
})
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32830659-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<title><%= c.title %></title>
</head>
<body>
<div id="header">
<img id="beta" alt="beta" src="../img/beta.png" />
</div>
<div id="main">
<ul class="nav">
<li class="left"> <%if p%> <img src="../img/prv.png" alt="prev" /><a href="<%=p.anchor%>.html"><%=p.title%></a><%end%></li>
<li class="center"><a href="chapters.html">Index</a></li>
<li class="right"><%if n%> <a href="<%=n.anchor%>.html"><%=n.title%></a><img src="../img/nxt.png" alt="next" /><%end%></li>
</ul>
<%= c.to_html %>
<ul class="nav">
<li class="left"> <%if p%> <img src="../img/prv.png" alt="prev" /><a href="<%=p.anchor%>.html"><%=p.title%></a><%end%></li>
<li class="center"><a href="chapters.html">Index</a></li>
<li class="right"><%if n%> <a href="<%=n.anchor%>.html"><%=n.title%></a><img src="../img/nxt.png" alt="next" /><%end%></li>
</ul>
</div>
<div id="footer">
</div>
<div id="feedback">Send feedback</div>
</body>
</html>