Add a '|' to begin and end
This commit is contained in:
parent
cd99c16139
commit
c0b68f3377
1 changed files with 4 additions and 8 deletions
|
@ -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 %}
|
||||||
|
|
|
||||||
{% 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> |
|
||||||
{% if fkey != 'rss' %}
|
|
||||||
|
|
|
||||||
{% 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 %}
|
||||||
|
|
|
||||||
{% 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> |
|
||||||
{% if key != 'instagram' %}
|
|
||||||
|
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue