From 43a8c6a0376abd737c313c855f15730795b54701 Mon Sep 17 00:00:00 2001 From: Swissky <12152583+swisskyrepo@users.noreply.github.com> Date: Wed, 24 Apr 2024 22:02:04 +0200 Subject: [PATCH] Adding socials buttons --- .github/overrides/main.html | 27 +++++++++++++++++++++++++++ .github/workflows/ci.yml | 1 + mkdocs.yml | 1 + 3 files changed, 29 insertions(+) create mode 100644 .github/overrides/main.html diff --git a/.github/overrides/main.html b/.github/overrides/main.html new file mode 100644 index 0000000..e34e021 --- /dev/null +++ b/.github/overrides/main.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block content %} + {{ super() }} +
+ Share this content +
+ + + + + + +
+
+ +
+{% endblock %} + +{% block styles %} + {{ super() }} + +{% endblock %} \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c75201..4a46a3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/mkdocs.yml b/mkdocs.yml index 10193f6..c2797a8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -11,6 +11,7 @@ edit_uri: blob/master/ theme: name: material + custom_dir: overrides color_mode: auto user_color_mode_toggle: true icon: