fix some (all?) Misskey references
This commit is contained in:
parent
2da85e1163
commit
a12815eabe
6 changed files with 15 additions and 15 deletions
|
|
@ -491,7 +491,7 @@ export class ClientServerService {
|
|||
return await reply.view('base', {
|
||||
img: this.meta.bannerUrl,
|
||||
url: this.config.url,
|
||||
title: this.meta.name ?? 'Misskey',
|
||||
title: this.meta.name ?? 'Sharkey',
|
||||
desc: this.meta.description,
|
||||
...await this.generateCommonPugData(this.meta),
|
||||
...data,
|
||||
|
|
@ -817,7 +817,7 @@ export class ClientServerService {
|
|||
|
||||
reply.header('Cache-Control', 'public, max-age=3600');
|
||||
return await reply.view('base-embed', {
|
||||
title: this.meta.name ?? 'Misskey',
|
||||
title: this.meta.name ?? 'Sharkey',
|
||||
...await this.generateCommonPugData(this.meta),
|
||||
embedCtx: htmlSafeJsonStringify({
|
||||
user: _user,
|
||||
|
|
@ -840,7 +840,7 @@ export class ClientServerService {
|
|||
|
||||
reply.header('Cache-Control', 'public, max-age=3600');
|
||||
return await reply.view('base-embed', {
|
||||
title: this.meta.name ?? 'Misskey',
|
||||
title: this.meta.name ?? 'Sharkey',
|
||||
...await this.generateCommonPugData(this.meta),
|
||||
embedCtx: htmlSafeJsonStringify({
|
||||
note: _note,
|
||||
|
|
@ -861,7 +861,7 @@ export class ClientServerService {
|
|||
|
||||
reply.header('Cache-Control', 'public, max-age=3600');
|
||||
return await reply.view('base-embed', {
|
||||
title: this.meta.name ?? 'Misskey',
|
||||
title: this.meta.name ?? 'Sharkey',
|
||||
...await this.generateCommonPugData(this.meta),
|
||||
embedCtx: htmlSafeJsonStringify({
|
||||
clip: _clip,
|
||||
|
|
@ -874,7 +874,7 @@ export class ClientServerService {
|
|||
|
||||
reply.header('Cache-Control', 'public, max-age=3600');
|
||||
return await reply.view('base-embed', {
|
||||
title: this.meta.name ?? 'Misskey',
|
||||
title: this.meta.name ?? 'Sharkey',
|
||||
...await this.generateCommonPugData(this.meta),
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -116,14 +116,14 @@
|
|||
}
|
||||
document.body.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" /><path d="M12 9v4" /><path d="M12 16v.01" /></svg>
|
||||
<div class="message">読み込みに失敗しました</div>
|
||||
<div class="submessage">Failed to initialize Misskey</div>
|
||||
<div class="submessage">Failed to initialize Sharkey</div>
|
||||
<div class="submessage">Error Code: ${code}</div>
|
||||
<button onclick="location.reload(!0)">
|
||||
<div>リロード</div>
|
||||
<div><small>Reload</small></div>
|
||||
</button>`;
|
||||
addStyle(`
|
||||
#misskey_app,
|
||||
#sharkey_app,
|
||||
#splash {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,11 +9,11 @@ html(class='embed')
|
|||
|
||||
head
|
||||
meta(charset='utf-8')
|
||||
meta(name='application-name' content='Misskey')
|
||||
meta(name='application-name' content='Sharkey')
|
||||
meta(name='referrer' content='origin')
|
||||
meta(name='theme-color' content= themeColor || '#86b300')
|
||||
meta(name='theme-color-orig' content= themeColor || '#86b300')
|
||||
meta(property='og:site_name' content= instanceName || 'Misskey')
|
||||
meta(property='og:site_name' content= instanceName || 'Sharkey')
|
||||
meta(property='instance_url' content= instanceUrl)
|
||||
meta(name='viewport' content='width=device-width, initial-scale=1')
|
||||
meta(name='format-detection' content='telephone=no,date=no,address=no,email=no,url=no')
|
||||
|
|
@ -32,7 +32,7 @@ html(class='embed')
|
|||
|
||||
title
|
||||
block title
|
||||
= title || 'Misskey'
|
||||
= title || 'Sharkey'
|
||||
|
||||
block meta
|
||||
meta(name='robots' content='noindex')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue