Update frontpage.html
This commit is contained in:
parent
1fb178c60c
commit
f23b215666
1 changed files with 1 additions and 5 deletions
|
|
@ -17,16 +17,12 @@ format: blog-index
|
|||
{% if page.callforaction.url contains 'http' %}
|
||||
{% assign url = '' %}
|
||||
{% else %}
|
||||
{% if page.callforaction.url contains 'https' %}
|
||||
{% assign url = '' %}
|
||||
{% else %}
|
||||
{% assign url = site.url %}
|
||||
{% endif %}
|
||||
{% 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="{{ page.callforaction.url }}"{% if page.callforaction.url contains 'http' %} target="_blank" {% endif %}>{{ page.callforaction.text }}</a>
|
||||
</div><!-- /.small-12.columns -->
|
||||
</div><!-- /.row -->
|
||||
{% endif %}
|
||||
|
|
|
|||
Reference in a new issue