You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.2 KiB
HTML

<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
<img src="/images/nq4t.png">
<h1>
<a href="{{ site.baseurl }}">
{{ site.title }}
</a>
</h1>
<h5>{{ site.tagline }}</h5>
<p class="lead">{{ site.description }}</p>
</div>
<nav class="sidebar-nav">
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}">Home</a>
{% comment %}
The code below dynamically generates a sidebar nav of pages with
`layout: page` in the front-matter. See readme for usage.
{% endcomment %}
{% assign pages_list = site.pages | sort: "order" %}
{% for node in pages_list %}
{% if node.sidebar != null %}
{% if node.layout == "page" or node.layout == "page2" %}
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ node.url }}">{{ node.title }}</a>
{% endif %}
{% endif %}
{% endfor %}
</nav>
<h6>Powered by jekyll and Fohdeesha.
<br>Last updated: {{ site.time }}
<br><a href="https://git.pickmy.org/dewdude/nq4t-dot-com-jekyll" target="_blank">Site source</a></h6>
</div>
</div>