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 %} {% block comment %}
{% endblock %} {% endblock %}
{% block footer %}
<footer class="footer py-4"> <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> </div>
</footer> </footer>
{% endblock %}
<script src="{{ get_url(path='js/site.js') }}"></script>
</body> </body>

View file

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

View file

@ -50,7 +50,7 @@
<ul class="menu-list"> <ul class="menu-list">
{% for h1 in page.toc %} {% for h1 in page.toc %}
<li> <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 }}"> href="{{ h1.permalink | safe }}">
{{ h1.title }} {{ h1.title }}
</a> </a>