Skip to content

Conversation

@Lendemor
Copy link
Contributor

@Lendemor Lendemor commented Sep 24, 2024

With this PR, we can now use SVG icon as favicon.

Example below:

favicon = rx.el.link(
    rel="icon",
    href="/cloud.svg",
    type="image/svg+xml",
)

@rx.page( meta=[favicon])
def index():
    return rx.text("Foo")

Closes #3887

@adhami3310 adhami3310 merged commit 46be46d into main Sep 25, 2024
@masenf masenf deleted the lendemor/allow_link_as_metatags branch December 12, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support SVG favicon

4 participants