_includes/footer.html in jekyll-theme-twenty-0.1.7 vs _includes/footer.html in jekyll-theme-twenty-0.1.8

- old
+ new

@@ -1,49 +1,49 @@ <!-- Footer --> <footer id="footer"> <ul class="icons"> - {% if site.twitter_url %} + {%- if site.twitter_url -%} <li><a href="{{ site.twitter_url }}" class="icon circle fa-twitter" target="_blank"><span class="label">Twitter</span></a></li> - {% endif %} - {% if site.facebook_url %} + {%- endif -%} + {%- if site.facebook_url -%} <li><a href="{{ site.facebook_url }}" class="icon circle fa-facebook" target="_blank"><span class="label">Facebook</span></a></li> - {% endif %} - {% if site.instagram_url %} + {%- endif -%} + {%- if site.instagram_url -%} <li><a href="{{ site.instagram_url }}" class="icon circle fa-instagram" target="_blank"><span class="label">Instagram</span></a></li> - {% endif %} - {% if site.pinterest_url %} + {%- endif -%} + {%- if site.pinterest_url -%} <li><a href="{{ site.pinterest_url }}" class="icon circle fa-pinterest" target="_blank"><span class="label">Pinterest</span></a></li> - {% endif %} - {% if site.500px_url %} + {%- endif -%} + {%- if site.500px_url -%} <li><a href="{{ site.500px_url }}" class="icon circle fa-500px" target="_blank"><span class="label">500px</span></a></li> - {% endif %} - {% if site.gitlab_url %} + {%- endif -%} + {%- if site.gitlab_url -%} <li><a href="{{ site.gitlab_url }}" class="icon circle fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li> - {% endif %} - {% if site.github_url %} + {%- endif -%} + {%- if site.github_url -%} <li><a href="{{ site.github_url }}" class="icon circle fa-github" target="_blank"><span class="label">GitHub</span></a></li> - {% endif %} - {% if site.slack_url %} + {%- endif -%} + {%- if site.slack_url -%} <li><a href="{{ site.slack_url }}" class="icon circle fa-slack" target="_blank"><span class="label">Slack</span></a></li> - {% endif %} - {% if site.discord_url %} + {%- endif -%} + {%- if site.discord_url -%} <li><a href="{{ site.discord_url }}" class="icon circle fa-discord" target="_blank"><span class="label">Discord</span></a></li> - {% endif %} - {% if site.linkedin_url %} + {%- endif -%} + {%- if site.linkedin_url -%} <li><a href="{{ site.linkedin_url }}" class="icon circle fa-linkedin" target="_blank"><span class="label">LinkedIn</span></a></li> - {% endif %} + {%- endif -%} </ul> <ul class="copyright"> <li>&copy; {{ site.title }}. All rights reserved.</li> <li>Design: <a href="http://html5up.net">HTML5 UP</a></li> <li>Jekyll integration: <a href="http://github.com/moodule" target="_blank">Moodule</a></li> - {% if site.legal_terms.url %} + {%- if site.legal_terms.url -%} <li><a href="{{ site.legal_terms.url | absolute_url }}" target="_blank">Legal Terms</a></li> - {% endif %} - {% if site.privacy_policy.url %} + {%- endif -%} + {%- if site.privacy_policy.url -%} <li><a href="{{ site.privacy_policy.url | absolute_url }}" target="_blank">Privacy Policy</a></li> - {% endif %} + {%- endif -%} </ul> -</footer> \ No newline at end of file +</footer>