Sha256: d8a2c2c2848c67e39f5c0ce9f43e5fadd64fa393074f8c2ddbdcb0e570fecea2

Contents?: true

Size: 1.96 KB

Versions: 12

Compression:

Stored size: 1.96 KB

Contents

{% comment %}
 # -----------------------------------------------------------------------------
 # ~/_includes/templates/j1/blocks/footer/boxes/links_box.proc
 # Liquid PROCEDURE to create a LINKS box for the footer
 #
 # Product/Info:
 # http://jekyll.one
 #
 # Copyright (C) 2023, 2024 Juergen Adams
 #
 # J1 Template is licensed under the MIT License.
 # For details, see: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
 # -----------------------------------------------------------------------------
 # Test data:
 #  liquid_var:  {{ liquid_var | debug }}
 # -----------------------------------------------------------------------------
{% endcomment %}

{% comment %} Liquid procedures
-------------------------------------------------------------------------------- {% endcomment %}

{% comment %} Variables
-------------------------------------------------------------------------------- {% endcomment %}
{% assign title               = box.title %}
{% assign title_translation   = box.title_translation %}
{% assign tagline             = box.tagline %}
{% assign links               = box.links %}


{% comment %} Main
================================================================================ {% endcomment %}
<!-- [INFO   ] [links_box.proc                     ] [ place links box ] -->
<div class="col-md-{{footer_box_width_md}}">

  <h2 class="text-uppercase g-color-white-opacity-0_9 g-font-size-18 mb-0 {{title_translation}}">{{title}}</h2>
  <p class="tagline mb-0"> <large>{{tagline}}</large> </p>
  <div class="d-inline-block g-width-50 g-height-2 bg-primary mb-1"></div>

  <ul class="list-unstyled link-news">

    {% for property in links %}
      <li>
        <a class="link-no-decoration" href="{{property.link.href}}" class="{{property.link.title_translation}}" target="_blank" rel="noopener noreferrer">{{property.link.title}}</a>
        <div class="text-uppercase"><small>{{property.link.tagline}}</small></div>
      </li>
    {% endfor %}

  </ul>

</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
j1-template-2024.2.1 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.2.0 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.1.5 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.1.4 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.1.3 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.1.2 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.1.1 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.1.0 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.0.3 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.0.2 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.0.1 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc
j1-template-2024.0.0 _includes/themes/j1/procedures/blocks/footer/boxes/links_box.proc