Adding socials buttons

This commit is contained in:
Swissky 2024-04-24 22:02:04 +02:00
parent b245d3cbdd
commit 43a8c6a037
3 changed files with 29 additions and 0 deletions

27
.github/overrides/main.html vendored Normal file
View file

@ -0,0 +1,27 @@
{% extends "base.html" %}
{% block content %}
{{ super() }}
<div class="social-container">
<b>Share this content</b>
<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
<a class="a2a_dd" href="https://www.addtoany.com/share"></a>
<a class="a2a_button_x"></a>
<a class="a2a_button_telegram"></a>
<a class="a2a_button_linkedin"></a>
<a class="a2a_button_email"></a>
<a class="a2a_button_microsoft_teams"></a>
</div>
<br>
<script async src="https://static.addtoany.com/menu/page.js"></script>
</div>
{% endblock %}
{% block styles %}
{{ super() }}
<style>
.social-container {
float: right;
}
</style>
{% endblock %}

View file

@ -21,6 +21,7 @@ jobs:
git config --global user.name "Swk"
git config --global pull.rebase false
git submodule add https://github.com/swisskyrepo/PayloadsAllTheThings/ docs
mv docs/.github/overrides .
- uses: actions/setup-python@v2
with:

View file

@ -11,6 +11,7 @@ edit_uri: blob/master/
theme:
name: material
custom_dir: overrides
color_mode: auto
user_color_mode_toggle: true
icon: