deathau.weblog.lol/weblog/B0. Template/template-page.html.md
Gordon Pedersen c751396888
All checks were successful
/ weblog.lol (push) Successful in 12s
Added omg.lol footer
2024-05-14 11:13:36 +10:00

44 lines
1.3 KiB
Markdown

Type: Template
Title: Page Template
<!DOCTYPE html>
<html lang="en">
<head>
<title>{weblog-title}{separator}{post-title}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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="page">
{body}
</main>
<footer>
<p>Made with <a href="https://weblog.lol">weblog.lol</a>.</p>
<p><a href="https://home.omg.lol/referred-by/deathau"><img class="prami-logo" src="https://cdn.cache.lol/img/prami_hybrid.svg"> 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>
</body>
</html>