-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
16 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
{%- if theme.follow_me %} | ||
<div class="followme"> | ||
<span>{{ __('follow_me.welcome') }}</span> | ||
|
||
<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-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="{{ url_for(link) }}"> | ||
<span class="icon"> | ||
<i class="{{ icon }}"></i> | ||
</span> | ||
|
||
<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> | ||
<span class="label">{{ name }}</span> | ||
</a> | ||
</div> | ||
{%- endfor %} | ||
</div> | ||
{%- endif %} | ||
</div> |