2018-08-26 02:54:52 +02:00
|
|
|
<!DOCTYPE html>
|
2024-02-25 12:00:25 +01:00
|
|
|
<html lang="{{ session_get('locale')|split('_')[0]|escape('html_attr') }}" class="h-100">
|
2018-08-26 02:54:52 +02:00
|
|
|
<head>
|
|
|
|
{% block head %}
|
2022-11-18 16:15:09 +01:00
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}"/>
|
2018-09-10 14:40:33 +02:00
|
|
|
|
2022-11-18 16:15:09 +01:00
|
|
|
<title>{% block title %}{{ title }}{% endblock %} - {{ config('app_name') }}</title>
|
2018-09-10 14:40:33 +02:00
|
|
|
|
2022-11-18 16:15:09 +01:00
|
|
|
<link rel="icon" href="{{ asset('assets/angel.svg') }}"/>
|
2021-04-29 21:58:20 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ asset('assets/theme' ~ themeId ~ '.css') }}"/>
|
2023-02-03 22:45:46 +01:00
|
|
|
<script src="{{ asset('assets/vendor.js') }}"></script>
|
2018-09-10 14:40:33 +02:00
|
|
|
|
2020-04-20 00:01:37 +02:00
|
|
|
{% if page() in ['news', 'meetings'] and is_user() and has_permission_to('atom') -%}
|
2018-09-23 19:13:19 +02:00
|
|
|
{% set parameters = {'key': user.api_key} -%}
|
2020-04-05 16:54:45 +02:00
|
|
|
{% if page() == 'meetings' -%}
|
2021-08-05 01:00:12 +02:00
|
|
|
{% set parameters = {'meetings': 1}|merge(parameters) -%}
|
2018-09-23 19:13:19 +02:00
|
|
|
{% endif %}
|
2023-11-13 16:56:52 +01:00
|
|
|
<link href="{{ url('/atom', parameters) }}" type="application/atom+xml" rel="alternate" title="Atom Feed">
|
|
|
|
<link href="{{ url('/rss', parameters) }}" type="application/rss+xml" rel="alternate" title="RSS Feed" />
|
2023-01-28 17:08:15 +01:00
|
|
|
{%- endif %}
|
2018-09-10 14:40:33 +02:00
|
|
|
|
2018-08-26 02:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
</head>
|
2024-02-25 12:00:25 +01:00
|
|
|
<body class="d-flex flex-column h-100" data-theme_type="{{ theme.type }}">
|
2018-08-26 02:54:52 +02:00
|
|
|
|
|
|
|
{% block body %}
|
2018-09-23 19:13:19 +02:00
|
|
|
{% block header %}
|
|
|
|
{% include "layouts/parts/navbar.twig" %}
|
|
|
|
{% endblock %}
|
2018-08-26 02:54:52 +02:00
|
|
|
|
|
|
|
<div class="container-fluid">
|
2021-07-23 23:43:11 +02:00
|
|
|
<div id="content">
|
2018-09-23 19:13:19 +02:00
|
|
|
{% block content %}
|
|
|
|
{{ content|raw }}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
2024-02-25 12:00:25 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="footer" class="mt-auto">
|
|
|
|
{% block footer %}
|
|
|
|
{% include "layouts/parts/footer.twig" %}
|
|
|
|
{% endblock %}
|
2018-08-26 02:54:52 +02:00
|
|
|
</div>
|
2018-09-23 19:13:19 +02:00
|
|
|
|
|
|
|
{% block scripts %}{% endblock %}
|
2018-08-26 02:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|