Skip to content

Commit

Permalink
fix: Update HeadLinkAttrs options
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldedik committed Jun 8, 2024
1 parent 9580801 commit d920809
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ludic/attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,10 @@ class ScriptAttrs(HtmlAttrs, total=False):

class HeadLinkAttrs(HtmlAttrs, total=False):
type: str
rel: Literal["canonical", "alternate", "stylesheet", "icon", "apple-touch-icon"]
crossorigin: Literal["anonymous", "use-credentials"]
rel: Literal[
"canonical", "alternate", "stylesheet", "icon", "apple-touch-icon", "preconnect"
]
crossorigin: Literal["anonymous", "use-credentials", True]
hreflang: str
href: str
integrity: str
Expand Down

0 comments on commit d920809

Please sign in to comment.