61 lines
1.9 KiB
HTML
61 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<meta
|
|
name="application-name"
|
|
content="pk-webs"
|
|
/>
|
|
<meta
|
|
name="description"
|
|
content="A web interface for pluralkit."
|
|
/>
|
|
|
|
<!--
|
|
manifest.json provides metadata used when your web app is installed on a
|
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
-->
|
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
|
|
<title>pk-webs</title>
|
|
|
|
<link rel="stylesheet"
|
|
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
|
|
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
|
|
crossorigin="anonymous" />
|
|
|
|
<script type="text/javascript">
|
|
// Single Page Apps for GitHub Pages
|
|
// MIT License
|
|
// https://github.com/rafgraph/spa-github-pages
|
|
// This script checks to see if a redirect is present in the query string,
|
|
// converts it back into the correct url and adds it to the
|
|
// browser's history using window.history.replaceState(...),
|
|
// which won't cause the browser to attempt to load the new url.
|
|
// When the single page app is loaded further down in this file,
|
|
// the correct url will be waiting in the browser's history for
|
|
// the single page app to route accordingly.
|
|
(function(l) {
|
|
if (l.search[1] === '/' ) {
|
|
var decoded = l.search.slice(1).split('&').map(function(s) {
|
|
return s.replace(/~and~/g, '&')
|
|
}).join('?');
|
|
window.history.replaceState(null, null,
|
|
l.pathname.slice(0, -1) + decoded + l.hash
|
|
);
|
|
}
|
|
}(window.location))
|
|
</script>
|
|
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
|
|
<div id="root"></div>
|
|
|
|
</body>
|
|
</html>
|