Sha256: cc841e6733a7dfdfe77cae0bd6b7743a9176b7cd2b4a290d242a795523fda594

Contents?: true

Size: 1.69 KB

Versions: 80

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) 2021 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

80 entries across 80 versions & 1 rubygems

Version Path
j1-template-2022.0.18 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.17 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.16 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.15 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.14 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.13 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.12 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.11 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.10 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.9 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.8 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.7 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.6 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.5 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.4 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.3 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.2 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.1 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2022.0.0 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc
j1-template-2021.3.2 _includes/themes/j1/blocks/footer/boxes/social_media_icons.proc