{% extends "layouts/dashboard.twig" %} {% block title %}{{ title }} - {{ platformName }}{% endblock %} {% block content %}

{{ title }}

{% if session_has('success') or current_uri matches '/success=1/' %} {% endif %}
{% for section in config.sections %}
{{ section.title }}
{% for field in section.fields %}
{% if field.type == 'color' %}
{{ field.value }}
{% elseif field.type == 'text' %} {% elseif field.type == 'switch' %}
{% elseif field.type == 'select' %} {% endif %} {% if field.description %}
{{ field.description }}
{% endif %}
{% endfor %}
{% endfor %}
Cancelar
Dica de Uso

Essas configurações são injetadas automaticamente no seu tema.

Você pode acessá-las no Twig usando:

{{ '{{ theme_settings.campo_id }}' }}

Exemplo de CSS dinâmico:
<style>
  :root {
    --primary-color: {{ '{{ theme_settings.primary_color }}' }};
  }
</style>
{% endblock %}