diff options
Diffstat (limited to 'website/src')
| -rw-r--r-- | website/src/components/BlogFeed.astro | 2 | ||||
| -rw-r--r-- | website/src/components/LinksFeed.astro | 4 | ||||
| -rw-r--r-- | website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md | 1 | ||||
| -rw-r--r-- | website/src/content/config.ts | 1 | ||||
| -rw-r--r-- | website/src/data/links.ts | 20 |
5 files changed, 24 insertions, 4 deletions
diff --git a/website/src/components/BlogFeed.astro b/website/src/components/BlogFeed.astro index f0c34e7..af72db4 100644 --- a/website/src/components/BlogFeed.astro +++ b/website/src/components/BlogFeed.astro @@ -9,7 +9,7 @@ export interface Props { const { headingLevel = 2, hideAuthor = false } = Astro.props; -const posts = (await getCollection('blog')); +const posts = (await getCollection('blog')).filter((post) => !post.data.hidden); const distinctYears: number[] = posts .map(post => post.data.pubDate.year) diff --git a/website/src/components/LinksFeed.astro b/website/src/components/LinksFeed.astro index a428395..4ca8dbd 100644 --- a/website/src/components/LinksFeed.astro +++ b/website/src/components/LinksFeed.astro @@ -67,8 +67,8 @@ const canonicalLinksUrl = new URL('links', Astro.site) <ul> { LINKS.filter(matchesYear(year)).sort(sortByDateAddedDescending).map(link => ( <li class="h-entry e-content"> - <a class="u-url p-name" href={link.href}>{link.title}</a>. - {link.description} + <a class="u-url p-name" href={link.href} set:html={link.title} />. + <Fragment set:html={link.description} /> Added: <FormattedDate date={link.isoDateAdded} /> </li> )) } diff --git a/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md b/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md index 8641a5d..dd456f0 100644 --- a/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md +++ b/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md @@ -1,5 +1,6 @@ --- title: EUHWC Toast to the Lassies 2024 +hidden: true description: >- At the <a href="https://www.euhwc.co.uk">EUHWC</a> Burns meet in Ullapool last weekend, I had the last privilege of giving the Toast to diff --git a/website/src/content/config.ts b/website/src/content/config.ts index 58dbc00..8bcd92d 100644 --- a/website/src/content/config.ts +++ b/website/src/content/config.ts @@ -10,6 +10,7 @@ const blog = defineCollection({ type: 'content', schema: z.object({ title: z.string(), + hidden: z.optional(z.boolean()), description: z.string(), pubDate: dateSchema, updatedDate: z.optional(dateSchema), diff --git a/website/src/data/links.ts b/website/src/data/links.ts index 9c7c60f..25ec810 100644 --- a/website/src/data/links.ts +++ b/website/src/data/links.ts @@ -43,7 +43,25 @@ const LINKS: Link[] = [ title: 'BCS manifesto', description: 'Good for what it is. Good policies. Succinct. Should be the beginning (<em>not</em> the end) of some interesting conversations.', isoDateAdded: '2024-06-05' - } + }, + { + href: 'https://broughtonspurtle.org.uk/news/gone-not-forgotten', + title: '154 McDonald Road: Gone but not Forgotten', + description: 'A superb tribute to the building and analysis of the failures of the planning system. This was published in my free local newsletter, and is worthy of any broadsheet newspaper.', + isoDateAdded: '2024-06-07', + }, + { + href: 'https://thehistoryoftheweb.com/beware-the-cloud-of-hype', + title: 'Beware the cloud of hype', + description: 'Jay Hoffman spots some striking parallels between the current AI hype and the dot-com bubble.', + isoDateAdded: '2024-06-07', + }, + { + href: 'https://www.eff.org/files/2023/06/14/saving_the_news_from_big_tech_eff.pdf', + title: 'Saving the News from Big Tech', + description: 'Cory Doctorow, writing for the Electronic Frontier Foundation, argues that to save news media, we need to dismantle ad-tech monopolies, ban surveillance advertising, open up app stores and have an end-to-end web.', + isoDateAdded: '2024-06-07', + }, ]; export default LINKS; |
