reciproka-web/templates/sidebar.html

39 lines
1.2 KiB
HTML
Raw Normal View History

2021-11-02 22:14:48 +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">
<a class="sidebar-nav-item$if(home)$ active$endif$" href="$baseurl$">Home</a>
<!--- The code below dynamically generates a sidebar nav of the files in the folder /pages -->
$for(list_pages)$
$if(title)$
<a class="sidebar-nav-item$if(eval(title))$ active$endif$" href="$baseurl$$node-url$">$title$</a>
$endif$
$endfor$
<a class="sidebar-nav-item$if(archive)$ active$endif$" href="$baseurl$/archive.html">Archive</a>
<a class="sidebar-nav-item" href="$github-repo$">GitHub project</a>
</nav>
<div class="sidebar-item">
<p>
&copy; $copy-year$. All rights reserved.
</p>
<p>
2021-11-03 23:53:40 +00:00
<img src="$baseurl$/images/jfdic-logo.png" class=logo style="display: inline;"/>
2021-11-02 22:14:48 +00:00
Site created with
<a href="https://jaspervdj.be/hakyll">Hakyll</a>.
</p>
</div>
</div>