From 04389256db25e6ba3a4496e8ce2929b33ac305e5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 15 Feb 2024 18:24:26 +0000 Subject: [PATCH] Add social links --- mkdocs.yml | 8 ++++++++ theme/main.html | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 theme/main.html diff --git a/mkdocs.yml b/mkdocs.yml index f0326e5..9fe55d8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,6 +7,12 @@ extra: social: - icon: fontawesome/solid/globe link: https://theorangeone.net + - icon: fontawesome/brands/mastodon + link: https://theorangeone.net/@jake + - icon: fontawesome/brands/twitter + link: https://twitter.com/RealOrangeOne + - icon: fontawesome/brands/github + link: https://github.com/RealOrangeOne theme: name: material @@ -14,6 +20,8 @@ theme: - navigation.top - navigation.sections - navigation.index + - toc.follow + - search.suggest icon: logo: fontawesome/regular/note-sticky favicon: https://theorangeone.net/favicon.ico diff --git a/theme/main.html b/theme/main.html new file mode 100644 index 0000000..4aec1c1 --- /dev/null +++ b/theme/main.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} + +{% block announce %} + You can also find me at + + + {% include ".icons/fontawesome/solid/globe.svg" %} + + My website + , + or on social media: + + + {% include ".icons/fontawesome/brands/mastodon.svg" %} + + Mastodon + + , + + + Twitter + + , + + + {% include ".icons/fontawesome/brands/github.svg" %} + + GitHub + . +{% endblock %}