mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-18 18:33:42 +00:00
24 lines
648 B
Plaintext
24 lines
648 B
Plaintext
{%- if theme.follow_me %}
|
|
|
|
<div class="followme">
|
|
<span>{{ __('follow_me.welcome') }}</span>
|
|
|
|
<div class="social-list">
|
|
{%- for name, value in theme.follow_me %}
|
|
{%- set link = value.split('||')[0] | trim %}
|
|
{%- set icon = value.split('||')[1] | trim if value.split('||')[1] else '' %}
|
|
|
|
<div class="social-item">
|
|
<a target="_blank" class="social-link" href="{{ link }}">
|
|
<span class="icon">
|
|
<i class="{{ icon }}"></i>
|
|
</span>
|
|
|
|
<span class="label">{{ name }}</span>
|
|
</a>
|
|
</div>
|
|
{%- endfor %}
|
|
</div>
|
|
</div>
|
|
{%- endif %}
|