Django on Nostr: Firstly, defining partials: The new `{% partialdef %}` tag lets you do this. You give ...
Firstly, defining partials:
The new `{% partialdef %}` tag lets you do this. You give your template a unique name, and then anything you put inside will be the contents of the template.
{
"id":"950d821f926fa01bda6bffb9c22f6d2d7ed2539df6cd2958102886a572a9bab2",
"pubkey":"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc",
"created_at":1766145544,
"kind":1,
"tags": [
[
"p",
"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc"
],
[
"proxy",
"https://fosstodon.org/@django/115746114433749838",
"web"
],
[
"imeta",
"url https://cdn.fosstodon.org/media_attachments/files/115/746/114/327/378/800/original/831b1a48a3039ea5.png",
"m image/png"
],
[
"e",
"462cccaf7911556199de228fe2d6ff2146d846e89e8d5d34ac70374a263358b9",
"",
"root",
"fbf16dc67e762aec788c80a078effed585efa445bf222733e88db52f92f491dc"
],
[
"proxy",
"https://fosstodon.org/users/django/statuses/115746114433749838",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/django/statuses/115746114433749838",
"pink.momostr"
],
[
"-"
]
],
"content":"Firstly, defining partials:\n\nThe new `{% partialdef %}` tag lets you do this. You give your template a unique name, and then anything you put inside will be the contents of the template.\nhttps://cdn.fosstodon.org/media_attachments/files/115/746/114/327/378/800/original/831b1a48a3039ea5.png\n",
"sig":"b6af2251ae2657d2f4bcca6ef4cc73fe49fd511ed6994a5af577abc704fe3df7b819deff42fe26d39795954e80675c9f918f270bdffd7467e7fc3bc11168c57d"
}