Visit UNICEF Global
This how-to article explains how to create a new category in the Open Source Inventory.
Create a new folder in the content/ directory.
content/
Create a _index.en.adoc page in the new directory (see template).
_index.en.adoc
Add the category to config.yml as a child to [[menu.main]]. See other categories in the config as an example.
config.yml
[[menu.main]]
Use this base template for the front-matter of a new index page:
1 2 3 4 5 6 7
--- title: "Pretty name" icon: "ti-layout-width-default-alt" description: "Subtitle to describe your category." type: "docs" ---
The icon used in the index file comes from the Themify Icons set. The name of an icon must match the name of an icon appearing on this list.
Updated on 08 Aug 2024