wiki-grav/plugins/admin/themes/grav/templates/partials/theme.html.twig
2022-04-24 14:32:58 +02:00

14 lines
373 B
Twig

{% set theme = admin.themes[admin.route] %}
{% set blueprints = theme.blueprints() %}
<h1>
{{ blueprints.get('name') }}
<small>{{ blueprints.get('version') ? 'v' ~ blueprints.get('version') }}</small>
</h1>
{% include 'partials/messages.html.twig' %}
<p>{{ blueprints.get('description') }}</p>
{% include 'partials/blueprints.html.twig' with { data: theme } %}