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 %}
|
||||
<div id="footerlinks">
|
||||
{% assign footerlinks = site.data.footer-links %}
|
||||
|
|
||||
{% for footerlink in footerlinks %}
|
||||
{% assign fkey = footerlink | first %}
|
||||
<a href="{{footerlinks[fkey].href}}" title="{{footerlinks[fkey].title}}">{{footerlinks[fkey].title}}</a>
|
||||
{% if fkey != 'rss' %}
|
||||
|
|
||||
{% endif %}
|
||||
<a href="{{footerlinks[fkey].href}}" title="{{footerlinks[fkey].title}}">{{footerlinks[fkey].title}}</a> |
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if site.data.social-media %}
|
||||
<div id="social-media">
|
||||
{% assign sm = site.data.social-media %}
|
||||
|
|
||||
{% for entry in sm %}
|
||||
{% assign key = entry | first %}
|
||||
{% if sm[key].id %}
|
||||
<a href="{{sm[key].href}}{{sm[key].id}}" title="{{sm[key].title}}" rel="nofollow">{{sm[key].link}}</a>
|
||||
{% if key != 'instagram' %}
|
||||
|
|
||||
{% endif %}
|
||||
<a href="{{sm[key].href}}{{sm[key].id}}" title="{{sm[key].title}}" rel="nofollow">{{sm[key].link}}</a> |
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue