-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html.twig
35 lines (34 loc) · 1.38 KB
/
layout.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{# lc = locale code #}
{% set lc = locale() %}
{# glc = generic locale code #}
{% set glc = generic_locale() %}
{% htmlcompress %}
<!DOCTYPE html>
<html lang="{{ current_locale()|slice(0, 2) }}" class="locale-process-{{ localeProcess }}">
<head>
<meta charset="utf-8"/>
<title>Slim Skeleton - CodelineRed</title>
<link href="{{ base_url() }}/css/styles.css?v=5.6.0" rel="stylesheet" type="text/css">
</head>
<body>
<header>
<h1>Slim Skeleton - CodelineRed</h1>
{% include('partial/langswitch.html.twig') %}
{% include('partial/navigation.html.twig') %}
{% include('partial/flash-message.html.twig') %}
</header>
<main>
{% block content %}{% endblock %}
</main>
<footer>
<a href="https://github.com/CodelineRed/Slim-Skeleton" target="_blank">GitHub</a>
<a href="https://packagist.org/packages/codelinered/slim-skeleton" target="_blank">Packagist</a>
<span style="margin: 0 10px;">{{ version }}</span>
</footer>
<script src="{{ base_url() }}/js/scripts.js?v=5.6.0"></script>
{% if settings.recaptcha.site and settings.recaptcha.site|length > 20 %}
<script src="https://www.google.com/recaptcha/api.js?hl={{ current_locale()|slice(0, 2) }}"></script>
{% endif %}
</body>
</html>
{% endhtmlcompress %}