{% extends '@nucleus/partials/particle.html.twig' %} {% block stylesheets %} {% if particle.particle_title_color or particle.particle_title_fontsize or particle.title_color or particle.title_fontsize or particle.customize_content_color or particle.customize_content_fontsize or particle.meta_color or particle.meta_fontsize or (particle.navigation == 'thumbnav' and particle.thumbnav_border_width and particle.thumbnav_border_color and particle.thumbnav_border_color_hover) or particle.slide_color or particle.slide_background or particle.padding_vertical or particle.padding_horizontal or particle.slide_hover_color or particle.slide_hover_background %} {% endif %} {% endblock %} {% set attr_extra = particle.extra|attribute_array %} {% set article_settings = particle.article %} {% set filter = article_settings.filter %} {% set sort = article_settings.sort %} {% set limit = article_settings.limit %} {% set display = article_settings.display %} {# Category Finder #} {% set category_options = filter.categories ? {id: [filter.categories|split(','), 0]} : {} %} {% set categories = joomla.finder('category', category_options).published(1).language().limit(0).find() %} {# Content Finder #} {% if filter.articles %} {% set article_options = filter.articles ? {id: [filter.articles|replace(' ', '')|split(',')]} : {} %} {% set article_finder = joomla.finder('content', article_options).published(1).language() %} {% else %} {% set article_finder = joomla.finder('content').category(categories).published(1).language() %} {% endif %} {% set featured = filter.featured|default('include') %} {% if featured == 'exclude' %} {% do article_finder.featured(false) %} {% elseif featured == 'only' %} {% do article_finder.featured(true) %} {% endif %} {% set start = limit.start + max(0, ajax.start|int) %} {% do article_finder.order(sort.orderby, sort.ordering).limit(limit.total).start(start) %} {% set total = article_finder.count() %} {% set articles = article_finder.find() %} {# Set Min/Max Height #} {% set slideshow_min_height = particle.slideshow_min_height ? 'minHeight: ' ~ particle.slideshow_min_height ~ ';' %} {% set slideshow_max_height = particle.slideshow_max_height ? 'maxHeight: ' ~ particle.slideshow_max_height ~ ';' %} {# Set Viewport Slideshow #} {% if particle.slideshow_height == 'full' %} {% set slideshow_height = 'jl-height-viewport="offset-top: true; minHeight:' ~ particle.slideshow_min_height|default('300')|e ~ '"' %} {% elseif particle.slideshow_height == 'percent' %} {% set slideshow_height = 'jl-height-viewport="offset-top: true; offset-bottom: 20; minHeight:' ~ particle.slideshow_min_height|default('300')|e ~ '"' %} {% elseif particle.slideshow_height == 'section' %} {% set slideshow_height = 'jl-height-viewport="offset-top: true;offset-bottom: !section +; minHeight:' ~ particle.slideshow_min_height|default('300')|e ~ '"' %} {% endif %} {# Set Ratio #} {% set slideshow_ratio = particle.slideshow_ratio ? 'ratio: ' ~ particle.slideshow_ratio ~ ';' %} {# Set Slideshow Color #} {% set slideshow_text_color = (particle.overlay_style == 'none' and particle.slideshow_text_color != 'default') ? ' jl-' ~ particle.slideshow_text_color ~ '' %} {% set slidenav_text_color = particle.slideshow_text_color != 'default' ? ' jl-' ~ particle.slideshow_text_color ~ '' %} {# Set Title/Meta/Content Text Transform #} {% set title_text_transform = particle.title_text_transform ? ' jl-text-' ~ particle.title_text_transform|e ~ '' %} {% set meta_text_transform = particle.meta_text_transform ? ' jl-text-' ~ particle.meta_text_transform|e ~ '' %} {% set content_text_transform = particle.content_text_transform ? ' jl-text-' ~ particle.content_text_transform|e ~ '' %} {# Set Global Animation #} {% set pahorizontal %} {% if particle.pa_horizontal_start or particle.pa_horizontal_end %}x: {% if particle.pa_horizontal_start == '' %}0{% else %}{{particle.pa_horizontal_start }}{% endif %},{% if particle.pa_horizontal_end == '' %}0{% else %}{{particle.pa_horizontal_end }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pavertical %} {% if particle.pa_vertical_start or particle.pa_vertical_end %}y: {% if particle.pa_vertical_start == '' %}0{% else %}{{particle.pa_vertical_start }}{% endif %},{% if particle.pa_vertical_end == '' %}0{% else %}{{particle.pa_vertical_end }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set scale %} {% if particle.scale_start or particle.scale_end %}scale: {% if particle.scale_start == '' %}1{% else %}{{particle.scale_start / 100 }}{% endif %},{% if particle.scale_end == '' %}1{% else %} {{particle.scale_end / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set rotate %}{% if particle.rotate_start or particle.rotate_end %} rotate: {% if particle.rotate_start == '' %}0{% else %}{{particle.rotate_start}}{% endif %},{% if particle.rotate_end == '' %}0{% else %}{{particle.rotate_end}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set opacity %} {% if particle.opacity_start or particle.opacity_end %}opacity: {% if particle.opacity_start == '' %}1{% else %}{{particle.opacity_start / 100 }}{% endif %},{% if particle.opacity_end == '' %}1{% else %}{{particle.opacity_end / 100 }}{% endif %};{% endif %} {% endset %} {# Set Animation #} {% set animation %} {% if particle.animation != 'inherit' and particle.animation != 'parallax' %} jl-scrollspy="cls: jl-animation-{{particle.animation|e}};{% if particle.animation_repeat == 'enabled' %} repeat: true;{% endif %}{% if particle.animation_delay %} delay: {{particle.animation_delay|e}};{% endif %}" {% elseif particle.animation == 'parallax' %} {% if particle.pa_horizontal_start or particle.pa_horizontal_end or particle.pa_vertical_start or particle.pa_vertical_end or particle.scale_start or particle.scale_end or particle.rotate_start or particle.rotate_end or particle.opacity_start or particle.opacity_end or particle.easing or particle.pa_viewport or particle.pa_breakpoint %} jl-parallax="{{pahorizontal}}{{pavertical}}{{scale}}{{rotate}}{{opacity}}{% if particle.easing == '' %}{% else %}easing: {{ particle.easing / 100 }};{% endif %}{% if particle.pa_viewport != '' %}viewport:{{ particle.pa_viewport / 100 }};{% endif %}{% if particle.pa_breakpoint != 'always' %}media: @{{particle.pa_breakpoint|e}}{% endif %}"{% endif %} {% endif %} {% endset %} {# Set Max-Width Content #} {% set content_maxwidth %} {% if particle.g_maxwidth != 'inherit' %} jl-width-{{particle.g_maxwidth}}{% if particle.g_maxwidth_breakpoint != 'always' %}@{{particle.g_maxwidth_breakpoint}}{% endif %}{% if particle.g_maxwidth_alignment == 'left' %}{% elseif particle.g_maxwidth_alignment == 'center' %} jl-margin-auto{% else %} jl-margin-auto-left{% endif %}{% endif %} {% endset %} {# Set Particle Alignment #} {% set particle_alignment %} {% if particle.align != 'inherit' %} jl-text-{{particle.align|e}}{% if particle.breakpoint != 'always' %}@{{particle.breakpoint|e}}{% endif %}{% endif %}{% if particle.align != 'inherit' and particle.breakpoint != 'always' %}{% if particle.fallback != 'inherit' %} jl-text-{{particle.fallback|e}}{% endif %}{% endif %} {% endset %} {# Set Particle Alignment for Subnav style #} {% set subnav_alignment %} {% if particle.align != 'inherit' %} jl-flex-{{particle.align|e}}{% if particle.breakpoint != 'always' %}@{{particle.breakpoint|e}}{% endif %}{% endif %}{% if particle.align != 'inherit' and particle.breakpoint != 'always' %}{% if particle.fallback != 'inherit' %} jl-flex-{{particle.fallback|e}}{% endif %}{% endif %} {% endset %} {# set Particle Title Style #} {% set particle_title_style %} {% if particle.particle_title %} <{{particle.particle_title_element|e}} id="{{ id }}" class="g5-particle-title{% if particle.particle_title_align != 'inherit' %} jl-text-{{particle.particle_title_align|e}}{% endif %}{% if particle.particle_predefined_color != 'default' %} jl-text-{{particle.particle_predefined_color|e}}{% endif %}{% if particle.particle_title_style != 'default' %} jl-{{particle.particle_title_style|e}}{% endif %}{% if particle.particle_title_decoration != 'none' %} jl-heading-{{particle.particle_title_decoration|e}}{% endif %}"> {% if particle.particle_title_decoration == 'line' %} {{particle.particle_title|raw}} {% else %} {{particle.particle_title|raw}} {% endif %} {{particle.particle_title_element|e}}> {% endif %} {% endset %} {# Set Horizontal #} {% set pa_overlay_horizontal %} {% if particle.pa_overlay_horizontal_start or particle.pa_overlay_horizontal_end %}x: {% if particle.pa_overlay_horizontal_start == '' %}0{% else %}{{particle.pa_overlay_horizontal_start|e }}{% endif %},0,{% if particle.pa_overlay_horizontal_end == '' %}0{% else %}{{particle.pa_overlay_horizontal_end|e }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pa_overlay_vertical %} {% if particle.pa_overlay_vertical_start or particle.pa_overlay_vertical_end %}y: {% if particle.pa_overlay_vertical_start == '' %}0{% else %}{{particle.pa_overlay_vertical_start|e }}{% endif %},0,{% if particle.pa_overlay_vertical_end == '' %}0{% else %}{{particle.pa_overlay_vertical_end|e }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set pa_overlay_scale %} {% if particle.pa_overlay_scale_start or particle.pa_overlay_scale_end %}scale: {% if particle.pa_overlay_scale_start == '' %}1{% else %}{{particle.pa_overlay_scale_start|e / 100 }}{% endif %},1,{% if particle.pa_overlay_scale_end == '' %}1{% else %}{{particle.pa_overlay_scale_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set pa_overlay_rotate %}{% if particle.pa_overlay_rotate_start or particle.pa_overlay_rotate_end %} rotate: {% if particle.pa_overlay_rotate_start == '' %}0{% else %}{{particle.pa_overlay_rotate_start|e}}{% endif %},0,{% if particle.pa_overlay_rotate_end == '' %}0{% else %}{{particle.pa_overlay_rotate_end|e}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set overlay_opacity %} {% if particle.pa_overlay_opacity_start or particle.pa_overlay_opacity_end %}opacity: {% if particle.pa_overlay_opacity_start == '' %}1{% else %}{{particle.pa_overlay_opacity_start|e / 100 }}{% endif %},1,{% if particle.pa_overlay_opacity_end == '' %}1{% else %}{{particle.pa_overlay_opacity_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# set Overlay Parallax Animation #} {% set overlay_parallax_animation %} {% if particle.overlay_transition == 'parallax' %} {% if particle.pa_overlay_horizontal_start or particle.pa_overlay_horizontal_end or particle.pa_overlay_vertical_start or particle.pa_overlay_vertical_end or particle.pa_overlay_scale_start or particle.pa_overlay_scale_end or particle.pa_overlay_rotate_start or particle.pa_overlay_rotate_end or particle.pa_overlay_opacity_start or particle.pa_overlay_opacity_end %} jl-slideshow-parallax="{{pa_overlay_horizontal}}{{pa_overlay_vertical}}{{pa_overlay_scale}}{{pa_overlay_rotate}}{{overlay_opacity}}" {% endif %} {% endif %} {% endset %} {# Set Overlay Animation #} {% set overlay_animation = particle.overlay_transition != 'parallax' ? ' jl-transition-' ~ particle.overlay_transition ~ ';' %} {# Set Title Animation #} {% set pa_title_horizontal %} {% if particle.pa_title_horizontal_start or particle.pa_title_horizontal_end %}x: {% if particle.pa_title_horizontal_start == '' %}0{% else %}{{particle.pa_title_horizontal_start|e }}{% endif %},0,{% if particle.pa_title_horizontal_end == '' %}0{% else %}{{particle.pa_title_horizontal_end|e }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pa_title_vertical %} {% if particle.pa_title_vertical_start or particle.pa_title_vertical_end %}y: {% if particle.pa_title_vertical_start == '' %}0{% else %}{{particle.pa_title_vertical_start|e }}{% endif %},0,{% if particle.pa_title_vertical_end == '' %}0{% else %}{{particle.pa_title_vertical_end|e }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set pa_title_scale %} {% if particle.pa_title_scale_start or particle.pa_title_scale_end %}scale: {% if particle.pa_title_scale_start == '' %}1{% else %}{{particle.pa_title_scale_start|e / 100 }}{% endif %},1,{% if particle.pa_title_scale_end == '' %}1{% else %}{{particle.pa_title_scale_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set pa_title_rotate %}{% if particle.pa_title_rotate_start or particle.pa_title_rotate_end %} rotate: {% if particle.pa_title_rotate_start == '' %}0{% else %}{{particle.pa_title_rotate_start|e}}{% endif %},0,{% if particle.pa_title_rotate_end == '' %}0{% else %}{{particle.pa_title_rotate_end|e}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set title_opacity %} {% if particle.pa_title_opacity_start or particle.pa_title_opacity_end %}opacity: {% if particle.pa_title_opacity_start == '' %}1{% else %}{{particle.pa_title_opacity_start|e / 100 }}{% endif %},1,{% if particle.pa_title_opacity_end == '' %}1{% else %}{{particle.pa_title_opacity_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# set Title Animation #} {% set title_animation %} {% if particle.title_parallax == '1' and particle.overlay_transition == 'parallax' %} {% if particle.pa_title_horizontal_start or particle.pa_title_horizontal_end or particle.pa_title_vertical_start or particle.pa_title_vertical_end or particle.pa_title_scale_start or particle.pa_title_scale_end or particle.pa_title_rotate_start or particle.pa_title_rotate_end or particle.pa_title_opacity_start or particle.pa_title_opacity_end %} jl-slideshow-parallax="{{pa_title_horizontal}}{{pa_title_vertical}}{{pa_title_scale}}{{pa_title_rotate}}{{title_opacity}}" {% endif %}{% endif %} {% endset %} {# Set Horizontal #} {% set pa_meta_horizontal %} {% if particle.pa_meta_horizontal_start or particle.pa_meta_horizontal_end %}x: {% if particle.pa_meta_horizontal_start == '' %}0{% else %}{{particle.pa_meta_horizontal_start|e }}{% endif %},0,{% if particle.pa_meta_horizontal_end == '' %}0{% else %}{{particle.pa_meta_horizontal_end|e }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pa_meta_vertical %} {% if particle.pa_meta_vertical_start or particle.pa_meta_vertical_end %}y: {% if particle.pa_meta_vertical_start == '' %}0{% else %}{{particle.pa_meta_vertical_start|e }}{% endif %},0,{% if particle.pa_meta_vertical_end == '' %}0{% else %}{{particle.pa_meta_vertical_end|e }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set pa_meta_scale %} {% if particle.pa_meta_scale_start or particle.pa_meta_scale_end %}scale: {% if particle.pa_meta_scale_start == '' %}1{% else %}{{particle.pa_meta_scale_start|e / 100 }}{% endif %},1,{% if particle.pa_meta_scale_end == '' %}1{% else %}{{particle.pa_meta_scale_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set pa_meta_rotate %}{% if particle.pa_meta_rotate_start or particle.pa_meta_rotate_end %} rotate: {% if particle.pa_meta_rotate_start == '' %}0{% else %}{{particle.pa_meta_rotate_start|e}}{% endif %},0,{% if particle.pa_meta_rotate_end == '' %}0{% else %}{{particle.pa_meta_rotate_end|e}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set meta_opacity %} {% if particle.pa_meta_opacity_start or particle.pa_meta_opacity_end %}opacity: {% if particle.pa_meta_opacity_start == '' %}1{% else %}{{particle.pa_meta_opacity_start|e / 100 }}{% endif %},1,{% if particle.pa_meta_opacity_end == '' %}1{% else %}{{particle.pa_meta_opacity_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# set Meta Animation #} {% set meta_animation %} {% if particle.meta_parallax == '1' and particle.overlay_transition == 'parallax' %} {% if particle.pa_meta_horizontal_start or particle.pa_meta_horizontal_end or particle.pa_meta_vertical_start or particle.pa_meta_vertical_end or particle.pa_meta_scale_start or particle.pa_meta_scale_end or particle.pa_meta_rotate_start or particle.pa_meta_rotate_end or particle.pa_meta_opacity_start or particle.pa_meta_opacity_end %} jl-slideshow-parallax="{{pa_meta_horizontal}}{{pa_meta_vertical}}{{pa_meta_scale}}{{pa_meta_rotate}}{{meta_opacity}}" {% endif %}{% endif %} {% endset %} {# Set Horizontal #} {% set pa_content_horizontal %} {% if particle.pa_content_horizontal_start or particle.pa_content_horizontal_end %}x: {% if particle.pa_content_horizontal_start == '' %}0{% else %}{{particle.pa_content_horizontal_start|e }}{% endif %},0,{% if particle.pa_content_horizontal_end == '' %}0{% else %}{{particle.pa_content_horizontal_end|e }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pa_content_vertical %} {% if particle.pa_content_vertical_start or particle.pa_content_vertical_end %}y: {% if particle.pa_content_vertical_start == '' %}0{% else %}{{particle.pa_content_vertical_start|e }}{% endif %},0,{% if particle.pa_content_vertical_end == '' %}0{% else %}{{particle.pa_content_vertical_end|e }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set pa_content_scale %} {% if particle.pa_content_scale_start or particle.pa_content_scale_end %}scale: {% if particle.pa_content_scale_start == '' %}1{% else %}{{particle.pa_content_scale_start|e / 100 }}{% endif %},1,{% if particle.pa_content_scale_end == '' %}1{% else %}{{particle.pa_content_scale_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set pa_content_rotate %}{% if particle.pa_content_rotate_start or particle.pa_content_rotate_end %} rotate: {% if particle.pa_content_rotate_start == '' %}0{% else %}{{particle.pa_content_rotate_start|e}}{% endif %},0,{% if particle.pa_content_rotate_end == '' %}0{% else %}{{particle.pa_content_rotate_end|e}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set content_opacity %} {% if particle.pa_content_opacity_start or particle.pa_content_opacity_end %}opacity: {% if particle.pa_content_opacity_start == '' %}1{% else %}{{particle.pa_content_opacity_start|e / 100 }}{% endif %},1,{% if particle.pa_content_opacity_end == '' %}1{% else %}{{particle.pa_content_opacity_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# set Content Animation #} {% set content_animation %} {% if particle.content_parallax == '1' and particle.overlay_transition == 'parallax' %} {% if particle.pa_content_horizontal_start or particle.pa_content_horizontal_end or particle.pa_content_vertical_start or particle.pa_content_vertical_end or particle.pa_content_scale_start or particle.pa_content_scale_end or particle.pa_content_rotate_start or particle.pa_content_rotate_end or particle.pa_content_opacity_start or particle.pa_content_opacity_end %} jl-slideshow-parallax="{{pa_content_horizontal}}{{pa_content_vertical}}{{pa_content_scale}}{{pa_content_rotate}}{{content_opacity}}" {% endif %}{% endif %} {% endset %} {# Set Horizontal #} {% set pa_link_horizontal %} {% if particle.pa_link_horizontal_start or particle.pa_link_horizontal_end %}x: {% if particle.pa_link_horizontal_start == '' %}0{% else %}{{particle.pa_link_horizontal_start|e }}{% endif %},0,{% if particle.pa_link_horizontal_end == '' %}0{% else %}{{particle.pa_link_horizontal_end|e }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pa_link_vertical %} {% if particle.pa_link_vertical_start or particle.pa_link_vertical_end %}y: {% if particle.pa_link_vertical_start == '' %}0{% else %}{{particle.pa_link_vertical_start|e }}{% endif %},0,{% if particle.pa_link_vertical_end == '' %}0{% else %}{{particle.pa_link_vertical_end|e }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set pa_link_scale %} {% if particle.pa_link_scale_start or particle.pa_link_scale_end %}scale: {% if particle.pa_link_scale_start == '' %}1{% else %}{{particle.pa_link_scale_start|e / 100 }}{% endif %},1,{% if particle.pa_link_scale_end == '' %}1{% else %}{{particle.pa_link_scale_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set pa_link_rotate %}{% if particle.pa_link_rotate_start or particle.pa_link_rotate_end %} rotate: {% if particle.pa_link_rotate_start == '' %}0{% else %}{{particle.pa_link_rotate_start|e}}{% endif %},0,{% if particle.pa_link_rotate_end == '' %}0{% else %}{{particle.pa_link_rotate_end|e}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set link_opacity %} {% if particle.pa_link_opacity_start or particle.pa_link_opacity_end %}opacity: {% if particle.pa_link_opacity_start == '' %}1{% else %}{{particle.pa_link_opacity_start|e / 100 }}{% endif %},1,{% if particle.pa_link_opacity_end == '' %}1{% else %}{{particle.pa_link_opacity_end|e / 100 }}{% endif %};{% endif %} {% endset %} {# set Button Animation #} {% set link_animation %} {% if particle.link_parallax == '1' and particle.overlay_transition == 'parallax' %} {% if particle.pa_link_horizontal_start or particle.pa_link_horizontal_end or particle.pa_link_vertical_start or particle.pa_link_vertical_end or particle.pa_link_scale_start or particle.pa_link_scale_end or particle.pa_link_rotate_start or particle.pa_link_rotate_end or particle.pa_link_opacity_start or particle.pa_link_opacity_end %} jl-slideshow-parallax="{{pa_link_horizontal}}{{pa_link_vertical}}{{pa_link_scale}}{{pa_link_rotate}}{{link_opacity}}" {% endif %}{% endif %} {% endset %} {% set thumbnail_width = particle.thumbnail_width ? ' width="' ~ particle.thumbnail_width ~ '"' %} {% set thumbnail_height = particle.thumbnail_height ? ' height="' ~ particle.thumbnail_height ~ '"' %} {% set image_transition = particle.image_transition != 'default' ? 'animation:' ~ particle.image_transition ~ ';' %} {% set velocity = particle.velocity ? 'velocity:' ~ particle.velocity / 100 ~ ';' %} {% set slideshow_autoplay = particle.slideshow_autoplay ? 'autoplay: true;' %} {% set slideshow_interval = (particle.slideshow_autoplay and particle.slideshow_interval) ? 'autoplay-interval:' ~ particle.slideshow_interval * 1000 ~ ';' %} {% set slideshow_pause_onhover = particle.slideshow_pause_onhover == 'disabled' ? 'pauseOnHover: false;' %} {% set image_kenburns_duration = particle.image_kenburns_duration ? 'style="-webkit-animation-duration: ' ~ particle.image_kenburns_duration ~ 's; animation-duration: ' ~ particle.image_kenburns_duration ~ 's;"' %} {# Set Overlay Container/Padding/Margin #} {% if particle.overlay_container_width != 'none' %} {% set overlay_container_cls = particle.overlay_container_width != 'default' ? ' jl-container jl-container-' ~ particle.overlay_container_width|e ~ '' : ' jl-container' %} {% set overlay_container_padding_cls = particle.overlay_container_padding != 'default' ? ' jl-section-' ~ particle.overlay_container_padding|e ~ '' : ' jl-section' %} {% else %} {% if particle.overlay_margin != 'none' %} {% set overlay_margin_cls = particle.overlay_margin != 'default' ? ' jl-padding-' ~ particle.overlay_margin|e ~ '' : ' jl-padding' %} {% endif %} {% endif %} {# Set Navigation #} {% set navigation %} {% if particle.navigation != 'none' %} {% for article in articles %}