| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/pregrados/biologia/media/gantry5/engines/nucleus/templates/content/ |
Upload File : |
{% try %}
{% if not particle %}
{% set enabled = gantry.config.get('particles.' ~ segment.type ~ '.enabled', 1) %}
{% set particle = gantry.config.getJoined('particles.' ~ segment.type, segment.attributes) %}
{% endif %}
{% set html %}
{% if enabled and (segment.attributes.enabled is null or segment.attributes.enabled) %}
{% include ['particles/' ~ segment.subtype|default('position') ~ '.html.twig',
'@particles/' ~ segment.subtype|default('position') ~ '.html.twig'] %}
{% endif %}
{% endset %}
{%- if html|trim %}
{% if gantry.debug and segment.attributes.key %}<!-- START POSITION {{ segment.attributes.key }} -->{% endif %}
<div class="g-content{{ segment.classes ? ' ' ~ segment.classes|join(' ')|e }}">
{{ html|raw }}
</div>
{% if gantry.debug and segment.attributes.key %}<!-- END POSITION {{ segment.attributes.key }} -->{% endif %}
{% endif %}
{% catch %}
<div class="alert alert-error"><strong>Error</strong> while rendering {{ segment.subtype|default('position') }}.</div>
{% endtry %}