-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcta.html
More file actions
16 lines (16 loc) · 753 Bytes
/
cta.html
File metadata and controls
16 lines (16 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!-- CTA -->
<section id="cta" class="wrapper {{ page.params.cta.background_style }} special">
<div class="inner">
<header class="major">
<h2>{{ page.params.cta.title }}</h2>
{{ page.cta.text | markdownify }}
</header>
{% if page.params.cta.actions %}
<ul class="actions special">
{% for action in page.params.cta.actions %}
<li><a href="{% if action.url | starts_with('#') %}{{ action.url }}{% else %}{{ action.url | relative_url }}{% endif %}" {{ classNames("button", {"primary": action.is_primary}, {"scrolly": action.is_scrolly}) }}>{{ action.label }}</a></li>
{% endfor %}
</ul>
{% endif %}
</div>
</section>