Skip to main content
  1. Snippits & Exemplars/
  2. WolfspyreLabs Exemplars/
  3. WolfspyreLabs Shortcodes/

Boxes

🐺 Boxes
Boxes can be used to create a simple grid.

This shortcode came from hugo-geekblog

Attributes #

Name Description default
size size of each box (small, regular, large) regular
icon (optional) title bar icon, need to be an icon from an SVG sprite undefined
title (optional) title bar text undefined

Usage #

{{< boxes "contact" >}}
{{<   box size=small [title=E-Mail icon=email] >}}mail@example.com{{< /box >}}
{{<   box size=large title=Matrix icon=matrix >}}@john:example.com{{< /box >}}
{{<   box size=large title=XMPP icon=xmpp >}}john@example.com{{< /box >}}
{{<   box size=large title=Others >}}You can also find us on the Fediverse.{{< /box >}}
{{< /boxes >}}

Example #

Matrix
@john:example.com
Others
You can also find us on the Fediverse.