Skip to content

Commit

Permalink
Deploying to gh-pages from @ d5ac4ad 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
brookback committed Jan 27, 2024
1 parent c1b323f commit 3d58149
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 252 deletions.
17 changes: 3 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,18 +177,15 @@ <h1 class="f2 mb0 p-name">Writings</h1>

<template id="music-tmpl">
<li class="mb2 leading-tight">
<span class="music-title block fw7"></span>
<small class="font-sans f5">
<span class="music-title block fw6"></span>
<small class="font-sans f6">
<span class="music-subtitle muted"></span>
<time class="music-datetime ml1"></time>
</small>
</li>
</template>

<script type="module">
const ENDPOINT = location.hostname == 'localhost'
? 'http://localhost:8788'
: 'https://brookie.pages.dev';
const ENDPOINT = 'https://brookie.pages.dev';

const render = (target, tracks) => {
const tmpl = document.getElementById('music-tmpl');
Expand All @@ -203,14 +200,6 @@ <h1 class="f2 mb0 p-name">Writings</h1>
title.textContent = track.name;
subtitle.textContent = `${track.artist['#text']} — ${track.album['#text']}`;

const dateTime = clone.querySelector('.music-datetime');

if (track.date) {
const date = new Date(parseInt(track.date['uts'], 10) * 1000);
dateTime.textContent = fmt.format(date);
dateTime.setAttribute('title', date.toUTCString());
}

if (track['@attr']?.nowplaying == 'true') {
title.classList.add('fw7');
container.classList.add('border', 'border-b', 'mb2', 'pb2');
Expand Down
8 changes: 8 additions & 0 deletions johan.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion johan.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions reading.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<entry>
<title>Min Kamp 2</title>
<link href="https://johan.im/reading#min-kamp-2" />
<updated>2024-01-27T02:08:02Z</updated>
<updated>2024-01-27T14:31:46Z</updated>
<id>https://johan.im/reading#min-kamp-2</id>


Expand Down Expand Up @@ -133,7 +133,7 @@
<entry>
<title>The Shards</title>
<link href="https://johan.im/reading#the-shards" />
<updated>2024-01-27T02:08:02Z</updated>
<updated>2024-01-27T14:31:46Z</updated>
<id>https://johan.im/reading#the-shards</id>


Expand Down
466 changes: 234 additions & 232 deletions reading/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions status.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

{
"johan": "4.0.0",
"version": "2641c0cae7f80d6b44c990f40fa505b53fc8b5fb",
"builtAt": "2024-01-27T02:08:34.012Z",
"version": "d5ac4adb24f9825599e3c21ddf7ecd0642f15e04",
"builtAt": "2024-01-27T14:32:23.254Z",
"env": "production",
"micro": "20240118204458"
}
2 changes: 1 addition & 1 deletion to-read/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1 class="title ">Want to read.</h1>

<div class="prose measure">
<p class="measure subhead">
Updated on <time class="text-color fw5" datetime="2024-01-27 02:08:02">Saturday, January 27th 2024</time>.
Updated on <time class="text-color fw5" datetime="2024-01-27 14:31:46">Saturday, January 27th 2024</time>.
</p>

<table class="textual">
Expand Down

0 comments on commit 3d58149

Please sign in to comment.