Skip to content

Commit a40fa35

Browse files
authored
Add dismissible announce bar to docs site (#3004)
* Add dismissible announce bar to docs site * Update announce bar text * Update announce bar wording
1 parent 39da9dd commit a40fa35

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

overrides/main.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% extends "base.html" %}
2+
3+
{% block announce %}
4+
📣 💼 Maintainer update: I'm open to opportunities.
5+
<a href="https://koxudaxi.dev/?utm_source=dm-docs&utm_medium=announce&utm_campaign=open_to_work"
6+
target="_blank" rel="noopener">
7+
🔗 koxudaxi.dev
8+
</a>
9+
{% endblock %}

zensical.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ nav = [
7070
]
7171

7272
[project.theme]
73+
custom_dir = "overrides"
7374
features = [
7475
"content.code.copy",
7576
"content.code.annotate",
@@ -80,7 +81,8 @@ features = [
8081
"navigation.expand",
8182
"search.highlight",
8283
"search.share",
83-
"toc.follow"
84+
"toc.follow",
85+
"announce.dismiss"
8486
]
8587

8688
[project.theme.icon]

0 commit comments

Comments
 (0)