Add Hakyll site generator and assets
Add site executable and Haskell modules (site.hs, ChaoDoc.hs, SideNoteHTML.hs, Pangu.hs) to handle Pandoc/Hakyll compilation, theorem/sidenote processing and CJK spacing. Add CSS, font files, favicon, templates, Makefile, and a CSL bibliographic style. Update .gitignore to ignore build artifacts.
This commit is contained in:
23
templates/default.html
Normal file
23
templates/default.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
$partial("templates/head.html")$
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="toc">
|
||||
<div id="contents-big">
|
||||
<p class="mini-header">Contents</p>
|
||||
<a id="up-arrow" href="#">#</a>
|
||||
$toc$
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-space">
|
||||
$partial("templates/navbar.html")$
|
||||
<main role="main">
|
||||
<h1 class="pagetitle">$title$</h1>
|
||||
$body$
|
||||
</main>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user