Skip to content

Commit

Permalink
Missed something for call for action
Browse files Browse the repository at this point in the history
  • Loading branch information
Phlow committed Nov 5, 2016
1 parent 37f9b54 commit e1a5e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _layouts/frontpage.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@
{% if page.callforaction.url contains 'http' %}
{% assign url = '' %}
{% else %}
{% assign url = site.url %}
{% capture url %}{{ site.url }}{{ site.baseurl }}{% endcapture %}
{% endif %}
{% if page.callforaction %}
<div class="row t60 b60">
<div class="small-12 text-center columns">
<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>
<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>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
{% endif %}
Expand Down

0 comments on commit e1a5e33

Please sign in to comment.