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

14 lines
373 B
Twig
Raw Permalink Normal View History

{% 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 } %}