Skip to content

Commit

Permalink
add link on CTA on slider
Browse files Browse the repository at this point in the history
  • Loading branch information
marykatefain committed Nov 23, 2020
1 parent d7c0d91 commit e63fb93
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions project_tier/templates/blocks/multi_slider_section.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ <h3 id="{{slide.value.headline|slugify}}" data-magellan-target="{{slide|slugify}
</div>
{% endif %}

{% if slide.value.paragraph %}
<button class="split_banner_section__button fade">
{{slide.value.CTA.text}}
</button>
{% if slide.value.CTA.link %}
<a href="{{slide.value.CTA.link}}">
<button class="split_banner_section__button fade">
{{slide.value.CTA.text}}
</button>
</a>
{% endif %}
</div>
</div>
Expand Down

0 comments on commit e63fb93

Please sign in to comment.