get Follow-Button label from ui-text and default to "Follow" (#496)

This commit is contained in:
Roger Schaerer 2016-09-02 14:33:54 +02:00 committed by Michael Rose
parent a718162d96
commit 0c2d3bbb9f

View file

@ -20,7 +20,7 @@
</div> </div>
<div class="author__urls-wrapper"> <div class="author__urls-wrapper">
<button class="btn btn--inverse">Follow</button> <button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
<ul class="author__urls social-icons"> <ul class="author__urls social-icons">
{% if author.location %} {% if author.location %}
<li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li> <li><i class="fa fa-fw fa-map-marker" aria-hidden="true"></i> {{ author.location }}</li>