Замена иконок svg на png
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
{%- if should_show_feed -%}
|
{%- if should_show_feed -%}
|
||||||
<li>
|
<li>
|
||||||
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href="{{ get_url(path=feed_url, lang=lang, trailing_slash=false) | safe }}">
|
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }}" {{ blank_target }} href="{{ get_url(path=feed_url, lang=lang, trailing_slash=false) | safe }}">
|
||||||
<img loading="lazy" alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.svg') }}">
|
<img loading="lazy" alt="feed" title="feed" src="{{ get_url(path='/social_icons/rss.png') }}">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
{%- else -%}
|
{%- else -%}
|
||||||
<a class="nav-links no-hover-padding social" href="mailto:{{ config.extra.email | safe }}">
|
<a class="nav-links no-hover-padding social" href="mailto:{{ config.extra.email | safe }}">
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
<img loading="lazy" alt="email" title="email" src="{{ get_url(path='social_icons/email.svg') }}">
|
<img loading="lazy" alt="email" title="email" src="{{ get_url(path='social_icons/email.png') }}">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
{% for social in config.extra.socials %}
|
{% for social in config.extra.socials %}
|
||||||
<li>
|
<li>
|
||||||
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }} me" {{ blank_target }} href="{{ social.url | safe }}">
|
<a class="nav-links no-hover-padding social" rel="{{ rel_attributes }} me" {{ blank_target }} href="{{ social.url | safe }}">
|
||||||
<img loading="lazy" alt="{{ social.name }}" title="{{ social.name }}" src="{{ get_url(path='social_icons/' ~ social.icon ~ '.svg') }}">
|
<img loading="lazy" alt="{{ social.name }}" title="{{ social.name }}" src="{{ get_url(path='social_icons/' ~ social.icon ~ '.png') }}">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user