Difference between "page-type" and "type"

Hej! Can someone shortly explain the differences between “page-type” and “type”, or give references to where I can learn more about it? :slight_smile:
I’ve learned that I can define a “page-type” within a page’s properties. Now I found that I can define a “type” within a page’s properties, too. Within my workflow I haven’t seen any difference between the two properties yet.
As far as I understood, I can define a “type” for a block, too.
Which differences could appear later on, whether I use “page-type” or “type”? What would you recommend to use within a page’s properties and why?

There are no differences as both are custom properties. You can even name it “orange” to mean “page type” if you really want to. But whatever you choose, be consistent.

The only notable distinctions regarding properties are

  • there are the built-in ones and there are the custom ones.
    Docs on properties: https://docs.logseq.com/#/page/properties
    Docs on built-in properties: https://docs.logseq.com/#/page/built-in%20properties
    • some built-in props are hidden meaning you should not mess with them unless you’re a logseq veteran and totally knows what you’re doing
  • page properties vs block properties
    not that different honestly, except some built-in page properties have additional functions apart from being basic properties such as alias tags and icon but he difference is mainly because those are the built-in ones
    the other minor difference is when you’re querying you can target page-tags specifically
1 Like