Add a '|' to begin and end

This commit is contained in:
Nico Jensen 2021-06-21 15:33:01 +02:00
parent cd99c16139
commit c0b68f3377

View file

@ -3,25 +3,21 @@
{% if site.data.footer-links %} {% if site.data.footer-links %}
<div id="footerlinks"> <div id="footerlinks">
{% assign footerlinks = site.data.footer-links %} {% assign footerlinks = site.data.footer-links %}
&nbsp;|&nbsp;
{% for footerlink in footerlinks %} {% for footerlink in footerlinks %}
{% assign fkey = footerlink | first %} {% assign fkey = footerlink | first %}
<a href="{{footerlinks[fkey].href}}" title="{{footerlinks[fkey].title}}">{{footerlinks[fkey].title}}</a> <a href="{{footerlinks[fkey].href}}" title="{{footerlinks[fkey].title}}">{{footerlinks[fkey].title}}</a>&nbsp;|&nbsp;
{% if fkey != 'rss' %}
&nbsp;|&nbsp;
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
{% if site.data.social-media %} {% if site.data.social-media %}
<div id="social-media"> <div id="social-media">
{% assign sm = site.data.social-media %} {% assign sm = site.data.social-media %}
&nbsp;|&nbsp;
{% for entry in sm %} {% for entry in sm %}
{% assign key = entry | first %} {% assign key = entry | first %}
{% if sm[key].id %} {% if sm[key].id %}
<a href="{{sm[key].href}}{{sm[key].id}}" title="{{sm[key].title}}" rel="nofollow">{{sm[key].link}}</a> <a href="{{sm[key].href}}{{sm[key].id}}" title="{{sm[key].title}}" rel="nofollow">{{sm[key].link}}</a>&nbsp;|&nbsp;
{% if key != 'instagram' %}
&nbsp;|&nbsp;
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>