JSON Properties

Property configuration for JSON files

title

This property is used to specify the browser title for the page.

hbs

This property is used to configure the JSON data file to the Handlebar file. The Handlebar file name should be given the value.

layout

This property is used to configure a Base Template file to the page. Layout template name should be given as a value.Based on the type of requirement the corresponding layout should be used.Below are the list of template available:

  • base-hf-ja-jp.hbs - Specific to Japan
  • base-hf-rtl.hbs - Specific to rtl countries
  • base-hf.hbs
  • box-model-hf.hbs
  • rds-hf.hbs

tags

This property is used to configure the page in the Styleguide header. For example, Components

group

This property is used to categorize the components to a specific group. The name of the component should be given as a value.

subgroup

This property is used to categorize the components to a specific subgroup within the group. The name of the subgroup component should be given as a value.

initScript

This property is used to configure a JavaScript Initialization file for the component. The name of the JavaScript file should be given as a value.

botJS

This property is used to add any additional JavaScript file to the page template. The name of the JavaScript file should be given as a value.

headCSS

This property is used to add any additional CSS file to the page template. The name of the javascript file should be given as a value.

locale

This property is used to specify a locale in the URL directory path. The name of the locale should be given as value. For example: jp/ja, us/en, il/he

locale-typo

This property should be used to configure the locale suffix for a typogrpahy file. The name of the locale should be given as value. For example: jp-ja, il-he