Skip to content

Commit

Permalink
Adding socials buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
swisskyrepo committed Apr 24, 2024
1 parent b245d3c commit 43a8c6a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/overrides/main.html
@@ -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 %}
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Expand Up @@ -11,6 +11,7 @@ edit_uri: blob/master/

theme:
name: material
custom_dir: overrides
color_mode: auto
user_color_mode_toggle: true
icon:
Expand Down

0 comments on commit 43a8c6a

Please sign in to comment.