forked from corona-warn-app/cwa-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.html
executable file
·58 lines (56 loc) · 2.49 KB
/
default.html
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
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html class="no-js" lang="{{#unless lang_de}}en{{/unless}}{{#if lang_de}}de{{/if}}">
<head>
<meta charset="utf-8" />
<meta name="description" content="{{#if page-description}}{{page-description}}{{/if}}" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{#ifequal page-name 'analysis'}}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' *.coronawarn.app; img-src 'self' *.coronawarn.app data:; connect-src 'self' https://obs.eu-de.otc.t-systems.com/" />
{{else}}
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval' *.coronawarn.app; img-src 'self' *.coronawarn.app data:" />
{{/ifequal}}
<meta name="referrer" content="no-referrer" />
{{#if global.favicon}}
{{> favicon favicon=global.favicon}}
{{/if}}
<meta property="og:title" content="{{page-title}}" />
<meta property="og:description" content="{{#if page-description}}{{page-description}}{{/if}}" />
<meta property="og:image" content="https://www.coronawarn.app/assets/img/icons/preview-icon.png" />
<link rel="stylesheet" href="{{root}}assets/css/style.css" />
<title>{{page-title}}</title>
</head>
<body class="{{#unless @root.page-name}}{{#ifpage 'index'}}page-home{{/ifpage}}{{/unless}}{{#if @root.page-name}}page-{{@root.page-name}}{{/if}}">
{{!-- Pages you create in the src/pages/ folder are inserted here when the
flattened page is created. --}}
{{> header}}
<main class="main-content" role="main">
{{> body}}
</main>
{{#unless lang_de}}
{{> footer language=global.lang.en}}
{{/unless}}
{{#if lang_de}}
{{> footer language=global.lang.de}}
{{/if}}
<script src="{{root}}assets/js/app.js"></script>
{{#if lightbox}}
<script src="{{root}}assets/js/lightbox.min.js"></script>
{{/if}}
{{#if store-redirect}}
<script src="{{root}}assets/js/static/store-redirect.js"></script>
{{/if}}
{{#if eventregistration_js}}
<script src="{{root}}assets/js/eventregistration.js"></script>
{{/if}}
{{#if is_screenshots}}
<script src="{{root}}assets/js/screenshots.js"></script>
{{/if}}
{{#if screenshotsarchive}}
<script src="{{root}}assets/js/screenshots.js"></script>
{{/if}}
{{#ifequal page-name 'analysis'}}
<script src="{{root}}assets/js/cwaa.js"></script>
{{/ifequal}}
</body>
</html>