Skip to content

Commit

Permalink
Add announcement bar
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua committed Dec 22, 2023
1 parent 2c38b2b commit ec3cb62
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends "base.html" %}

{% block announce %}
<!-- Add announcement here, including arbitrary HTML -->
To support Satchel and it's development, please consider <a href="https://patreon.com/RyanLuu">becoming a patron</a>.
{% endblock %}
File renamed without changes.
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ copyright: Copyright &copy; Ryan Luu

theme:
name: material
custom_dir: overrides
custom_dir: docs/overrides
language: en
# logo: https://raw.githubusercontent.com/RyanLua/Satchel/main/assets/IconOn.png
# favicon: https://raw.githubusercontent.com/RyanLua/Satchel/main/assets/IconOn.png
Expand All @@ -31,6 +31,8 @@ theme:
- navigation.footer
- content.action.edit
- content.action.view
- header.autohide
- announce.dismiss
# - toc.integrate

palette:
Expand Down

0 comments on commit ec3cb62

Please sign in to comment.