This commit is contained in:
parent
fdd8794932
commit
a7c55f7604
3 changed files with 14 additions and 5 deletions
|
@ -36,8 +36,8 @@ Next page template: <span class="next-page"><a href="$next_page">Next Page →</
|
|||
; You can use a timezone value from the "TZ database name" column on this
|
||||
; web page: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
|
||||
Timezone: UTC
|
||||
Date format: F j, Y g:i A
|
||||
Timezone: Australia/Melbourne
|
||||
Date format: Y-m-d\TH:i:sO
|
||||
|
||||
|
||||
;; Feeds
|
||||
|
|
|
@ -17,10 +17,10 @@
|
|||
<main>
|
||||
|
||||
<article>
|
||||
{body}
|
||||
<aside class="post-info">
|
||||
<i class="fa-solid fa-clock"></i> {date}
|
||||
<i class="fa-solid fa-clock"></i> <time class="dt-published" datetime="{date}">{date}</time>
|
||||
</aside>
|
||||
{body}
|
||||
<aside class="post-tags">
|
||||
{tags}
|
||||
</aside>
|
||||
|
@ -38,5 +38,13 @@
|
|||
<p>Made with <a href="https://weblog.lol">weblog.lol</a>.</p>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/luxon/build/global/luxon.min.js" crossorigin="anonymous"></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()
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
date: 2011-03-03
|
||||
Location: /B1.01/pro-tanto
|
||||
location: /B1.01/pro-tanto
|
||||
title: B1.01 Pro Tanto
|
||||
---
|
||||
|
||||
# Pro Tanto
|
||||
|
|
Loading…
Reference in a new issue