Files
wp-bootstrap/views/base.html.twig
magdev 77778860ab
All checks were successful
Create Release Package / PHP Lint (push) Successful in 1m13s
Create Release Package / Build Release (push) Successful in 1m56s
feat: offcanvas mobile navigation with user avatar and admin bar fix (v1.0.11)
Switch mobile nav from collapse to offcanvas, add logged-in user avatar
and My Account link to offcanvas header, move dark mode toggle to
offcanvas footer. Fix admin bar overlapping offcanvas via inline CSS.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 21:38:42 +01:00

29 lines
762 B
Twig

<!doctype html>
<html {{ language_attributes() }}>
<head>
<meta charset="{{ charset }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ wp_head() }}
</head>
<body {{ body_class() }}>
{{ wp_body_open() }}
<a class="wp-bootstrap-skip-link" href="#main-content">{{ __('Skip to main content') }}</a>
{% block header %}
{% include 'partials/header-offcanvas.html.twig' %}
{% endblock %}
<main id="main-content" class="{% block main_class %}py-4{% endblock %}">
{% block content %}{% endblock %}
</main>
{% block footer %}
{# block_template_part('footer') #}
{% include 'partials/footer-columns.html.twig' %}
{% endblock %}
{{ wp_footer() }}
</body>
</html>