2018-10-08 19:30:37 +02:00
|
|
|
{% set theme = user.settings.theme|default(config('theme')) %}
|
2018-08-26 02:54:52 +02:00
|
|
|
<!DOCTYPE html>
|
2018-09-10 14:40:33 +02:00
|
|
|
<html lang="{{ session_get('locale')|split('_')[0]|escape('html_attr') }}">
|
2018-08-26 02:54:52 +02:00
|
|
|
<head>
|
|
|
|
{% block head %}
|
2018-10-05 15:35:14 +02:00
|
|
|
<title>{% block title %}{{ title }}{% endblock %} - {{ config('app_name') }}</title>
|
2018-09-10 14:40:33 +02:00
|
|
|
|
2018-08-26 02:54:52 +02:00
|
|
|
<meta charset="UTF-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-09-03 16:33:13 +02:00
|
|
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
2018-09-10 14:40:33 +02:00
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ asset('assets/theme' ~ theme ~ '.css') }}"/>
|
|
|
|
<script type="text/javascript" src="{{ asset('assets/vendor.js') }}"></script>
|
|
|
|
|
2018-09-23 19:13:19 +02:00
|
|
|
{% if page() in ['news', 'user-meetings', '/'] and is_user() -%}
|
|
|
|
{% set parameters = {'key': user.api_key} -%}
|
|
|
|
{% if page() == 'user-meetings' -%}
|
|
|
|
{% set parameters = parameters|merge({'meetings': 1}) -%}
|
|
|
|
{% endif %}
|
|
|
|
<link href="{{ url('atom', parameters) }}" type="application/atom+xml" rel="alternate" title="Atom Feed">
|
2018-08-26 12:23:47 +02:00
|
|
|
{% endif %}
|
2018-09-10 14:40:33 +02:00
|
|
|
|
2018-08-26 02:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
{% 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">
|
2018-09-23 19:13:19 +02:00
|
|
|
<div class="row" id="content">
|
|
|
|
{% block content %}
|
|
|
|
{{ content|raw }}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
2018-08-26 02:54:52 +02:00
|
|
|
<div class="row" id="footer">
|
|
|
|
{% block footer %}
|
2018-09-23 19:13:19 +02:00
|
|
|
{% include "layouts/parts/footer.twig" %}
|
2018-08-26 02:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-23 19:13:19 +02:00
|
|
|
|
|
|
|
{% block scripts %}{% endblock %}
|
2018-08-26 02:54:52 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|