53 lines
No EOL
1.6 KiB
Markdown
53 lines
No EOL
1.6 KiB
Markdown
Type: Template
|
|
Title: Landing Page Template
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{weblog-title}</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="https://unpkg.com/prismjs@1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
|
|
<link rel="stylesheet" href="/styles.css?v0.0.3">
|
|
{feeds}
|
|
</head>
|
|
<body>
|
|
|
|
<div class="header">
|
|
<header>
|
|
<img class="avatar" src="https://cdn.some.pics/deathau/663da4619fdb6.svg" alt="My avatar — A pixelated self-portrait in the style of the 'bitizens' in the mobile game Tiny Tower" />
|
|
<h1 class="weblog-title"><a href="{base-path}">{weblog-title}</a></h1>
|
|
{navigation}
|
|
<fedi-social></fedi-social>
|
|
</header>
|
|
</div>
|
|
|
|
<main class="landing">
|
|
|
|
{body}
|
|
|
|
<nav>
|
|
{next-page}
|
|
{previous-page}
|
|
</nav>
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
<p>Made with <a href="https://weblog.lol">weblog.lol</a>.</p>
|
|
<p><img class="prami-logo" src="https://cdn.cache.lol/img/prami_hybrid.svg"> <a href="https://home.omg.lol/referred-by/deathau">Powered by omg.lol</a></p>
|
|
</footer>
|
|
|
|
<script src="/js/luxon.min.js" crossorigin="anonymous"></script>
|
|
<script src="/js/fediverse.js"></script>
|
|
<script>
|
|
document.querySelectorAll('time:not(.dt-start):not(.dt-end)').forEach(time => {
|
|
const datetime = luxon.DateTime.fromISO(time.getAttribute('datetime'))
|
|
time.innerText = datetime.toRelative()
|
|
})
|
|
fediverse()
|
|
</script>
|
|
<script src="https://unpkg.com/prismjs@1.29.0/components/prism-core.min.js"></script>
|
|
<script src="https://unpkg.com/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
</body>
|
|
</html> |