forked from MarseyWorld/MarseyWorld
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{%- import 'util/helpers.html' as help -%}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<script defer src="{{'js/bootstrap.js' | asset}}"></script>
|
|
<meta name="description" content="{{DESCRIPTION}}">
|
|
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline'; connect-src 'self'; object-src 'none';">
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<meta name="author" content="">
|
|
|
|
<link id="favicon" rel="icon" type="image/webp" href="{{'icon.webp' | asset_siteimg}}">
|
|
<title>Chat</title>
|
|
|
|
<style>:root{--primary:#{{v.themecolor}}}</style>
|
|
<link rel="stylesheet" href="{{'css/main.css' | asset}}">
|
|
<link rel="stylesheet" href="{{('css/'~v.theme~'.css') | asset}}">
|
|
{% if v.css %}
|
|
<style>
|
|
{{v.css | safe}}
|
|
</style>
|
|
{% endif %}
|
|
<link rel="stylesheet" href="{{'css/chat_done.css' | asset}}">
|
|
</head>
|
|
|
|
<body>
|
|
{% include "header.html" %}
|
|
<div
|
|
id="root"
|
|
data-id="{{v.id}}"
|
|
data-username="{{v.username}}"
|
|
data-admin="{{v.admin_level > 1}}"
|
|
data-censored="{{v.slurreplacer}}"
|
|
data-sitename="{{SITE_NAME}}"
|
|
data-themecolor="{{v.themecolor}}">
|
|
</div>
|
|
<script>window.global = window</script>
|
|
<script defer src="{{'js/lite-youtube.js' | asset}}"></script>
|
|
<script defer src="{{'js/chat_done.js' | asset}}"></script>
|
|
</body>
|
|
|