mirror of
http://git.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion/nihilist/blog-contributions.git
synced 2025-05-16 19:27:04 +00:00
add footer with credits
This commit is contained in:
parent
36d56e6647
commit
3f92acf825
6 changed files with 61 additions and 6 deletions
53
overrides/partials/source-file.html
Normal file
53
overrides/partials/source-file.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue