I thought this example at the top of logseq.com was interesting, but offhand I don’t know how I would replicate the “Person” in Logseq. Is Jessica meant to be a page within the Person namespace? Does the Jessica page have a special title so that it shows up as “ Jessica” in links? Is there any significance to the Jessica and Intertwingled cards that show up in the middle of the screenshot?
My methodology for templates does replicate this behavior. I have a page called [[person]]
that contains the following:
:PROPERTIES:
:icon: 🫂
:type: [[person]]
:tags: template
:description:
:phone:
:email:
:template: person-page
:END:
(I use .org
files, but the same can be re-created in markdown)
Then, as the example shows, say I had a meeting with [[Jessica]]
, I add this template to that page, filling in the relevant details. The icon shows up in the sidebar and the “All Pages” view, but does not show up in-line when I tag [[Jessica]]
in the future. I think there’s a plugin that does this though?
In general in my graph, every type
is a page that contains the template for that type, so that each type has a single source of truth (and, for fun, an associated icon like above).
I think the one on the website is just an abstract representation but one could replicate the look with the plugin Full House Template, here there is the related example: Shiny `Glass Card` from Logseq landing page · stdword/logseq13-full-house-plugin · Discussion #9 · GitHub
If you just want the icon of a page (it is set using the special icon:: property and specifying an emoji as value) there is a plugin, Awesome Links, that can display it next to page references. IIRC it also has a way to assign the same icon to a class of pages.
I don’t think namespaces are involved here.