32 lines
No EOL
640 B
HTML
32 lines
No EOL
640 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<style>
|
|
html,
|
|
body,
|
|
iframe {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
border: none;
|
|
}
|
|
|
|
iframe {
|
|
display: block;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<iframe id="site-frame"></iframe>
|
|
<!-- At some point, make it so this can handle a missing `hostname` directory. -->
|
|
<script>
|
|
const target = `${window.location.hostname}/singular.html`;
|
|
document.getElementById('site-frame').src = target;
|
|
</script>
|
|
</body>
|
|
|
|
</html> |