func Append
crossing ActionAppend adds to the end of a slot, creating it when absent, for bodies too large for one transaction.
Package home is zôÖma's profile page on gno.land.
Package home is zôÖma's profile page on gno.land.
gnoweb renders a profile by calling Render("") on the realm at exactly /r/<namespace>/home, so this path carries no /vN suffix.
The page is assembled from SLOTS: named markdown fragments, one Set transaction each. The slot named "layout" is the template; every :slug: placeholder in it is replaced by the slot of that name, in a single pass. init seeds every slot from content.gno, so the page is complete the block it goes live and later edits are data, not redeploys.
One thing on this page is not written by its owner: visitors can send a heart (<3), one per address, and the page counts them.
Append adds to the end of a slot, creating it when absent, for bodies too large for one transaction.
Delete removes a slot. Deleting "layout" falls back to the built-in layout.
DeleteGallery removes a gallery.
Get returns a slot body, or "" when the slot does not exist.
HasHeart reports whether addr already sent a <3.
Heart records one <3 from the caller. Each address can send exactly one.
Hearts returns how many distinct addresses sent a <3.
Revision is the total number of slot writes accepted.
Set creates or replaces one slot.
SetGallery replaces a whole gallery from its line format.