-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbase.html
81 lines (78 loc) · 3.57 KB
/
base.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="de" class="{% block extraclasses %}{% endblock %}" prefix="og: http://ogp.me/ns#">
<head>
<meta name="robots" content="noindex, nofollow">
<title>{% block title %}Stack Exchange Simulator{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if config['DEBUG'] %}
<link href="{{ url_for('static', filename='css/style.scss.css') }}" rel="stylesheet" type="text/css">
{% else %}
<link href="{{ url_for('static', filename='css/style.css') }}?hash={{ git_hash }}"
rel="stylesheet" type="text/css">
{% endif %}
<meta property="og:type" content="website"/>
<meta property="og:site_name" content="Stack Exchange Simulator"/>
<meta property="og:image:width" content="600"/>
<meta property="og:image:height" content="600"/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:site" content="@lw1_at"/>
<meta name="twitter:creator" content="@lw1_at"/>
<meta property="og:url" content="{{ request.base_url }}"/>
{% block extrameta %}{% endblock %}
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
{# tracker methods like "setCustomDimension" should be called before "trackPageView" #}
_paq.push(['enableHeartBeatTimer']);
_paq.push(['setRequestMethod', 'POST']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function () {
var u = "https://matomo.lw1.at/";
_paq.push(['setTrackerUrl', u + 'statistics.php']);
_paq.push(['setSiteId', '16']);
var d = document, g = d.createElement('script'), s = d.getElementsByTagName('script')[0];
g.type = 'text/javascript';
g.async = true;
g.defer = true;
g.src = u + 'statistics.js';
s.parentNode.insertBefore(g, s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<div class="container">
{% for message in get_flashed_messages() %}
<div class="flash">{{ message }}</div>
{% endfor %}
{% block body %}{% endblock %}
<footer>
<div><a href="https://lw1.at/i">Imprint and Privacy Policy</a></div>
<div><a href="#" id="showdisclaimer">Disclaimer</a></div>
<div><a href="https://lw1.at/" target="_blank">About me and other projects</a></div>
</footer>
</div>
<div id="infowrapper"{% if infohidden %} style="display: none"{% endif %}>
<div>
<span id="closeinfo" class="close" aria-label="Close" role="button" tabindex="1">×</span>
<p>
This site is not affiliated with Stack Exchange, Stack Overflow or any of their family of sites.
Site names and logos are © Stack Overflow Inc.
The data used to produce this page and therefore all data on this site is licensed under
<a href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons BY-SA 3.0</a>.
</p>
<p>
The content of this website shouldn't be taken too seriously as everything got randomly generated based on
original questions and answers.
</p>
<footer>
<div><a href="https://lw1.at/i">Imprint and Privacy Policy</a></div>
<div><a href="https://lw1.at/" target="_blank">About me and other projects</a></div>
</footer>
</div>
</div>
<script src="{{ url_for('static', filename='js/app.js') }}?hash={{ git_hash }}"></script>
<script src="{{ url_for('static', filename='js/awesomplete.min.js') }}?hash={{ git_hash }}"></script>
</body>
</html>