adamghill on Nostr: Inspired by the syntax for importing #HTML as components in Astro ...
Published at
2024-08-24 23:38:49Event JSON
{
"id": "bed3590758c732a9d07f73a475a74df13887da296df5f131b2a442b43beaa1bd",
"pubkey": "0f79b010fb7dbf56246a0bad5d30919bcfcdad2dab83a69f4a24899eec0a10c5",
"created_at": 1724542729,
"kind": 1,
"tags": [
[
"t",
"html"
],
[
"t",
"django"
],
[
"proxy",
"https://indieweb.social/users/adamghill/statuses/113019632302049599",
"activitypub"
]
],
"content": "Inspired by the syntax for importing #HTML as components in Astro (https://m.webtoo.ls/@astro/113011012182664910) and https://django-cotton.com, I threw together a quick prototype.\n\nA custom template loader looks for Web Component-like tags and converts them into a #Django include templatetag.\n\n😇😇😇\n\nhttps://cdn.masto.host/indiewebsocial/media_attachments/files/113/019/632/007/277/750/original/5981669579ad8896.mp4",
"sig": "05ace38672c5f5d651d18b0d1f71a48701e5b90da68e5a3452dec365b22c4781173c0be99d56c5e65fae7cab0073429f393d872f376e21887a59a04d93da8aeb"
}