add title slot

This commit is contained in:
llama 2025-10-14 09:28:29 +08:00
parent 2860e628ee
commit ada0722aeb
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -24,6 +24,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
style:--container-margin="0" style:--container-margin="0"
> >
<div class="position-relative"> <div class="position-relative">
<slot name="title" />
<h1> <h1>
{title} {title}
</h1> </h1>