2023-01-04 10:48:24 +00:00
|
|
|
{% define "tmpl" %}
|
2022-12-03 03:20:49 +00:00
|
|
|
<!DOCTYPE html>
|
2023-01-04 10:48:24 +00:00
|
|
|
<html>
|
2022-12-03 03:20:49 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2023-01-03 03:58:41 +00:00
|
|
|
<link rel="icon" href="/src/assets/favicon.svg">
|
2022-12-03 03:20:49 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2023-01-12 23:12:45 +00:00
|
|
|
|
2022-12-03 03:20:49 +00:00
|
|
|
<title>Audon</title>
|
2023-01-19 18:57:32 +00:00
|
|
|
<meta name="description" content="Audon: audio spaces for Mastodon.">
|
2023-01-04 10:48:24 +00:00
|
|
|
|
|
|
|
<!-- Facebook Meta Tags -->
|
|
|
|
<meta property="og:type" content="website">
|
2023-01-13 02:41:04 +00:00
|
|
|
<meta name="twitter:card" content="summary">
|
2023-01-13 01:57:22 +00:00
|
|
|
<meta property="og:site_name" content='{% printf "Audon hosted on %s" .Config.LocalDomain %}'>
|
|
|
|
<meta property="og:image" content='{% printf "https://%s/static/opengraph.80fbb63d.png" .Config.LocalDomain %}'>
|
|
|
|
<meta property="og:image:width" content='1200'>
|
|
|
|
<meta property="og:image:height" content='630'>
|
2023-01-04 10:48:24 +00:00
|
|
|
{% if .Room %}
|
|
|
|
<meta property="og:title" content='{% printf "%.60s" .Room.Title %}'>
|
|
|
|
{% if .Room.Description %}
|
|
|
|
<meta property="og:description" content='{% printf "%.150s" .Room.Description %}'>
|
|
|
|
{% else %}
|
2023-01-19 18:57:32 +00:00
|
|
|
<meta property="og:description" content='Audon: audio spaces for Mastodon'>
|
2023-01-04 10:48:24 +00:00
|
|
|
{% end %}
|
|
|
|
{% else %}
|
|
|
|
<meta property="og:title" content='Audon'>
|
2023-01-19 18:57:32 +00:00
|
|
|
<meta property="og:description" content='Audio spaces for Mastodon'>
|
2023-01-04 10:48:24 +00:00
|
|
|
{% end %}
|
2022-12-03 03:20:49 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-01-24 06:03:15 +00:00
|
|
|
<div id="app" data-version='0.2.1'></div>
|
2022-12-03 03:20:49 +00:00
|
|
|
<script type="module" src="/src/main.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|
2023-01-12 23:12:45 +00:00
|
|
|
{% end %}
|