Skip to content

Commit e1a5e33

Browse files
committed
Missed something for call for action
1 parent 37f9b54 commit e1a5e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_layouts/frontpage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
{% if page.callforaction.url contains 'http' %}
4242
{% assign url = '' %}
4343
{% else %}
44-
{% assign url = site.url %}
44+
{% capture url %}{{ site.url }}{{ site.baseurl }}{% endcapture %}
4545
{% endif %}
4646
{% if page.callforaction %}
4747
<div class="row t60 b60">
4848
<div class="small-12 text-center columns">
49-
<a class="button large radius {{ page.callforaction.style }}" href="{{ url }}{{ site.baseurl }}{{ page.callforaction.url }}"{% if page.callforaction.url contains 'http' %} target="_blank" {% endif %}>{{ page.callforaction.text }}</a>
49+
<a class="button large radius {{ page.callforaction.style }}" href="{{ url }}{{ page.callforaction.url }}"{% if page.callforaction.url contains 'http' %} target="_blank" {% endif %}>{{ page.callforaction.text }}</a>
5050
</div><!-- /.small-12.columns -->
5151
</div><!-- /.row -->
5252
{% endif %}

0 commit comments

Comments
 (0)