$def with (entry) $# , mentions) $ p = entry["published"][0] $ breadcrumbs = (p.year, p.year, p.format("MM"), p.format("MMM"), $ p.format("DD"), p.format("D")) $var breadcrumbs = breadcrumbs
$ type = discover_post_type(entry) $if type == "note":
$:mkdn(entry["content"][0])
$elif type == "article":

$entry["name"][0]

$:mkdn(entry["content"][0])
$elif type == "weight":

$entry["summary"][0]

$ weight = entry["weight"][0]

$weight["num"] $weight["unit"]

$elif type == "bookmark": $ bookmark = entry["bookmark-of"][0] $var title: Bookmarked $bookmark

Bookmarked $bookmark

$elif type == "like": $ like = entry["like-of"][0] $var title: Liked $like

Liked $like

$elif type == "rsvp": $ event = entry["in-reply-to"][0] $var title: RSVP'd $entry["rsvp"] to $event["name"]

RSVP'd $entry["rsvp"] $event["name"]

$ a = entry["author"]

$a["name"][0] $entry["visibility"][0]

$# $elif type == "identification": $# $ identification = entry["identification-of"][0] $# $var title: Identified $identification["name"] $#

Identified $identification["name"]

$# $elif type == "follow": $# $ follow = entry["follow-of"][0] $# $var title: Followed $follow["name"] $#

Followed $follow["name"]

$if tx.user.is_owner: