deathau.weblog.lol/configuration/template.html

62 lines
1.9 KiB
HTML
Raw Normal View History

2024-05-06 02:34:11 +00:00
<!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">
2024-05-06 02:34:11 +00:00
{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="weblog">
<article>
<aside class="post-info">
<a href="{location}"><i class="fa-solid fa-clock"></i> <time class="dt-published" datetime="{date}">{date}</time></a>
</aside>
<i data-emoji="{emoji}"></i>
{body}
<aside class="post-info">
<a class="status_url" href="{status_url}" target="_blank"><i class="omg-icon omg-prami"></i> via status.lol</a>
<a class="external_url" href="{external_url}" target="_blank"><i class="omg-icon omg-fediverse"></i> Interact on the Fediverse</a>
</aside>
<aside class="post-tags">
{tags}
</aside>
</article>
<hr>
<h2>Recent posts</h2>
{recent-posts}
</main>
<footer>
<p>Made with <a href="https://weblog.lol">weblog.lol</a>.</p>
2024-05-14 01:13:36 +00:00
<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>
2024-05-07 01:28:33 +00:00
2024-05-06 02:34:11 +00:00
</body>
</html>