You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
CommonProps:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
loggedIn:
|
|
|
|
type: boolean
|
|
|
|
description: True if user is logged in, false otherwise
|
|
|
|
relative_path:
|
|
|
|
type: string
|
|
|
|
description: |
|
|
|
|
If NodeBB is installed in a subfolder this becomes the path to the forum. For example if your forum url is
|
|
|
|
`example.org/community` then relative_path will be `/community`. If your forum url is `example.com` then relative path will be an empty string.
|
|
|
|
template:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
additionalProperties:
|
|
|
|
type: object
|
|
|
|
url:
|
|
|
|
type: string
|
|
|
|
description: Base url of the current page, does not include query params
|
|
|
|
bodyClass:
|
|
|
|
type: string
|
|
|
|
description: The css class string that is appended to the body element
|
|
|
|
_header:
|
|
|
|
type: object
|
|
|
|
description: List of meta and link tags that are added to the head element
|
|
|
|
properties:
|
|
|
|
tags:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
meta:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
content:
|
|
|
|
type: string
|
|
|
|
noEscape:
|
|
|
|
type: boolean
|
|
|
|
property:
|
|
|
|
type: string
|
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- content
|
|
|
|
- noEscape
|
|
|
|
- property
|
|
|
|
link:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
rel:
|
|
|
|
type: string
|
|
|
|
type:
|
|
|
|
type: string
|
|
|
|
href:
|
|
|
|
type: string
|
|
|
|
title:
|
|
|
|
type: string
|
|
|
|
sizes:
|
|
|
|
type: string
|
|
|
|
required:
|
|
|
|
- rel
|
|
|
|
- href
|
|
|
|
- type
|
|
|
|
- sizes
|
|
|
|
widgets:
|
|
|
|
type: object
|
|
|
|
description: Rendered widgets
|
|
|
|
properties:
|
|
|
|
header:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
html:
|
|
|
|
type: string
|
|
|
|
sidebar:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
html:
|
|
|
|
type: string
|
|
|
|
footer:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
html:
|
|
|
|
type: string
|