- Reorganize admin into admin/theme/default/ (views + assets) - Rename GuideNav to Navigation plugin (essential, protected) - Plugin assets support (SCSS/CSS) loaded after theme CSS - User roles: Admin, Content Manager, BI Manager, Site Admin - Role-based access control (RBAC) for admin routes and sidebar - Guide restructure: sub-topics in separate folders with sidebar nav - Dynamic breadcrumb for homepage and subdirectories - Fix theme path traversal (../../ -> ../) in admin.php - Fix CodeMirror mode load order (xml -> css -> js -> htmlmixed -> php) - Fix editor-toolbar.js null checks for plugin edit pages - Layout select from theme.json with live frontmatter update - Footer sticky at bottom of viewport (min-height: 100vh) - Breadcrumb color fix (var(--nav-font) -> var(--header-bg)) - Remove language switcher from guide pages - Update README.md and README.en.md - Bump version to 2.5.1
32 lines
935 B
Twig
32 lines
935 B
Twig
{% extends 'base.twig' %}
|
|
|
|
{% block title %}{{ page.title }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if sidebar_content %}
|
|
<div class="row g-0">
|
|
<aside role="complementary" aria-label="Handleiding navigatie" id="site-sidebar" class="col-lg-3 col-md-4 sidebar-column order-2 order-md-1">
|
|
<div class="sidebar h-100">
|
|
{{ sidebar_content|raw }}
|
|
</div>
|
|
</aside>
|
|
<section id="site-content" class="col-lg-9 col-md-8 content-column order-1 order-md-2">
|
|
<div class="content-wrapper p-4">
|
|
<div class="guide-content">
|
|
{{ content|raw }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{% else %}
|
|
<div class="container">
|
|
<section id="site-content" class="col-12">
|
|
<div class="content-wrapper p-4">
|
|
<div class="guide-content">
|
|
{{ content|raw }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
{% endif %}
|
|
{% endblock %} |