Skip to content

Commit

Permalink
favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-Flath committed Dec 28, 2024
1 parent 71a4307 commit 39647c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added docs/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pathlib import Path

# Setup the app
app,rt = fast_app(pico=False, hdrs=(*Theme.blue.headers(),*hjs))
app,rt = fast_app(pico=False, hdrs=(*Theme.blue.headers(),*hjs, Link(rel="icon", type="image/x-icon", href="/favicon.ico")))

def is_htmx(request=None):
"Check if the request is an HTMX request"
Expand Down

0 comments on commit 39647c2

Please sign in to comment.