doctype html
html
head
meta(charset="UTF-8")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
block meta
- const title = t ? `${t} | Misskey Tools`: 'Misskey Tools with LycheeBridge';
- const desc = d || 'π μ°ν©μ°μ£Όμ λͺ¨λ Misskey μ¬μ©μλ₯Ό μν λ€μν λꡬ λͺ¨μμ§ π';
title= title
meta(name='description' content=desc)
meta(property='og:title' content=title)
meta(property='og:site_name' content='Misskey Tools with LycheeBridge')
meta(property='og:description' content=desc)
meta(property='og:type' content='website')
meta(property='og:image' content="https://tools.phater.live/assets/misskey.png")
link(rel="icon", href="/assets/lcb.png", type="image/png")
link(rel="preload", href="/assets/otadesign_rounded.woff")
link(rel="preload", href="/assets/otadesign_rounded.woff2")
link(rel="preload", href="/assets/PretendardJPVariable.woff2")
script(src='https://kit.fontawesome.com/6430ad0e29.js' crossorigin='anonymous')
link(rel="stylesheet", href="/assets/style.css")
body
#app: .loading λΆλ¬μ€λ μ€μ
λλ€...
if token
script.
const token = '#{token}';
const previousToken = localStorage.getItem('token');
const accounts = JSON.parse(localStorage.getItem('accounts') || '[]');
if (previousToken && !accounts.includes(previousToken)) {
accounts.push(previousToken);
}
localStorage.setItem('accounts', JSON.stringify(accounts));
localStorage.setItem('token', token);
history.replaceState(null, null, '/');
if error
script.
window.__misshaialert = { error: '#{error}' };
script(src=`/assets/fe.${version}.js` async defer)