2018-05-05 18:34:48 +02:00
|
|
|
block vars
|
|
|
|
|
2022-05-29 03:57:06 +02:00
|
|
|
block loadClientEntry
|
|
|
|
- const clientEntry = getClientEntry();
|
|
|
|
|
2016-12-28 23:49:51 +01:00
|
|
|
doctype html
|
|
|
|
|
2022-05-29 03:57:06 +02:00
|
|
|
//
|
2022-07-19 20:18:44 +02:00
|
|
|
-
|
|
|
|
___ _ _
|
|
|
|
/ __\__ _| | ___| | _____ _ _
|
|
|
|
/ / / _` | |/ __| |/ / _ \ | | |
|
2022-07-19 08:21:08 +02:00
|
|
|
/ /__| (_| | | (__| < __/ |_| |
|
|
|
|
\____/\__,_|_|\___|_|\_\___|\__, |
|
2022-07-19 20:18:44 +02:00
|
|
|
(___/
|
2022-07-19 08:21:08 +02:00
|
|
|
|
|
|
|
Thank you for using Calckey!
|
|
|
|
If you are reading this message... how about joining the development?
|
2023-01-20 01:18:17 +01:00
|
|
|
https://codeberg.org/calckey/calckey
|
2016-12-28 23:49:51 +01:00
|
|
|
|
2017-03-26 15:03:56 +02:00
|
|
|
html
|
2016-12-28 23:49:51 +01:00
|
|
|
|
2022-11-15 03:35:01 +01:00
|
|
|
- var timestamp = Date.now();
|
|
|
|
|
2016-12-28 23:49:51 +01:00
|
|
|
head
|
|
|
|
meta(charset='utf-8')
|
2022-07-19 04:00:45 +02:00
|
|
|
meta(name='application-name' content='Calckey')
|
2017-03-17 16:02:41 +01:00
|
|
|
meta(name='referrer' content='origin')
|
2022-11-15 03:35:01 +01:00
|
|
|
meta(name='darkreader-lock' content='')
|
2022-07-19 06:47:32 +02:00
|
|
|
meta(name='theme-color' content= themeColor || '#31748f')
|
|
|
|
meta(name='theme-color-orig' content= themeColor || '#31748f')
|
2022-02-02 16:51:41 +01:00
|
|
|
meta(property='twitter:card' content='summary')
|
2022-07-19 04:00:45 +02:00
|
|
|
meta(property='og:site_name' content= instanceName || 'Calckey')
|
2019-09-26 22:12:56 +02:00
|
|
|
meta(name='viewport' content='width=device-width, initial-scale=1')
|
2022-11-15 03:35:01 +01:00
|
|
|
link(rel='icon' href= icon || `/favicon.ico?${ timestamp }`)
|
|
|
|
link(rel='apple-touch-icon' href= icon || `/apple-touch-icon.png?${ timestamp }`)
|
2017-11-18 14:39:09 +01:00
|
|
|
link(rel='manifest' href='/manifest.json')
|
2022-11-15 03:35:01 +01:00
|
|
|
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 }`)
|
2022-05-29 03:58:54 +02:00
|
|
|
link(rel='modulepreload' href=`/assets/${clientEntry.file}`)
|
|
|
|
|
2022-12-18 20:03:08 +01:00
|
|
|
if Array.isArray(clientEntry.css)
|
|
|
|
each href in clientEntry.css
|
|
|
|
link(rel='stylesheet' href=`/assets/${href}`)
|
2022-05-29 03:57:06 +02:00
|
|
|
|
2018-05-05 18:34:48 +02:00
|
|
|
title
|
|
|
|
block title
|
2022-07-19 04:00:45 +02:00
|
|
|
= title || 'Calckey'
|
2018-05-05 18:34:48 +02:00
|
|
|
|
|
|
|
block desc
|
2023-01-11 19:44:05 +01:00
|
|
|
meta(name='description' content=desc || 'An open source, decentralized social media platform that\'s free forever! 🚀')
|
2018-05-05 18:34:48 +02:00
|
|
|
|
|
|
|
block meta
|
2021-08-26 05:48:57 +02:00
|
|
|
if privateMode
|
|
|
|
meta(name='robots' content='noindex')
|
2017-05-17 22:06:55 +02:00
|
|
|
|
2018-12-15 15:19:04 +01:00
|
|
|
block og
|
2023-01-11 19:44:05 +01:00
|
|
|
meta(property='og:title' content=title || 'Calckey')
|
|
|
|
meta(property='og:description' content=desc || 'An open source, decentralized social media platform that\'s free forever! 🚀')
|
|
|
|
meta(property='og:image' content=img)
|
|
|
|
meta(property='og:image:alt' content=alt || 'Pfp')
|
2018-12-15 15:19:04 +01:00
|
|
|
|
2020-12-26 02:01:32 +01:00
|
|
|
style
|
|
|
|
include ../style.css
|
2020-10-17 13:12:00 +02:00
|
|
|
|
2022-05-01 15:51:07 +02:00
|
|
|
script.
|
|
|
|
var VERSION = "#{version}";
|
2022-05-29 03:57:06 +02:00
|
|
|
var CLIENT_ENTRY = "#{clientEntry.file}";
|
2022-05-01 15:51:07 +02:00
|
|
|
|
2020-12-26 02:01:32 +01:00
|
|
|
script
|
|
|
|
include ../boot.js
|
2020-02-15 00:29:59 +01:00
|
|
|
|
2020-10-17 13:12:00 +02:00
|
|
|
body
|
2017-03-25 22:58:29 +01:00
|
|
|
noscript: p
|
|
|
|
| JavaScriptを有効にしてください
|
|
|
|
br
|
2017-12-07 15:48:46 +01:00
|
|
|
| Please turn on your JavaScript
|
2021-03-05 05:51:22 +01:00
|
|
|
div#splash
|
2022-11-15 03:35:01 +01:00
|
|
|
img#splashIcon(src= splashIcon || `/static-assets/splash.png?${ timestamp }`)
|
2022-07-19 06:47:32 +02:00
|
|
|
span#splashText
|
|
|
|
block randomMOTD
|
|
|
|
= randomMOTD
|
2022-04-11 16:11:11 +02:00
|
|
|
div#splashSpinner
|
2022-05-19 08:24:35 +02:00
|
|
|
<svg class="spinner bg" viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<g transform="matrix(1,0,0,1,12,12)">
|
|
|
|
<circle cx="64" cy="64" r="64" style="fill:none;stroke:currentColor;stroke-width:24px;"/>
|
|
|
|
</g>
|
|
|
|
</svg>
|
|
|
|
<svg class="spinner fg" viewBox="0 0 152 152" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<g transform="matrix(1,0,0,1,12,12)">
|
|
|
|
<path d="M128,64C128,28.654 99.346,0 64,0C99.346,0 128,28.654 128,64Z" style="fill:none;stroke:currentColor;stroke-width:24px;"/>
|
|
|
|
</g>
|
|
|
|
</svg>
|
2019-07-17 17:11:39 +02:00
|
|
|
block content
|