Skip to content

Commit a348a98

Browse files
committed
re-add head API
1 parent e5aba03 commit a348a98

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/source/about/changelog.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Unreleased
3232
- :issue:`832` - Fix ``html_to_vdom`` improperly ``<html>``, ``<body>``, and ``<head>``.
3333

3434
**Removed**
35-
- :issue:`832` - Removed ``idom.html.body`` and ``idom.html.head`` as they are currently unusable due to technological limitations, and thus not needed.
35+
- :issue:`832` - Removed ``idom.html.body`` as it is currently unusable due to technological limitations, and thus not needed.
3636

3737

3838
v0.41.0

src/idom/html.py

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
**Dcument metadata**
77
88
- :func:`base`
9+
- :func:`head`
910
- :func:`link`
1011
- :func:`meta`
1112
- :func:`style`
@@ -180,6 +181,7 @@ def _(*children: Any, key: Key | None = None) -> VdomDict:
180181

181182
# Dcument metadata
182183
base = make_vdom_constructor("base")
184+
head = make_vdom_constructor("head")
183185
link = make_vdom_constructor("link")
184186
meta = make_vdom_constructor("meta")
185187
style = make_vdom_constructor("style")

0 commit comments

Comments
 (0)