2021-11-04 09:46:37 +00:00
|
|
|
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
|
|
|
|
styles, `#sidebar-checkbox` for behavior. -->
|
|
|
|
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
|
|
|
|
|
|
|
|
<!-- Toggleable sidebar -->
|
|
|
|
<div class="sidebar" id="sidebar">
|
|
|
|
<div class="sidebar-item">
|
|
|
|
<p>$site_description$</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav class="sidebar-nav">
|
2021-11-18 10:08:04 +00:00
|
|
|
<a class="sidebar-nav-item$if(home)$ active$endif$" href="/">Home</a>
|
2021-11-04 09:46:37 +00:00
|
|
|
|
|
|
|
<!--- The code below dynamically generates a sidebar nav of the files in the folder /pages -->
|
|
|
|
|
|
|
|
$for(list_pages)$
|
|
|
|
$if(title)$
|
2021-11-18 10:08:04 +00:00
|
|
|
<a class="sidebar-nav-item$if(eval(title))$ active$endif$" href="$node-url$">$title$</a>
|
2021-11-04 09:46:37 +00:00
|
|
|
$endif$
|
|
|
|
$endfor$
|
|
|
|
|
2021-11-18 10:08:04 +00:00
|
|
|
<a class="sidebar-nav-item$if(archive)$ active$endif$" href="/archive.html">Archive</a>
|
2021-11-04 09:46:37 +00:00
|
|
|
|
|
|
|
<a class="sidebar-nav-item" href="$github-repo$">GitHub project</a>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="sidebar-item">
|
|
|
|
<p>
|
|
|
|
© $copy-year$. All rights reserved.
|
|
|
|
</p>
|
|
|
|
<p>
|
2021-11-18 10:08:04 +00:00
|
|
|
<img src="/images/haskell-logo.png" class=logo style="display: inline;"/>
|
2021-11-04 09:46:37 +00:00
|
|
|
Site created with
|
|
|
|
<a href="https://jaspervdj.be/hakyll">Hakyll</a>.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|