2015-07-18 22:08:38 +00:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html lang="{{ language }}">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{{ title }}</title>
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
|
|
|
<meta name="description" content="{% block description %}{% endblock %}">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
2015-07-29 21:32:01 +00:00
|
|
|
<link rel="stylesheet" href="{{ path_to_root }}book.css" media="screen" title="no title" charset="utf-8">
|
2015-07-28 19:01:13 +00:00
|
|
|
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
|
|
|
|
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
2015-07-18 22:08:38 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2015-07-19 12:02:21 +00:00
|
|
|
|
2015-07-28 19:01:13 +00:00
|
|
|
<div id="sidebar" class="sidebar">
|
2015-07-29 21:32:01 +00:00
|
|
|
{{#toc}}{{/toc}}
|
2015-07-28 19:01:13 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="page-wrapper" class="page-wrapper">
|
|
|
|
|
2015-08-01 12:12:55 +00:00
|
|
|
<div class="page">
|
2015-08-01 15:21:05 +00:00
|
|
|
<div id="menu-bar" class="menu-bar">
|
|
|
|
<i id="sidebar-toggle" class="fa fa-bars left"></i>
|
|
|
|
<h1 class="menu-title">{{ title }}</h1>
|
|
|
|
</div>
|
|
|
|
|
2015-08-01 12:12:55 +00:00
|
|
|
<div id="content" class="content">
|
|
|
|
{{{ content }}}
|
|
|
|
</div>
|
2015-07-28 19:01:13 +00:00
|
|
|
</div>
|
|
|
|
|
2015-08-01 12:12:55 +00:00
|
|
|
<!--
|
|
|
|
Doesn't seem to work: {{!#if (previous)}} using JavaScript
|
|
|
|
alternative until I find a way to do it in the template
|
|
|
|
-->
|
|
|
|
<a href="{{#previous}}{{/previous}}" class="nav-chapters previous">
|
|
|
|
<i class="fa fa-angle-left"></i>
|
|
|
|
</a>
|
|
|
|
<!-- {{!/if}} -->
|
|
|
|
|
|
|
|
<!-- {{!#if (next "")}} -->
|
|
|
|
<a href="{{#next}}{{/next}}" class="nav-chapters next">
|
|
|
|
<i class="fa fa-angle-right"></i>
|
|
|
|
</a>
|
|
|
|
<!-- {{!/if}} -->
|
|
|
|
|
2015-07-28 19:01:13 +00:00
|
|
|
</div>
|
2015-07-19 12:02:21 +00:00
|
|
|
|
2015-07-29 11:34:48 +00:00
|
|
|
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
|
2015-07-29 21:32:01 +00:00
|
|
|
<script src="{{ path_to_root }}book.js"></script>
|
2015-07-18 22:08:38 +00:00
|
|
|
</body>
|
|
|
|
</html>
|