Body Merge Codes

Here are the available template merge codes for use in Customize > Style (HTML & CSS) > Custom HTML > Body. All merge codes except "contents" will also work inside articles.

Template merge code
Description
Example
[template("project-logo")]
The image you uploaded under Customize > Style (HTML & CSS) > Logo. You can change the logo there or by replacing the original file in your library. Knowledge Base Logo
[template("project-name")]
The knowledge base name from KB settings > Basic. KnowledgeOwl Support
[template("contact")]
A "Contact Us" link to your contact form if you have this feature enabled. Make changes to the form in Customize > Contact form. You can also customize your contact form link or add it to the table of contents. Contact Us
[template("searchbar")]
A search bar with placeholder text. You can Change your search bar placeholder.
[template("contents")]
The contents of the current page whether that is the homepage, the contact form, or an article. This merge code doesn't work within articles. If it did, it would create an infinite loop of loading content inside of content. It might be fun to see, but it would break KnowledgeOwl horribly.
[template("is-editor-check")]
Checks if the current viewer is an author. Returns a "true" value if the viewer is an author and a "false" value if they are not. Generally used for API snippets. true