2
0
mirror of https://github.com/codl/forget synced 2024-12-11 07:56:45 +01:00
forget-cancellare-vecchi-toot/templates/lib/layout.html
2017-08-24 15:40:03 +02:00

37 lines
1.4 KiB
HTML

<!doctype html>
<html lang=en prefix='og: http://ogp.me/ns#'>
<head>
<title>Forget</title>
<link rel='stylesheet' href='{{ st("styles.css") }}' />
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='icon' href='{{ st("icon.png") }}' />
<meta name='og:title' content='Forget'/>
<meta name='og:description' content='Let your old bad posts be forgotten'/>
<meta name='og:image' content='{{ st("logotype.png", _external=True) }}'/>
<meta name='og:image:alt' content='Forget'/>
<meta name='og:type' content='website' />
<meta name='twitter:card' content='summary' />
<meta name='twitter:site:id' content='808418'/>
{% if sentry_dsn -%}
<script defer src="https://cdn.ravenjs.com/3.17.0/raven.min.js" crossorigin="anonymous"
onload="Raven.config('{{sentry_dsn}}').install()"></script>
{% endif -%}
{% block scripts %}{% endblock %}
</head>
{%- from 'lib/picture.html' import picture %}
<body>
<header>
<h1>
<a href="{{url_for('index')}}">
{{ picture(st, 'logotype', (200,400,600,800), ('webp','jpeg'), '200px', alt='forget') }}
</a>
</h1>
</header>
{% block body %}{% endblock %}
<footer>
<p>Forget <a href='{{repo_url}}'>{{version or "dev"}}</a></p>
</footer>
</body>
</html>