add footer with credits

This commit is contained in:
oxeo0 2025-05-08 11:17:49 +02:00
parent 36d56e6647
commit 3f92acf825
6 changed files with 61 additions and 6 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
site/
.cache/

@ -1 +1 @@
Subproject commit 0c2f5800bd7239069b0b803265f26d50cf3cbe59 Subproject commit 4d81bfb2cbc694cf92bedb915c8de421132ef4cc

@ -1 +1 @@
Subproject commit 57f24073b7eb5161fa25a2c710fa5bca4e7745f3 Subproject commit abc95a51393f8462c59bbea64eed5aa230ef4979

@ -1 +1 @@
Subproject commit 9a2c0998563dcecf7ac1956c692377a27663782e Subproject commit 604864679ca326dfa2f168d512384c95ffe27ebe

View file

@ -2,7 +2,7 @@ site_name: The Nihilism OPSEC blog
site_url: http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/ site_url: http://blog.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/
theme: theme:
name: material name: material
custom_dir: docs/opsec custom_dir: overrides
palette: palette:
# Palette toggle for dark mode # Palette toggle for dark mode
@ -561,8 +561,8 @@ plugins:
- privacy - privacy
- search - search
#markdown-extensions: markdown_extensions:
# - meta - meta
repo_url: http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions repo_url: http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions
repo_name: nihilist/blog-contributions repo_name: nihilist/blog-contributions

View file

@ -0,0 +1,53 @@
<br>
<!-- Render gitea issue reference -->
{% if page.meta.date %}
<span class="md-source-file__fact">
<span class="md-icon">
{% include ".icons/material/note-edit.svg" %}
</span>
<a href="{{ page.meta.gitea_url }}">Suggest changes</a>
</span>
<br>
{% endif %}
<!-- Render author -->
<span class="md-source-file__fact">
<span class="md-icon">
{% include ".icons/material/account.svg" %}
</span>
{% if page.meta.author %}
{{ page.meta.author }}
{% else %}
Nihilist
{% endif %}
</span>
<!-- Render date of last update -->
{% if page.meta.date %}
<span class="md-source-file__fact">
<span class="md-icon">
{% include ".icons/material/clock-edit-outline.svg" %}
</span>
{{ page.meta.date }}
</span>
{% endif %}
<br>
<!-- Render date of last update -->
<span class="md-source-file__fact">
<span class="md-icon">
{% include ".icons/material/cash.svg" %}
</span>
<!-- Display XMR address in 3 lines -->
<!-- Check valid XMR address -->
{% if page.meta.get('xmr', '')|length == 95 %}
Donate to the author:<br>{{ page.meta.xmr[:48] }}<br>{{ page.meta.xmr[48:] }}
{% else %}
Donate to Nihilist:<br>8AUYjhQeG3D5aodJDtqG499N5jXXM71gYKD8LgSsFB9BUV1o<br>7muLv3DXHoydRTK4SZaaUBq4EAUqpZHLrX2VZLH71Jrd9k8
{% endif %}
</span>
<br>