base markdown book with code block syntax highlighting and fully embedded assets
This commit is contained in:
29
templates/page.html
Normal file
29
templates/page.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<article>
|
||||
{{ content | safe }}
|
||||
</article>
|
||||
|
||||
<nav>
|
||||
<!-- {% if prev_page %} -->
|
||||
<!-- <a class="btn" href="/{{ prev_page }}">← Previous</a> -->
|
||||
<!-- {% else %} -->
|
||||
<!-- <span class="btn disabled">← Previous</span> -->
|
||||
<!-- {% endif %} -->
|
||||
|
||||
<a href="/">Home (Summary)</a>
|
||||
|
||||
<!-- {% if next_page %} -->
|
||||
<!-- <a class="btn" href="/{{ next_page }}">Next →</a> -->
|
||||
<!-- {% else %} -->
|
||||
<!-- <span class="btn disabled">Next →</span> -->
|
||||
<!-- {% endif %} -->
|
||||
</nav>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user