Base

<!-- Error rendering component -->
<!-- TwigException: getLang function does not exist and is not defined in the context -->
<!-- Error: TwigException: getLang function does not exist and is not defined in the context
    at /builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:156:24
    at new Promise (<anonymous>)
    at TwigAdapter.render (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/twig/src/adapter.js:134:16)
    at ComponentSource._renderVariant (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/@frctl/fractal/src/api/components/source.js:212:30)
    at _renderVariant.next (<anonymous>)
    at onFulfilled (/builds/michaelhulsman/footballrs.net/htdocs/content/themes/footballrs.net/node_modules/co/index.js:65:19) -->
{% set user = user() %}
{% set locale = app.getLocale() %}
{% set lang = getLang() %}
{% set routeName = request().route().getName() %}

<!DOCTYPE html>
<html {{ site.language_attributes }} lang="{{ lang }}" data-locale="{{ locale }}">
{% include '@partials/html-header.twig' %}
<body class="{{ body_class }}">
<header>
    <div data-vue="base" data-api="{{ route('api.' ~ lang) }}"></div>
    <div class="container">
        {% include '@molecules/headerBar/header_bar.twig' with {languageLinks:languageLinks} only %}
    </div>
</header>
<main>
    {% include '@molecules/navigation/navigation.twig' with {
        navItems: mainNav,
        activeLanguages: activeLanguages,
        languageLinks: languageLinks
    } only %}
    {% block content %}
        <p>Sorry, no content</p>
    {% endblock %}
</main>
<footer>
    {% include '@organisms/flashMessage/flash_message.twig' %}
    {% include '@partials/html-footer.twig' %}
    <div data-vue="alert" class="alert"></div>
    <div data-vue="loginLayer"
         class="login-layer"
         data-forgot-password-route="{{ route('password.request.' ~ lang) }}"
         data-registration-route="{{ route('register.' ~ lang) }}"></div>
    <div data-vue="flush"></div>
</footer>
</body>
</html>
/* No context defined. */

No notes defined.