Metahkg Docs
Customize
Visit Metahkg Docs on GitLab
Set theme to dark (⇧+D)

Syntax

Types

interface Category {
    id: number, // integer
    name: string,
    hidden?: boolean
}

Hidden

See hide for more information.

If you hide a category:

And if the user is not signed in:

  • they cannot view the content of its posts
  • it is hidden in the sidebar
  • they cannot directly query the list of posts in the category
  • they can find the posts in search, but cannot view the comments

Example

{
    id: 8, // id is 8
    name: "Adult",
    hidden: true // category is hidden
}