2025-2-26-fixed
This commit is contained in:
23
themes/next/layout/_partials/post/post-followme.swig
Normal file
23
themes/next/layout/_partials/post/post-followme.swig
Normal file
@ -0,0 +1,23 @@
|
||||
{%- if theme.follow_me %}
|
||||
|
||||
<div class="followme">
|
||||
<p>{{ __('follow_me.welcome') }}</p>
|
||||
|
||||
<div class="social-list">
|
||||
{%- for name, value in theme.follow_me %}
|
||||
{%- set link = value.split('||')[0] | trim %}
|
||||
{%- set icon = value.split('||')[1] | trim %}
|
||||
|
||||
<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 %}
|
||||
Reference in New Issue
Block a user