forget-cancellare-vecchi-toot/templates/lib/layout.html

48 lines
2.0 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>
<body>
<header>
<h1>
<a href="{{url_for('index')}}">
<picture>
<source type='image/webp' sizes='200px' srcset="
{%- for width in (200,400,600,800) -%}
{{ st('logotype-{}.webp'.format(width)) }} {{width}}w,
{%- endfor -%}
"/>
<img src="{{ st('logotype-200.jpeg') }}" alt="Forget" width='200px' height='144px' sizes='200px' srcset="
{%- for width in (200,400,600,800) -%}
{{ st('logotype-{}.jpeg'.format(width)) }} {{width}}w,
{%- endfor -%}
"/>
</picture>
</a>
</h1>
</header>
{% block body %}{% endblock %}
<footer>
<p>Forget <a href='{{repo_url}}'>{{version or "dev"}}</a></p>
<p>A <a href="https://twitter.com/codl">codl</a> joint</p>
</footer>
</body>
</html>