-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e3a191
commit 52f7a83
Showing
14 changed files
with
171 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.writing { | ||
padding: 1rem 0; | ||
border-bottom: 2px solid var(--bright_grey); | ||
text-decoration: none; | ||
text-transform: uppercase; | ||
display: block; | ||
|
||
h2 { | ||
font-size: 1.5rem; | ||
line-height: inherit; | ||
} | ||
|
||
.contribution { | ||
text-transform: none; | ||
} | ||
|
||
&:focus, | ||
&:hover { | ||
color: var(--blue); | ||
border-color: var(--blue); | ||
} | ||
|
||
&::after { | ||
display: none; | ||
} | ||
} | ||
|
||
.pagination { | ||
display: grid; | ||
grid-template-columns: repeat(3, 1fr); | ||
align-items: center; | ||
text-align: center; | ||
|
||
a { | ||
padding: 2rem; | ||
} | ||
|
||
@media (max-width: 26rem) { | ||
grid-template-columns: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- title: DOGE's Website Is Just One Big X Ad | ||
location: WIRED | ||
url: www.wired.com/story/doge-website-is-just-one-big-x-ad/ | ||
pub_time: 2025-02-13 | ||
sort: contributed | ||
contribution: Provided reference regarding technical details of the Department of Government Efficiency website. | ||
- title: My favourite colour is Chuck Norris red | ||
location: HTMHell | ||
url: www.htmhell.dev/adventcalendar/2024/20/ | ||
pub_time: 2024-12-20 | ||
sort: wrote | ||
- title: 100K Users | ||
location: Revolt | ||
url: revolt.chat/updates/100k-users | ||
pub_time: 2023-05-13 | ||
sort: wrote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
(elsewhere) => { | ||
version: "https://jsonfeed.org/version/1.1" | ||
title: "Vale.Rocks Elsewhere" | ||
description: "My writing external to Vale.Rocks." | ||
home_page_url: "https://vale.rocks" | ||
feed_url: "https://vale.rocks/elsewhere/feed.json" | ||
|
||
items: values(map(elsewhere, (elsewhere, fileName) => { | ||
id: `https://${ elsewhere/url }` | ||
url: `https://${ elsewhere/url }` | ||
title: elsewhere/title | ||
content_html: `${ elsewhere/sort === 'wrote' ? `<p>I wrote <a href="https://${ elsewhere/url }">${ elsewhere/title }</a> over on ${ elsewhere/location }.</p>` : '' } ${ elsewhere/sort === 'contributed' ? `<p>I contributed to <a href="https://${ elsewhere/url }">${ elsewhere/title }</a> on ${ elsewhere/location }.</p>` : '' } ${ elsewhere/contribution ? `<p>${ elsewhere/contribution }</p>` : '' }` | ||
date_published: elsewhere/pub_time | ||
})) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
{ ...post_data.ori, ...micro_data.ori, ...photography_data.ori } | ||
{ | ||
...post_data.ori, | ||
...micro_data.ori, | ||
...photography_data.ori, | ||
...(elsewhere_data.yaml → =map(_, (elsewhere) => { | ||
...elsewhere | ||
type: "elsewhere" | ||
})) | ||
} | ||
→ =sort(_, (item) => new:Date(item/pub_time)) | ||
→ reverse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
(paginated_elsewhere) => main_template.ori({ | ||
title: "Elsewhere" | ||
description: "Vale's writing or writing Vale has contributed to published externally to Vale.Rocks. Read tech journalism, web development insights, digital culture analysis, and more from Declan Chidlow." | ||
og_description: "My writing external to Vale.Rocks." | ||
stylesheet: "pages/elsewhere.css" | ||
|
||
@text: | ||
`<h1 id="section" data-pagefind-filter="Content Type">Elsewhere</h1> | ||
|
||
<div class="readable-width"> | ||
${ paginated_elsewhere/previousPage ? `` : `<p>Writing external to this website that I have worked on, contributed to, or otherwise directly been involved with.</p>` } | ||
|
||
${ map(paginated_elsewhere/items, | ||
(item, key) => | ||
`<a href="https://${ item/url }" class="writing"> | ||
<h2>${ item/title }</h2> | ||
<p>${ item/location } | <time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) }</time></p> | ||
${item/contribution ? `<p class="contribution">${ item/contribution }</p>` : '' } | ||
</a>`)} | ||
|
||
<div data-pagefind-ignore="all" class="pagination"> | ||
${ paginated_elsewhere/previousPage | ||
? `<a href="/elsewhere/${ paginated_elsewhere/previousPage }"><span aria-hidden="true"><</span> Newer</a>` | ||
: "<span></span>" | ||
} | ||
|
||
<p>Page ${ paginated_elsewhere/pageNumber} of ${ paginated_elsewhere/pageCount}</p> | ||
|
||
${ paginated_elsewhere/nextPage | ||
? `<a href="/elsewhere/${ paginated_elsewhere/nextPage }">Older <span aria-hidden="true">></span></a>` | ||
: "<span></span>" | ||
} | ||
</div> | ||
</div>`}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters