Skip to content

Commit

Permalink
Add follow-us announcement banner (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Mar 11, 2023
1 parent 82bb55d commit a91106e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/.overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% extends "base.html" %} {% block announce %} For updates follow us on
<a rel="me" href="https://fosstodon.org/@ssbarnea">
<span class="twemoji mastodon">
{% include ".icons/fontawesome/brands/mastodon.svg" %}
</span>
<strong>Fosstodon</strong>
</a>
and
<a href="https://twitter.com/sbarnea">
<span class="twemoji twitter">
{% include ".icons/fontawesome/brands/twitter.svg" %}
</span>
<strong>Twitter</strong>
</a>
{% endblock %}
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ extra_css:

theme:
name: "material"
custom_dir: docs/.overrides
logo: images/logo.svg
favicon: images/favicon.ico
features:
- announce.dismiss
- content.code.copy
- content.action.edit
- navigation.expand
Expand Down

0 comments on commit a91106e

Please sign in to comment.