{{card_title}}
{{card_tagline}}
{{card_text}}
--- regenerate: true --- {% capture cache %} {% comment %} # ----------------------------------------------------------------------------- # ~/assets/data/panels.html # HTML (data) file for to generate all panel configured for (fragmented) # AJAX loads (jQuery: $.load) # # Product/Info: # https://jekyll-one.com # # Copyright (C) 2019 Juergen Adams # # J1 Template is licensed under the MIT License. # See: https://github.com/jekyll-one/j1_template_mde/blob/master/LICENSE # # ----------------------------------------------------------------------------- # Test data: # {{variable | debug}} # # ----------------------------------------------------------------------------- {% endcomment %} {% comment %} Liquid procedures --------------------------------------------------------------- {% endcomment %} {% capture select_color %}themes/{{site.template.name}}/procedures/global/select_color.proc{% endcapture %} {% capture select_icon_size %}themes/{{site.template.name}}/procedures/global/select_icon_size.proc{% endcapture %} {% capture create_bs_button %}themes/{{site.template.name}}/procedures/global/create_bs_button.proc{% endcapture %} {% capture news_box %}themes/{{site.template.name}}/modules/footers/boxes/news_box.proc{% endcapture %} {% comment %} Liquid var initialization --------------------------------------------------------------- {% endcomment %} {% assign panel_config = site.data.modules.j1_panel.panels %} {% capture panel_config_file %}~/_data/modules/panel.yml{% endcapture %} {% comment %} Main --------------------------------------------------------------- {% endcomment %} {% for items in panel_config %} {% for panels in items %} {% for panel in panels %} {% for item in panel %} {% assign key = item[0] %} {% assign value = item[1] %} {% if key == 'id' %} {% assign id = value %} {% endif %} {% if key == 'enabled' %} {% assign enabled = value %} {% endif %} {% if key == 'type' %} {% assign type = value %} {% endif %} {% if key == 'icon_family' %} {% assign icon_family = value|downcase %} {% endif %} {% if key == 'style' %} {% assign style = value %} {% endif %} {% if key == 'raised' %} {% assign raised = value %} {% endif %} {% if key == 'lane_span' %} {% assign lane_span = value %} {% endif %} {% if key == 'title' %} {% assign title = value|strip_newlines %} {% endif %} {% if key == 'tagline' %} {% assign tagline = value|strip_newlines %} {% endif %} {% if key == 'buttons' %} {% assign buttons = value %} {% endif %} {% if key == 'cards' %} {% assign cards = value %} {% endif %} {% if key == 'boxes' %} {% assign boxes = value %} {% endif %} {% endfor %} {% endfor %} {% if raised %} {% capture card_raised %}raised-z{{raised}}{% endcapture %} {% else %} {% assign card_raised = 'raised-z3' %} {% endif %} {% if icon_family == 'fontawesome' or icon_family == 'fontawesome5' or icon_family == 'fa'%} {% assign icon_family = 'fa' %} {% elsif icon_family == 'mdi' %} {% assign icon_family = 'mdi' %} {% else'%} {% assign icon_family = 'mdi' %} {% endif %} {% assign icon_size = "5x" %} {% if lane_span == 'fixed' %} {% assign container_class = 'container j1-panel-block' %} {% elsif lane_span == 'fluid' %} {% assign container_class = 'container-fluid j1-panel-block' %} {% else %} {% assign container_class = 'container j1-panel-block' %} {% endif %} {% assign row_class = 'row j1-panel-block' %} {% if style == 'flat' %} {% assign card_style = 'card-flat' %} {% else %} {% assign card_style = '' %} {% endif %}
{{card_text}}
{{card_text}}
{{card_tagline}}
{{tagline}}
{{post.excerpt}}
{{post.excerpt | truncatewords: 20}}