Sha256: e48ef40a749c2dfda040e06e1a65341ffe73b1b245de659b3e9a3536e0d5eb9a

Contents?: true

Size: 1.69 KB

Versions: 26

Compression:

Stored size: 1.69 KB

Contents

{% comment %}
 # -----------------------------------------------------------------------------
 #  ~/_includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
 #  Liquid PROCEDURE to create a icon line (social media) for the footer
 #
 #  Product/Info:
 #  http://jekyll.one
 #
 #  Copyright (C) 2020 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 icons          = include.icons %}

{% comment %} Main
-------------------------------------------------------------------------------- {% endcomment %}
<!-- [INFO   ] [social_media_icons.proc            ] [ place icons configured ] -->
<ul class="social-icons">
{% for icon in icons %}
  {% assign key             = icon[0] %}
  {% assign value           = icon[1] %}
    {% if key == 'facebook' and value.enabled  %}<li><a id="footerFacebookButton" href="{{value.href}}" data-original-title="Facebook" class="rounded-circle social_facebook"></a></li>{% endif %}
    {% if key == 'twitter'  and value.enabled  %}<li><a id="footerTwitterButton" href="{{value.href}}" data-original-title="Twitter" class="rounded-circle social_twitter"></a></li>{% endif %}
{% endfor %}
</ul>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
j1-template-2021.0.0 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.25 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.24 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.22 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.21 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.20 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.19 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.18 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.17 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.16 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.15 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.14 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.13 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.12 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.11 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.10 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.9 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.8 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.7 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2020.0.6 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc