welpo 339f818cfb 🐛 fix: remove duplicate social images; allow relative paths in socials
- Remove duplicate files in social_icons folder
- Allow relative paths in socials section (footer)
- Add more socials in default config
2023-02-04 12:56:55 +01:00

14 lines
607 B
HTML

<footer>
<section>
<nav class="socials nav-navs">
{%- if config.extra.socials %}
{% for social in config.extra.socials %}
<a rel="noopener noreferrer" target="_blank" class="nav-links social" href={{ social.url | safe | replace(from="$BASE_URL", to=config.base_url) }}>
<img alt={{ social.name }} title={{ social.name }} src="{{config.base_url}}/social_icons/{{ social.icon }}.svg">
</a>
{% endfor %}
{% endif %}
</nav>
</section>
<script src="{{ get_url(path='js/main.js', trailing_slash=false) | safe }}"/></script>
</footer>