Shortcodes

Numbered List Shortcode

Written by oxypteros

Example:

Code

{{< num_list TITLE="Analysis of Forensic Evidence" STYLE="card" LIMIT="3" >}}

Overview

A numbered list of a section child pages, offering four different styles and a page limit option.

Usage

  • Designed for groups of pages that must be read in a specific order, such as book chapters or tutorial steps.
  • Use this shortcode on section pages (i.e. _index.md).

Tip: The sorting of the list is based first on weight and then by date.

Parameters Reference

TITLE
TITLE="Example title" — (string, optional)
H2 heading.
STYLE
STYLE="card-list" — (string, optional)
Rendering style: pill, list or card-list, card (default).
LIMIT
LIMIT="10" — (integer, optional)
Maximum number of items to display.

Error Codes

liva-sc-180
Unrecognized parameter detected.
liva-sc-181
Invalid number or non integer value.
Edit this page on Github