mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2026-02-28 01:01:56 -08:00
restructure source files
This commit is contained in:
76
demo/template.html
Normal file
76
demo/template.html
Normal file
@@ -0,0 +1,76 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
$for(author-meta)$
|
||||
<meta name="author" content="$author-meta$" />
|
||||
$endfor$
|
||||
$if(date-meta)$
|
||||
<meta name="dcterms.date" content="$date-meta$" />
|
||||
$endif$
|
||||
$if(keywords)$
|
||||
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
|
||||
$endif$
|
||||
$if(description-meta)$
|
||||
<meta name="description" content="$description-meta$" />
|
||||
$endif$
|
||||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||||
$for(css)$
|
||||
<link rel="stylesheet" href="$css$" />
|
||||
$endfor$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
$if(math)$
|
||||
$math$
|
||||
$endif$
|
||||
</head>
|
||||
<body>
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
$endfor$
|
||||
<table class="header">
|
||||
<tr>
|
||||
<td colspan="2" rowspan="2" class="width-auto">
|
||||
<h1 class="title">$title$</h1>
|
||||
<span class="subtitle">$subtitle$</span>
|
||||
</td>
|
||||
<th>Version</th>
|
||||
<td class="width-min">$version$</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Updated</th>
|
||||
<td class="width-min"><time style="white-space: pre;">$date$</time></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="width-min">Author</th>
|
||||
<td class="width-auto"><a href="$author-url$"><cite>$author$</cite></a></td>
|
||||
<th class="width-min">License</th>
|
||||
<td>MIT</td>
|
||||
</tr>
|
||||
</table>
|
||||
<label class="debug-toggle-label"><input type="checkbox" class="debug-toggle" /> Debug mode</label>
|
||||
$if(abstract)$
|
||||
<div class="abstract">
|
||||
<div class="abstract-title">$abstract-title$</div>
|
||||
$abstract$
|
||||
</div>
|
||||
$endif$
|
||||
$if(toc)$
|
||||
<nav id="$idprefix$TOC" role="doc-toc">
|
||||
$if(toc-title)$
|
||||
<h2 id="$idprefix$toc-title">$toc-title$</h2>
|
||||
$endif$
|
||||
$table-of-contents$
|
||||
</nav>
|
||||
$endif$
|
||||
$body$
|
||||
$for(include-after)$
|
||||
$include-after$
|
||||
$endfor$
|
||||
<div class="debug-grid"></div>
|
||||
<script src="src/index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user