Sha256: 367356746a81c4c6a987be10f36ece59fa142d15a0da030707e26b229c2f178e

Contents?: true

Size: 1.78 KB

Versions: 5

Compression:

Stored size: 1.78 KB

Contents

{% comment %}
 # -----------------------------------------------------------------------------
 #  ~/_includes/themes/j1/blocks/footer/boxes/contacts_box.proc
 #  Liquid PROCEDURE to create a contacts box for the footer
 #
 #  Product/Info:
 #  http://jekyll.one
 #
 #  Copyright (C) 2022 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 %}


{% comment %} Main
--------------------------------------------------------------- {% endcomment %}
<!-- [INFO   ] [j1.assets.data.footer              ] [Found ContactsBox. Process ContactsBox] --> 
<div class="col-md-{{footer_box_width_md}}"> <!-- ContactsBox -->
  <div class="heading-footer"><h2 class="notoc">{{ title }}</h2></div>
  <ul class="list-unstyled contacts">
    {% if address %}
    <li>
      <i class="radius-3x fa fa-map-marker"></i>
      <p>{{ address_1 }}</p>
      <p>{{ address_2 }}</p>
    </li>
    {% endif %}
    {% if phone %}
    <li>
      <i class="radius-3x fa fa-phone"></i>
      <p>{{ phone_1 }}</p>
      <p>{{ phone_2 }}</p>
    </li>
    {% endif %}
    {% if internet %}
    <li>
      <i class="radius-3x fa fa-globe"></i>
      <p><a href="mailto:{{ mail }}">{{ mail }}</a></p>
      <p><a href="#void">{{ www }}</a></p>
    </li>
    {% endif %}
  </ul>
</div> <!-- End ContactsBox -->

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
j1-template-2022.2.0 _includes/themes/j1/blocks/footer/boxes/contacts_box.proc
j1-template-2022.1.3 _includes/themes/j1/blocks/footer/boxes/contacts_box.proc
j1-template-2022.1.2 _includes/themes/j1/blocks/footer/boxes/contacts_box.proc
j1-template-2022.1.1 _includes/themes/j1/blocks/footer/boxes/contacts_box.proc
j1-template-2022.1.0 _includes/themes/j1/blocks/footer/boxes/contacts_box.proc