2018-05-05 19:34:48 +03:00
|
|
|
block vars
|
|
|
|
|
2016-12-29 00:49:51 +02:00
|
|
|
doctype html
|
|
|
|
|
2017-03-22 09:19:32 +02:00
|
|
|
!= '\n<!-- Thank you for using Misskey! @syuilo -->\n'
|
2016-12-29 00:49:51 +02:00
|
|
|
|
2017-03-26 16:03:56 +03:00
|
|
|
html
|
2016-12-29 00:49:51 +02:00
|
|
|
|
|
|
|
head
|
|
|
|
meta(charset='utf-8')
|
2019-04-15 15:17:52 +03:00
|
|
|
meta(name='application-name' content='Misskey')
|
2017-03-17 17:02:41 +02:00
|
|
|
meta(name='referrer' content='origin')
|
2020-01-29 21:37:25 +02:00
|
|
|
meta(name='theme-color' content='#86b300')
|
2019-04-29 12:15:12 +03:00
|
|
|
meta(property='og:site_name' content= instanceName || 'Misskey')
|
2019-09-26 23:12:56 +03:00
|
|
|
meta(name='viewport' content='width=device-width, initial-scale=1')
|
2019-03-14 09:30:51 +02:00
|
|
|
link(rel='icon' href= icon || '/favicon.ico')
|
2019-09-26 23:12:56 +03:00
|
|
|
link(rel='apple-touch-icon' href= icon || '/apple-touch-icon.png')
|
2017-11-18 15:39:09 +02:00
|
|
|
link(rel='manifest' href='/manifest.json')
|
2017-05-17 23:06:55 +03:00
|
|
|
|
2018-05-05 19:34:48 +03:00
|
|
|
title
|
|
|
|
block title
|
2019-03-14 09:30:51 +02:00
|
|
|
= title || 'Misskey'
|
2018-05-05 19:34:48 +03:00
|
|
|
|
|
|
|
block desc
|
2019-03-14 09:30:51 +02:00
|
|
|
meta(name='description' content= desc || '✨🌎✨ A federated blogging platform ✨🚀✨')
|
2018-05-05 19:34:48 +03:00
|
|
|
|
|
|
|
block meta
|
2017-05-17 23:06:55 +03:00
|
|
|
|
2018-12-15 16:19:04 +02:00
|
|
|
block og
|
|
|
|
meta(property='og:image' content=img)
|
|
|
|
|
2016-12-29 00:49:51 +02:00
|
|
|
style
|
2020-01-29 21:37:25 +02:00
|
|
|
include ./../../../../built/client/assets/style.css
|
|
|
|
script(src=`/assets/app.${version}.js` async defer)
|
|
|
|
script.
|
|
|
|
const theme = localStorage.getItem('theme');
|
|
|
|
if (theme) {
|
|
|
|
for (const [k, v] of Object.entries(JSON.parse(theme))) {
|
|
|
|
document.documentElement.style.setProperty(`--${k}`, v.toString());
|
|
|
|
if (k === 'accent') {
|
|
|
|
for (const tag of document.head.children) {
|
|
|
|
if (tag.tagName === 'META' && tag.getAttribute('name') === 'theme-color') {
|
|
|
|
tag.setAttribute('content', v);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-12-29 00:49:51 +02:00
|
|
|
|
|
|
|
body
|
2017-03-25 23:58:29 +02:00
|
|
|
noscript: p
|
|
|
|
| JavaScriptを有効にしてください
|
|
|
|
br
|
2017-12-07 16:48:46 +02:00
|
|
|
| Please turn on your JavaScript
|
2018-06-09 04:06:27 +03:00
|
|
|
div#ini.
|
|
|
|
<svg viewBox="0 0 50 50">
|
2018-12-15 16:19:04 +02:00
|
|
|
<path fill=#fb4e4e d="M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z" />
|
2018-06-09 04:06:27 +03:00
|
|
|
</svg>
|
2019-07-17 18:11:39 +03:00
|
|
|
block content
|