footer, toc highlight active

This commit is contained in:
anarsec 2023-06-30 15:58:46 +00:00
parent b0c111813d
commit 084f19243e
No known key found for this signature in database
6 changed files with 21 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1 @@

View file

@ -113,10 +113,28 @@
{% block comment %}
{% endblock %}
{% block footer %}
<footer class="footer py-4">
<div class="content has-text-centered">
<div class="content has-text-centered has-text-link-light">
<p>
<a href="https://0xacab.org/anarsec/anarsec.guide/-/blob/no-masters/CHANGELOG.md">Changelog </a>
<a href="/atom.xml" target="_blank">
<span class="icon is-large" title="RSS Feed">
<i class="fas fa-rss fa-lg"></i>
</span>
</a>
<a href="https://0xacab.org/anarsec/anarsec.guide" target="_blank">
<span class="icon is-medium" title="GitLab">
<img src="/icons/gitlab2.png">
</span>
</a>
</p>
</div>
</footer>
{% endblock %}
<script src="{{ get_url(path='js/site.js') }}"></script>
</body>

View file

@ -11,7 +11,6 @@
<img id="image-gay" src="{{ config.extra.author.avatar }}" />
</figure>
{% endif %}
{{ macros:: social_links( social_config=config.extra.social) }}
</div>
<div class="content">
{{ section.content | safe }}

View file

@ -50,7 +50,7 @@
<ul class="menu-list">
{% for h1 in page.toc %}
<li>
<a id="link-{{h1.id}}" class="toc is-size-7"
<a id="link-{{h1.id}}" class="toc is-size-7 {% if loop.first %}is-active{% endif %}"
href="{{ h1.permalink | safe }}">
{{ h1.title }}
</a>