-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
108 lines (100 loc) · 2.83 KB
/
template.html
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
layout: default
title: $title$
head: |
<!-- Pandoc Styling
================================================== -->
<style type="text/css">
code {
white-space: pre-wrap;
word-wrap: break-word;
}
@media (min-width: 768px) {
h1[id]::before, h2[id]::before, h3[id]::before, h4[id]::before, h5[id]::before, h6[id]::before {
display: block;
content: " ";
margin-top: -141px;
height: 141px;
visibility: hidden;
}
}
</style>
$if(quotes)$
<style type="text/css">
q {
quotes: "“" "”" "‘" "’";
}
</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
$highlighting-css$
</style>
$endif$
$for(css)$
<link rel="stylesheet" href="$css$">
$endfor$
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
<!-- TOC Button JavaScript -->
<script type="text/javascript">
$$(document).ready(function() {
$$('.table-of-contents .btn').click(function() {
if ($$(this).text() === 'Show')
$$(this).text('Hide');
else
$$(this).text('Show');
});
});
</script>
breadcrumbs:
list:
- Home: '/'
- Wiki: '/wiki/'
---
{% raw %}
<section class="single-post wiki">
<div class="container">
<div class="row">
<div class="col-md-12">
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header id="top" class="wiki-header">
<div class="wiki-heading">
<h1>$title$</h1>
<div>
<a rel="external noopener" href="$repo$/edit/master/$file$.md" target="_blank">Edit This Page</a>
<a rel="external noopener" href="$repo$/new/master/$path$" target="_blank">New Page</a>
</div>
</div>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$if(date)$
<p class="date">$date$</p>
$endif$
</header>
$endif$
$if(toc)$
<div class="table-of-contents">
<h2 id="toc">Table of Contents <button data-toggle="collapse" data-target="#tocnav" class="btn">Hide</button></h2>
<nav id="tocnav" class="collapse in">
$toc$
</nav>
</div>
$endif$
$body$
$for(include-after)$
$include-after$
$endfor$
</div>
</div>
</div>
</section>
{% endraw %}