1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-28 09:56:23 +02:00
crowbook/templates/html_dir/template.html
2023-08-10 01:49:40 +02:00

52 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8">
<meta name="generator" content="crowbook">
<meta name="author" content="{{author_raw}}">
<meta name="viewport" content="width=device-width">
{{favicon}}
<title>{{title_raw}}{% if is_chapter %} - {{chapter_title_raw}}{% endif %}</title>
<link rel = "stylesheet" href = "stylesheet.css" type = "text/css"
/>
<link rel = "stylesheet" href = "print.css" type = "text/css"
media = "print" />
{% if highlight_code %}
<link rel = "stylesheet" href = "highlight.css" type = "text/css"
/>
<script src = "highlight.js"></script>
<script>
hljs.initHighlightingOnLoad();
</script>
{% endif %}
<script>
{{script}}
</script>
</head>
<body>
{{json_data}}
<nav id = "nav">
<h2><a href = "index.html">{{title}}</a></h2>
{{toc}}
</nav>
<div id = "content">
{{header}}
<div id = "page">
<header>
<div id = "menu">
<img id = "menu-button" onclick="toggle();"
src="menu.svg" alt = "{{loc_toc}}" title = "{{loc_toc}}" />
</div>
</header>
{% if is_chapter %}{{prev_chapter}}{% endif %}
{{content}}
{% if is_chapter %}{{next_chapter}}{% endif %}
</div>
{{footer}}
</div>
</body>
</html>