🐛 fix(footer): allow showing only email/feed icons

Fixes #312
main
welpo 9 months ago
parent 1894d550bc
commit aef49bb225
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -11,7 +11,7 @@
<footer> <footer>
<section> <section>
<nav class="socials nav-navs"> <nav class="socials nav-navs">
{%- if config.extra.socials %} {%- if config.extra.socials or config.extra.email %}
<ul> <ul>
{%- if config.generate_feed and config.extra.feed_icon -%} {%- if config.generate_feed and config.extra.feed_icon -%}
<li> <li>
@ -48,6 +48,7 @@
</li> </li>
{%- endif -%} {%- endif -%}
{%- if config.extra.socials %}
{% 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 }}>
@ -55,6 +56,7 @@
</a> </a>
</li> </li>
{% endfor %} {% endfor %}
{% endif %}
</ul> </ul>
{% endif %} {% endif %}
</nav> </nav>

Loading…
Cancel
Save