From 79f1a863b6451eb1dee37036524c7df8a8f40fce Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 14 Jan 2024 23:39:03 +0100 Subject: [PATCH] add date + author to posts + dedupe headings --- website/src/components/BlogPost.astro | 8 +++++++- website/src/content/blog/release-0.0.2-schwindlig.mdx | 2 -- website/src/content/blog/release-0.0.2.1-stuermisch.mdx | 2 -- website/src/content/blog/release-0.0.3-maelstrom.mdx | 2 -- website/src/content/blog/release-0.0.4-gischt.mdx | 2 -- website/src/content/blog/release-0.3.0-donauwelle.mdx | 2 -- website/src/content/blog/release-0.4.0-brandung.mdx | 2 -- website/src/content/blog/release-0.5.0-wirbel.mdx | 2 -- website/src/content/blog/release-0.6.0-zimtschnecke.mdx | 2 -- website/src/content/blog/release-0.7.0-zuckerguss.mdx | 2 -- website/src/content/blog/release-0.8.0-himbeermuffin.mdx | 2 -- website/src/content/blog/release-0.9.0-bananenbrot.mdx | 2 -- website/src/pages/blog.astro | 1 - 13 files changed, 7 insertions(+), 24 deletions(-) diff --git a/website/src/components/BlogPost.astro b/website/src/components/BlogPost.astro index 0b3fc6a5..b5b82680 100644 --- a/website/src/components/BlogPost.astro +++ b/website/src/components/BlogPost.astro @@ -5,6 +5,7 @@ type Props = CollectionEntry<'blog'>['data']; const { post } = Astro.props; const { Content } = await post.render(); +import { format } from 'date-fns'; ---
-

{post.title}

+

{post.data.title}

+

+ +

