Shortcodes

Social Networks Shortcode

Written by oxypteros

Example:

Code

{{< social LIMIT="17" >}}

Overview

Renders a minimal list of social network links with icons for major platforms.

Usage

  • The shortcode will render the menu sc_social defined in your site’s configuration file (config/_default/menus.toml).
  • You can limit the number of entries shown using the optional LIMIT parameter.
  • For more details, refer to the social menu documentation.

Parameters Reference

LIMIT
LIMIT="5" — (integer, optional)
The number of items to display from the sc_social menu.

Error Codes

liva-sc-220
Unrecognized parameter detected.
liva-sc-221
Invalid number or non integer value.
liva-sc-228
Menu sc_social is not defined.
Edit this page on Github