Description

Creates a content area

Usage

as element:
<layout:logo
       [image="{string}"]
       [image-link="{string}"]
       [height="{string}"]
       [width="{string}"]
       [alt="{string}"]>
</layout:logo>

Parameters

ParamTypeDetails
image (optional)stringThe URL of the image to display.
image-link (optional)stringThe URL to redirect to when the image is click. Default: ’/‘.
height (optional)stringThe height of the logo in px.
width (optional)stringThe width of the logo in px.
alt (optional)stringThe alternative text if the image cannot be displayed.

Example

Source

<layout:logo image-link="https://twigkit.com" image="//static1.squarespace.com/static/53da228ce4b052fe60de3a3c/t/548af226e4b0dd3cb0252f2b/1466005538473/?format=1500w" height="34px" alt="Logo"></layout:logo>

Result

Result