src/Front/Templates/base.html.twig line 1
<!DOCTYPE html>
<html lang="{{ app.request.locale }}" {% block htmlAttr %}{% endblock %}>
<head>
{% if meta_title is defined and meta_title %}
<title>{{ meta_title }}</title>
{% elseif page_title is defined and page_title %}
<title>{{ page_title }}</title>
{% else %}
<title>ejournals</title>
{% endif %}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<meta name="description" content="{{
meta_description is defined and meta_description ?
meta_description :
front_service.Config.readTranslation(app.request.locale, 'metaDescription')
}}">
<meta name="keywords" content="{{
meta_keywords is defined and meta_keywords ?
meta_keywords :
front_service.Config.readTranslation(app.request.locale, 'metaKeywords')
}}">
{% block meta %}{% endblock %}
{% include '@front_templates/_includes/_fb_open_graph_tags.html.twig' %}
{{ vite_entry_link_tags('styles') }}
{% if app.request.cookies.get('contrast') == 'set' %}
<link class="contrast-stylesheet" rel="stylesheet" href="{{'/build/css/contrast.css'}}">
{% endif %}
{% block beforeBody %}{% endblock %}
{% block additionalCSS %}{% endblock %}
{% if front_service.Config.additionalHeadCode %}
{{ front_service.Config.additionalHeadCode|raw }}
{% endif %}
</head>
<body class="{% block bodyClass %}{% endblock %}" id="{% block bodyId %}{% endblock %}">
{% set journal = current_journal.Journal %}
{% if journal %}
{{ lang_changer.setMain(journal) }}
{% endif %}
{% include '@front_templates/_includes/_header.html.twig' with { journal: journal } %}
{% block content %}{% endblock %}
{% include '@front_templates/_includes/_footer.html.twig' with { journal: journal } %}
{% block additionalJS %}{% endblock %}
{{ vite_entry_script_tags('scripts') }}
{% if front_service.Config.additionalBodyCode %}
{{ front_service.Config.additionalBodyCode|raw }}
{% endif %}
</body>
</html>