-
Notifications
You must be signed in to change notification settings - Fork 99
/
metadata.twig
49 lines (39 loc) · 1.92 KB
/
metadata.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!-- Locale -->
<meta http-equiv="Content-Language" content="{{ config('app.locale') }}">
<!-- To the Future! -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- Meta Tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="{{ config_get('streams::distribution.name') }}"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="{{ trans(template.meta_description) }}"/>
{% block ogdata %}
<meta property="og:site_name" content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
<meta property="og:title" content="{{ template.get('og_title', trans(template.meta_title)) }}"/>
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
<meta property="og:image" content="{{ template.get('og_image') }}"/>
<meta property="og:type" content="website"/>
{% endblock %}
<title>
{{ setting_value('streams::name', config_get('streams::distribution.name')) }}
›
{{ trans(template.meta_title) }}
</title>
<!-- Favicon -->
{#{{ favicons("theme::img/favicon.png") }}#}
{# Base Theme Components #}
{{ asset_add("theme.css", "theme::scss/bootstrap/bootstrap.scss") }}
{{ asset_add("theme.css", "theme::scss/font-awesome/font-awesome.scss") }}
{# Specific Build Files #}
{{ asset_add("build.css", "theme::scss/theme/theme.scss", ["live"]) }}
{# Include Asset Collections #}
<style type="text/css">
{{ asset_inline("theme.css", ["min"]) }}
{{ asset_inline("build.css", ["parse", "min", "watch@theme::scss/theme"]) }}
</style>
{{ template.includes.render('head')|raw }}
{# Important!! #}
{{ constants() }}