Icon-link Example
The icon-link shortcode accepts the following parameters:
icon_library
:lsc
orbootstrap
.icon
: the name of the icon.- for LSC:
climate
,crop
,land
,soil
orwater
- for Bootstrap: please see this overview
- for LSC:
title
: the text for the hyperlinklink
: the URL for the hyperlinklink_classes
(optional): CSS classes for the hyperlink.
Examples
Bootstrap icon
This shortcode:
{{< icon-link title="Visit this website" icon_library="bootstrap" icon="box-arrow-up-right" link="https://www.lsc-hubs.org" >}}
renders to:
LSC icon
This shortcode:
{{< icon-link title="Land" icon_library="lsc" icon="land" link="https://www.lsc-hubs.org" link_classes="link-dark" >}}
renders to: