Custom Landing Page
You can set up a custom HTML page to load instead of the first document - which is the default option when the docs site loads.
To change the landing page option follow the next steps:
- Click on the Space you want to add a custom HTML landing page.
- Look for the icon gear ⚙️ and click on it.
- In the Space Settings window, go to the Landing Page tab.
- Select Custom HTML.
- Add your HTML & CSS code and click Save.
The Custom HTML supports Handlebars and Tailwind. You can interpolate some variables in the HTML template.
Here is the object that we pass to the template; you can render any of these variables:
First level variables
This is an example html for rendering custom html in the landing page:
For a structure like this and an uploaded logo:
You should see something like this, with the above code:
Updated 31 Jan 2023
Did this page help you?