Sha256: d63acaee365cbcae3fa02d2f499baf0225dc06e069d9e13f8197dba2fdbab351
Contents?: true
Size: 1.77 KB
Versions: 28
Compression:
Stored size: 1.77 KB
Contents
{% comment %} # ----------------------------------------------------------------------------- # ~/_includes/themes/j1/modules/footers/boxes/social_media_icons.proc # Liquid PROCEDURE to create a icon line (social media) for the footer # # Product/Info: # http://jekyll.one # # Copyright (C) 2019 Juergen Adams # # Licensed under the Creative Commons Attribution 3.0 Unported License. # See: http://creativecommons.org/licenses/by/3.0/. # # ----------------------------------------------------------------------------- # Test data: # liquid_var: {{ liquid_var | debug }} # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures --------------------------------------------------------------- {% endcomment %} {% comment %} Variables --------------------------------------------------------------- {% endcomment %} {% assign footer_config = include.footer_config %} {% comment %} Main --------------------------------------------------------------- {% endcomment %} <ul class="social-icons"> <!-- Social Media icons --> {% for item in footer_config %} {% for site in item.social_media %} {% if site.facebook == true %}<li><a href="{{site.href}}" data-original-title="Facebook" class="rounded-circle social_facebook"></a></li>{% endif %} {% if site.twitter == true %}<li><a href="{{site.href}}" data-original-title="Twitter" class="rounded-circle social_twitter"></a></li>{% endif %} {% if site.google-plus == true %}<li><a href="{{site.href}}" data-original-title="Goole Plus" class="rounded-circle social_googleplus"></a></li>{% endif %} {% endfor %} {% endfor %} </ul> <!-- End Social Media icons -->
Version data entries
28 entries across 28 versions & 2 rubygems