Skip to content

Commit

Permalink
Fix bad spacing in footer (remove extra paragraph tag)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradolandia committed Feb 6, 2024
1 parent 35dc339 commit 778c513
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,13 @@
{%- if config.THEME_SETTINGS.footer_links %}
<div class="row footer-connect-line">
<div class="text-center">
<p>
Connect with us on:
{%- for footer_link in config.THEME_SETTINGS.footer_links.replace(', ', ',').split(',') %}
{%- if loop.index > 1 %}
<span class="pipe-colored">|</span>
{%- endif %}
<a href="{{ footer_link.split(': ')[1] }}"> {{ footer_link.split(': ')[0] }} </a>
{%- endfor %}
</p>
Connect with us on:
{%- for footer_link in config.THEME_SETTINGS.footer_links.replace(', ', ',').split(',') %}
{%- if loop.index > 1 %}
<span class="pipe-colored">|</span>
{%- endif %}
<a href="{{ footer_link.split(': ')[1] }}"> {{ footer_link.split(': ')[0] }} </a>
{%- endfor %}
</div>
</div>
{%- endif %}
Expand Down

0 comments on commit 778c513

Please sign in to comment.