reciproka-web/templates/sidebar.html

39 lines
1.2 KiB
HTML
Raw Permalink 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>
2023-08-24 10:58:49 +00:00
<img src="$baseurl$/images/reciproka-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>