block vars
block loadClientEntry
- const clientEntry = getClientEntry();
doctype html
//
-
██████╗ ██╗██████╗ ███████╗███████╗██╗███████╗██╗ ██╗ ○ ▄ ▄
██╔════╝██║██╔══██╗██╔════╝██╔════╝██║██╔════╝██║ ██║ ⚬ █▄▄ █▄▄
█████╗ ██║██████╔╝█████╗ █████╗ ██║███████╗███████║ ▄▄▄▄▄▄ ▄
██╔══╝ ██║██╔══██╗██╔══╝ ██╔══╝ ██║╚════██║██╔══██║ █ █ █▄▄
██║ ██║██║ ██║███████╗██║ ██║███████║██║ ██║ █ ● ● █
╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ▀▄▄▄▄▄▄▀
Thank you for using Firefish!
If you're reading this message... how about helping out with development?
https://git.joinfirefish.org/firefish/firefish
html
- var timestamp = Date.now();
head
meta(charset='utf-8')
meta(name='application-name' content='Firefish')
meta(name='referrer' content='origin')
meta(name='darkreader-lock' content='')
meta(name='theme-color' content= themeColor || '#31748f')
meta(name='theme-color-orig' content= themeColor || '#31748f')
meta(property='twitter:card' content='summary')
meta(property='og:site_name' content= instanceName || 'Firefish')
meta(name='viewport' content='width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no')
link(rel='icon' href= icon || `/favicon.ico?${ timestamp }`)
link(rel='apple-touch-icon' href= icon || `/apple-touch-icon.png?${ timestamp }`)
link(rel='manifest' href='/manifest.json')
link(rel='prefetch' href=`/static-assets/badges/info.webp?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/not-found.webp?${ timestamp }`)
link(rel='prefetch' href=`/static-assets/badges/error.webp?${ timestamp }`)
link(rel='stylesheet' href=`/static-assets/instance.css?${ timestamp }`)
link(rel='modulepreload' href=`/assets/${clientEntry.file}`)
if Array.isArray(clientEntry.css)
each href in clientEntry.css
link(rel='stylesheet' href=`/assets/${href}`)
title
block title
= title || 'Firefish'
block desc
meta(name='description' content=desc || 'An open source, decentralized social media platform that\'s free forever! 🚀')
block meta
if privateMode
meta(name='robots' content='noindex')
block og
meta(property='og:title' content=title || 'Firefish')
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')
style
include ../style.css
script.
var VERSION = "#{version}";
var CLIENT_ENTRY = "#{clientEntry.file}";
script
include ../boot.js
body
noscript: p
| JavaScriptを有効にしてください
br
| Please turn on your JavaScript
div#splash
img#splashIcon(src= splashIcon || `/static-assets/splash.svg?${ timestamp }`)
span#splashText
block randomMOTD
= randomMOTD
div#splashSpinner
block content