64 lines
2.5 KiB
HTML
64 lines
2.5 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="application-name" content="{{ app_name | capitalize }}">
|
||
|
<meta name="referrer" content="origin">
|
||
|
<meta name="darkreader-lock" content="">
|
||
|
<meta name="theme-color" content="{% if theme_color %} {{ theme_color }} {% else %} #31748f {% endif %}">
|
||
|
<meta name="theme-color-orig" content="{% if theme_color %} {{ theme_color }} {% else %} #31748f {% endif %}">
|
||
|
<meta name="twitter:card" content="summary">
|
||
|
<meta name="og:site_name" content="{{ instance_name }}">
|
||
|
<title>{{ title | capitalize }}</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
|
||
|
<link rel="icon" href="/favicon.ico?{{ timestamp }}">
|
||
|
<link rel="manifest" href="/manifest.json?{{ timestamp }}">
|
||
|
<link rel="prefetch" href="/static-assets/badges/info.png?{{ timestamp }}">
|
||
|
<link rel="prefetch" href="/static-assets/badges/not-found.png?{{ timestamp }}">
|
||
|
<link rel="prefetch" href="/static-assets/badges/error.png?{{ timestamp }}">
|
||
|
<link rel="stylesheet" href="/static-assets/instance.css?{{ timestamp }}">
|
||
|
<link rel="modulepreload" href="/assets/{{ client_entry.file }}">
|
||
|
|
||
|
{% for css in client_entry.css %}
|
||
|
<link rel="stylesheet" href="assets/{{ css }}">
|
||
|
{% endfor %}
|
||
|
|
||
|
<meta name="description" content="{% if description %}{{ description }}{% else %}Calckey Magnetar, an open source social media platform{% endif %}">
|
||
|
|
||
|
{% if not robots %}
|
||
|
<meta name="robots" content="noindex">
|
||
|
{% endif %}
|
||
|
|
||
|
<meta name="og:title" content="{{ title | capitalize }}">
|
||
|
<meta name="og:description" content="{% if description %}{{ description }}{% else %}Calckey Magnetar, an open source social media platform{% endif %}">
|
||
|
<meta name="og:image" content="{% if image %}{{ image }}{% else %}/static-assets/favicon.png{% endif %}">
|
||
|
<meta name="og:image:alt" content="{% if image_alt %}{{ image_alt }}{% else %}The instance's logo{% endif %}">
|
||
|
|
||
|
<style>
|
||
|
{{ style_css | safe }}
|
||
|
</style>
|
||
|
|
||
|
<script>
|
||
|
var VERSION = "{{ version }}";
|
||
|
var CLIENT_ENTRY = "{{ client_entry.file }}";
|
||
|
var LANGS = ["en-US"];
|
||
|
var _HOST = "{{ instance_host }}";
|
||
|
|
||
|
{% if base_url %}
|
||
|
var _REMOTE_URL = "{{ base_url | safe }}";
|
||
|
{% endif %}
|
||
|
</script>
|
||
|
|
||
|
<script>
|
||
|
{{ boot_js | safe }}
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<noscript>
|
||
|
Please turn on JavaScript to run {{ title | capitalize }}.
|
||
|
</noscript>
|
||
|
<div class="content">
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|