webseite-grav/plugins/admin/themes/grav/templates/partials/theme.html.twig

14 lines
377 B
Twig
Raw Permalink Normal View History

2021-04-30 11:23:26 +02:00
{% set theme = admin.themes[admin.route] %}
{% set blueprints = theme.blueprints() %}
<h1>
{{ blueprints.get('name')|e }}
<small>{{ blueprints.get('version') ? 'v' ~ blueprints.get('version')|e }}</small>
</h1>
{% include 'partials/messages.html.twig' %}
<p>{{ blueprints.get('description') }}</p>
{% include 'partials/blueprints.html.twig' with { data: theme } %}