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

48 lines
2.0 KiB
HTML
Raw Normal View History

2017-08-03 16:05:28 +02:00
<!doctype html>
<html lang=en prefix='og: http://ogp.me/ns#'>
2017-08-03 16:05:28 +02:00
<head>
<title>Forget</title>
2017-08-11 16:41:31 +02:00
<link rel='stylesheet' href='{{ st("styles.css") }}' />
<meta name='viewport' content='width=device-width, initial-scale=1'>
2017-08-07 21:35:46 +02:00
<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'/>
2017-08-07 21:35:46 +02:00
<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'/>
2017-08-11 22:20:34 +02:00
{% 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 -%}
2017-08-12 01:04:22 +02:00
{% block scripts %}{% endblock %}
2017-08-03 16:05:28 +02:00
</head>
<body>
<header>
2017-08-07 21:35:46 +02:00
<h1>
<a href="{{url_for('index')}}">
2017-08-20 20:17:38 +02:00
<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>
2017-08-07 21:35:46 +02:00
</a>
</h1>
2017-08-03 16:05:28 +02:00
</header>
{% block body %}{% endblock %}
2017-08-09 11:43:16 +02:00
<footer>
<p>Forget <a href='{{repo_url}}'>{{version or "dev"}}</a></p>
2017-08-09 14:39:51 +02:00
<p>A <a href="https://twitter.com/codl">codl</a> joint</p>
2017-08-09 11:43:16 +02:00
</footer>
2017-08-03 16:05:28 +02:00
</body>
</html>