Add localized labels for "website" and "email" author sidebar
This commit is contained in:
parent
d0a29ff4b4
commit
646454db24
2 changed files with 4 additions and 2 deletions
|
@ -22,6 +22,8 @@ en: &DEFAULT_EN
|
||||||
follow_label : "Follow:"
|
follow_label : "Follow:"
|
||||||
feed_label : "Feed"
|
feed_label : "Feed"
|
||||||
powered_by : "Powered by"
|
powered_by : "Powered by"
|
||||||
|
website_label : "Website"
|
||||||
|
email_label : "Email"
|
||||||
en_US:
|
en_US:
|
||||||
<<: *DEFAULT_EN
|
<<: *DEFAULT_EN
|
||||||
en_UK:
|
en_UK:
|
||||||
|
|
|
@ -21,10 +21,10 @@
|
||||||
<button class="btn btn--inverse btn--small">Follow</button>
|
<button class="btn btn--inverse btn--small">Follow</button>
|
||||||
<ul class="author__urls social-icons">
|
<ul class="author__urls social-icons">
|
||||||
{% if author.uri %}
|
{% if author.uri %}
|
||||||
<li><a href="{{ author.uri }}" target="_blank"><i class="fa fa-fw fa-globe"></i>Website</a></li>
|
<li><a href="{{ author.uri }}" target="_blank"><i class="fa fa-fw fa-globe"></i> {{ site.data.ui-text[site.locale].website_label }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.email %}
|
{% if author.email %}
|
||||||
<li><a href="mailto:{{ author.email }}" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> Email</a></li>
|
<li><a href="mailto:{{ author.email }}" target="_blank"><i class="fa fa-fw fa-envelope-square"></i> {{ site.data.ui-text[site.locale].email_label }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.twitter %}
|
{% if author.twitter %}
|
||||||
<li><a href="http://twitter.com/{{ author.twitter }}" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a></li>
|
<li><a href="http://twitter.com/{{ author.twitter }}" target="_blank"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a></li>
|
||||||
|
|
Loading…
Reference in a new issue