Skip to content
Snippets Groups Projects
Commit dba9e071 authored by Lily Yan's avatar Lily Yan
Browse files

ISTWCMS-3711 Create anchor link block

parent 62b4eb88
No related branches found
No related tags found
Loading
.uw-anchor {
width: 100%;
&__url {
text-align: center;
}
}
---
el: .uw-anchor
title: Anchor link
---
__Variables:__
* anchor_link: [array] Variables for anchor link.
* anchor: [string] Anchor element.
* anchor_url: [string] Current page url for anchor element.
\ No newline at end of file
<div class="uw-anchor">
{% if anchor_link.anchor %}
<a href="{{ anchor_link.url ~ anchor_link.anchor }}" class="uw-anchor__url">
Click here
</a>
{% endif %}
</div>
\ No newline at end of file
anchor_link:
anchor: 'caption-image-link'
url: 'https://d8/fdsu4/#'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment