biter/templates/display_tweet.html

28 lines
861 B
HTML
Raw Normal View History

2024-03-13 03:08:52 +03:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Tweet by {{ author }} - {{ title }}"
/>
<meta
property="og:title"
content="Tweet by {{ author }} - {{ title }}"
/>
<meta property="og:description" content="{{ content }}" />
{% match image %} {% when Some with (link) %}
<meta property="og:image" content="{{ link }}" />
{% match alt %} {% when Some with (text) %}
<meta property="og:image:alt" content="{{ text }}" />
{% when None %} {% endmatch %} {% when None %} {% endmatch %}
<title>Tweet by {{ author }} - {{ title }}</title>
<link rel="stylesheet" href="/static/style.css" />
<link rel="stylesheet" href="/static/tweet.css" />
</head>
<body>
{% include "tweet.html" %}
</body>
</html>