mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-24 22:40:33 -04:00
footer, toc highlight active
This commit is contained in:
parent
b0c111813d
commit
084f19243e
6 changed files with 21 additions and 3 deletions
BIN
themes/DeepThought/static/icons/gitlab.png
Normal file
BIN
themes/DeepThought/static/icons/gitlab.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
BIN
themes/DeepThought/static/icons/gitlab2.png
Normal file
BIN
themes/DeepThought/static/icons/gitlab2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
1
themes/DeepThought/static/js/site.js
Normal file
1
themes/DeepThought/static/js/site.js
Normal file
|
@ -0,0 +1 @@
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue