uci-hugo-doc/exampleSite/content/en/shortcodes/propertylist.md

791 B

title
Properties

The property list shortcode creates a custom HTML description list that can be used to display properties or variables and general dependent information. The shortcode requires a data file in data/properties/, e.g. data/properties/demo.yaml, where the filename must be passed to the name attribute of the property list shortcode.

{{</* propertylist name=demo */>}}

The supported attributes can be taken from the following example:

{{< include file="/data/properties/demo.yaml" language="Yaml" options="linenos=table" >}}

Example

{{< propertylist name=demo >}}