mastodon.ar.al is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is my personal fediverse server.

Administered by:

Server stats:

1
active users

Aral Balkan

Coming soon to Kitten¹: the *drumroll* <kitten> tag

You’ll soon be able to specify common <head> attributes, the syntax highlighting theme, and which libraries to include (htmx, alpine, water) declaratively.

(You can still return an object from your routes or use the HEAD slot to add any custom code to the head of your pages. The advantage of the <kitten> tag method is you can use it in pages as well as in fragments/components.)

:kitten: 💕

¹ codeberg.org/kitten/app

@raymondcamden Haha, if I only knew all it took was a <kitten> tag ;)

(I’ll merge into main tomorrow after I’ve had a chance to test a bit more thoroughly and document it.)

@aral it _is_ on my queue (but i have to be honest, checking out Corel Paint is there too, it may be a while)

@raymondcamden Haha, no worries; I know all about those queues :)

@aral A word of caution regarding using product names in API elements: the backward compatibility of your tech is now tied to the branding, and the branding can’t be changed without continuing to support the old brand in the API element.

@jimfl That’s a very good point, Jim, thanks.

As cute as it would be to have a <kitten> tag, those are all aspects of a rendered page so a generic <page> tag would be more semantic, and, like you said, not tie the API to the tool. (I‘ll make sure to enshrine this as a principle in the dev guide and also keep this it in mind if I end up implementing a global namespace.)

Will update it today.

Thanks again for the feedback. Very useful and much appreciated :)