1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-09-29 20:41:24 +02:00
crowbook/templates/template.html
2016-04-14 15:08:10 +02:00

56 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8">
<meta name="generator" content="crowbook">
<meta name="viewport" content="width=device-width">
<meta name="author" content="{{{author}}}">
<title>{{title}}</title>
<style type = "text/css">
{{{style}}}
</style>
<style type = "text/css" media = "print">
{{{print_style}}}
</style>
<script>
{{{script}}}
</script>
</head>
<body>
<nav id = "nav">
{{#display_chapter}}
<div id="toolbar">
<img id="book-button" alt="Display mode"
title = "{{{loc_display_all}}}"
src="{{{book_svg}}}"
onclick="javascript:switchAll()">
</div>
{{/display_chapter}}
<h2>{{{title}}}</h2>
{{{toc}}}
</nav>
<div id = "content">
<div id = "page">
<header>
<div id = "menu">
<img id = "menu-button" onclick="toggle();"
src="{{{menu_svg}}}"
alt = "{{{loc_menu}}}" title = "{{{loc_menu}}}" />
</div>
<h1 class="title">{{title}}</h1>
<h2 class="author">{{author}}</h2>
</header>
{{{content}}}
</div>
</div>
</body>
</html>