mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-27 02:40:32 +00:00
Add localized labels for "website" and "email" author sidebar
This commit is contained in:
parent
d0a29ff4b4
commit
646454db24
@ -22,6 +22,8 @@ en: &DEFAULT_EN
|
||||
follow_label : "Follow:"
|
||||
feed_label : "Feed"
|
||||
powered_by : "Powered by"
|
||||
website_label : "Website"
|
||||
email_label : "Email"
|
||||
en_US:
|
||||
<<: *DEFAULT_EN
|
||||
en_UK:
|
||||
|
@ -21,10 +21,10 @@
|
||||
<button class="btn btn--inverse btn--small">Follow</button>
|
||||
<ul class="author__urls social-icons">
|
||||
{% 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 %}
|
||||
{% 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 %}
|
||||
{% 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>
|
||||
|
Loading…
Reference in New Issue
Block a user