diff --git a/website/src/content/blog/release-0.0.2-schwindlig.mdx b/website/src/content/blog/release-0.0.2-schwindlig.mdx index 3cb9b50b..b65ff98f 100644 --- a/website/src/content/blog/release-0.0.2-schwindlig.mdx +++ b/website/src/content/blog/release-0.0.2-schwindlig.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.0.2 Schwindlig - ## What's Changed - Most work done as [commits to main](https://github.com/tidalcycles/strudel/commits/2a0d8c3f77ff7b34e82602e2d02400707f367316) diff --git a/website/src/content/blog/release-0.0.2.1-stuermisch.mdx b/website/src/content/blog/release-0.0.2.1-stuermisch.mdx index 28da1a8f..3824bd6b 100644 --- a/website/src/content/blog/release-0.0.2.1-stuermisch.mdx +++ b/website/src/content/blog/release-0.0.2.1-stuermisch.mdx @@ -5,8 +5,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.0.2.1 Stürmisch - ## What's Changed - Add chunk, chunkBack and iterBack by @yaxu in https://github.com/tidalcycles/strudel/pull/25 diff --git a/website/src/content/blog/release-0.0.3-maelstrom.mdx b/website/src/content/blog/release-0.0.3-maelstrom.mdx index ee8d5143..542412d8 100644 --- a/website/src/content/blog/release-0.0.3-maelstrom.mdx +++ b/website/src/content/blog/release-0.0.3-maelstrom.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.0.3 Maelstrom - ## What's Changed - Add chunk, chunkBack and iterBack by @yaxu in https://github.com/tidalcycles/strudel/pull/25 diff --git a/website/src/content/blog/release-0.0.4-gischt.mdx b/website/src/content/blog/release-0.0.4-gischt.mdx index 93db4876..83b831a7 100644 --- a/website/src/content/blog/release-0.0.4-gischt.mdx +++ b/website/src/content/blog/release-0.0.4-gischt.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.0.4 Gischt - ## What's Changed - Webaudio rewrite by @felixroos in https://github.com/tidalcycles/strudel/pull/138 diff --git a/website/src/content/blog/release-0.3.0-donauwelle.mdx b/website/src/content/blog/release-0.3.0-donauwelle.mdx index ce086dbc..70dba0e6 100644 --- a/website/src/content/blog/release-0.3.0-donauwelle.mdx +++ b/website/src/content/blog/release-0.3.0-donauwelle.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.3.0 Donauwelle - ## Package Versions - @strudel.cycles/core@0.3.1 diff --git a/website/src/content/blog/release-0.4.0-brandung.mdx b/website/src/content/blog/release-0.4.0-brandung.mdx index 67e61ece..56a1d2e2 100644 --- a/website/src/content/blog/release-0.4.0-brandung.mdx +++ b/website/src/content/blog/release-0.4.0-brandung.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.4.0 Brandung - ## What's Changed - new transpiler based on acorn by @felixroos in https://github.com/tidalcycles/strudel/pull/249 diff --git a/website/src/content/blog/release-0.5.0-wirbel.mdx b/website/src/content/blog/release-0.5.0-wirbel.mdx index 8912627c..7d04f0d2 100644 --- a/website/src/content/blog/release-0.5.0-wirbel.mdx +++ b/website/src/content/blog/release-0.5.0-wirbel.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.5.0 Wirbel - ## Package Versions - @strudel.cycles/core@0.5.0 diff --git a/website/src/content/blog/release-0.6.0-zimtschnecke.mdx b/website/src/content/blog/release-0.6.0-zimtschnecke.mdx index 9e5f2f35..ee6353d3 100644 --- a/website/src/content/blog/release-0.6.0-zimtschnecke.mdx +++ b/website/src/content/blog/release-0.6.0-zimtschnecke.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.6.0 Zimtschnecke - ## Package Versions - @strudel.cycles/core@0.6.8 diff --git a/website/src/content/blog/release-0.7.0-zuckerguss.mdx b/website/src/content/blog/release-0.7.0-zuckerguss.mdx index 55315a9c..1d810cb2 100644 --- a/website/src/content/blog/release-0.7.0-zuckerguss.mdx +++ b/website/src/content/blog/release-0.7.0-zuckerguss.mdx @@ -6,8 +6,6 @@ tags: ['meta'] author: froos --- -# Release Notes v0.7.0 Zimtschnecke - ## Package Versions - @strudel.cycles/core@0.7.2 diff --git a/website/src/content/blog/release-0.8.0-himbeermuffin.mdx b/website/src/content/blog/release-0.8.0-himbeermuffin.mdx index 49116666..7baea4c1 100644 --- a/website/src/content/blog/release-0.8.0-himbeermuffin.mdx +++ b/website/src/content/blog/release-0.8.0-himbeermuffin.mdx @@ -8,8 +8,6 @@ author: froos import BlogVideo from '../../components/BlogVideo.astro'; -# Release Notes v0.8.0 Himbeermuffin - These are the release notes for Strudel 0.8.0 aka "Himbeermuffin"! [Go to Tidal Club Forum for this Release](https://club.tidalcycles.org/t/strudel-0-8-0-released/4769) diff --git a/website/src/content/blog/release-0.9.0-bananenbrot.mdx b/website/src/content/blog/release-0.9.0-bananenbrot.mdx index c18bc60e..eed5bf55 100644 --- a/website/src/content/blog/release-0.9.0-bananenbrot.mdx +++ b/website/src/content/blog/release-0.9.0-bananenbrot.mdx @@ -8,8 +8,6 @@ author: froos import BlogVideo from '../../components/BlogVideo.astro'; -# Release Notes v0.9.0 Bananenbrot - These are the release notes for Strudel 0.9.0 aka "Bananenbrot"! The last release was over 11 weeks ago, so a lot of things have happened! diff --git a/website/src/pages/blog.astro b/website/src/pages/blog.astro index d01eb6b8..80270353 100644 --- a/website/src/pages/blog.astro +++ b/website/src/pages/blog.astro @@ -32,7 +32,6 @@ const posts = (await getCollection('blog')).sort((a, b) => compareDesc(a.data.da -

Strudel Blog

{posts.map((post) => )}