-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmetadata.twig
executable file
·49 lines (38 loc) · 1.91 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
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>
{{ config_get("streams::distribution.name") }} › {{ trans(template.meta_title) }}
</title>
{% block opengraph %}
<meta property="og:site_name"
content="{{ setting_value('streams::name', config_get('streams::distribution.name')) }}"/>
{#<meta property="og:image" content="{{ img('qcr.theme.qcr::img/og.png').url }}"/>#}
<meta property="og:description" content="{{ trans(template.meta_description) }}"/>
<meta property="og:title" content="{{ trans(template.meta_title) }}"/>
<meta property="og:url" content="{{ url_current() }}"/>
<meta property="og:type" content="website"/>
{% endblock %}
<!-- Favicons -->
{{ favicons("theme::img/favicon.png") }}
<!-- Bootstrap Core CSS - Uses Bootswatch Flatly Theme: http://bootswatch.com/flatly/ -->
{{ asset_add("theme.css", "theme::css/bootstrap.css") }}
<!-- Custom CSS -->
{{ asset_add("theme.css", "theme::less/freelancer.less") }}
<!-- Custom Fonts -->
{{ asset_add("theme.css", "theme::font-awesome/css/font-awesome.css", ["parse"]) }}
<link href="//fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" rel="stylesheet" type="text/css">
{{ asset_style("theme.css") }}
{% for style in asset_styles("styles.css") %}
{{ style|raw }}
{% endfor %}
{{ constants() }}
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn"t work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->