mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
[Client] Set description meta tag
This commit is contained in:
parent
3bcf1e8d1d
commit
9beb5fafbe
@ -1,4 +1,6 @@
|
|||||||
common:
|
common:
|
||||||
|
misskey: "Note everything and share it others using Misskey."
|
||||||
|
|
||||||
time:
|
time:
|
||||||
unknown: "unknown"
|
unknown: "unknown"
|
||||||
future: "future"
|
future: "future"
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
common:
|
common:
|
||||||
|
misskey: "Misskeyに何でも投稿して皆と共有しましょう。"
|
||||||
|
|
||||||
time:
|
time:
|
||||||
unknown: "なぞのじかん"
|
unknown: "なぞのじかん"
|
||||||
future: "未来"
|
future: "未来"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* App initializer
|
* App initializer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
"use strict";
|
'use strict';
|
||||||
|
|
||||||
import * as riot from 'riot';
|
import * as riot from 'riot';
|
||||||
import api from './common/scripts/api';
|
import api from './common/scripts/api';
|
||||||
@ -21,6 +21,14 @@ require('./common/tags');
|
|||||||
|
|
||||||
console.info(`Misskey v${VERSION} (葵 aoi)`);
|
console.info(`Misskey v${VERSION} (葵 aoi)`);
|
||||||
|
|
||||||
|
{ // Set description meta tag
|
||||||
|
const head = document.getElementsByTagName('head')[0];
|
||||||
|
const meta = document.createElement('meta');
|
||||||
|
meta.setAttribute('name', 'description');
|
||||||
|
meta.setAttribute('content', '%i18n:common.misskey%');
|
||||||
|
head.appendChild(meta);
|
||||||
|
}
|
||||||
|
|
||||||
document.domain = CONFIG.host;
|
document.domain = CONFIG.host;
|
||||||
|
|
||||||
// Set global configuration
|
// Set global configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user