From e03ff22a299afa3b9963029b40214ee2675f69a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20van=20Br=C3=BCgge?= Date: Thu, 25 Apr 2024 17:43:21 +0100 Subject: [PATCH] Do not repeat introduction text in article itself --- articles/2020/open-source-journey.md | 5 +---- articles/2020/redesigning-a-framework.md | 2 -- src/Main.hs | 1 + templates/post.html | 6 ++++++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/articles/2020/open-source-journey.md b/articles/2020/open-source-journey.md index 9a3e361..7383121 100644 --- a/articles/2020/open-source-journey.md +++ b/articles/2020/open-source-journey.md @@ -3,13 +3,10 @@ title: My Open Source Journey author: Jan van Brügge date: 2020-10-28 tags: [open-source] +published_on: the [Futurice Blog](https://futurice.com/blog/my-open-source-journey) description: It's October again, Hacktoberfest time. Also time for me to reminisce about my personal learning journey that was so heavily influenced by open source. --- -*This post was first published on the [Futurice Blog](https://futurice.com/blog/my-open-source-journey).* - -It's October again, Hacktoberfest time. Also time for me to reminisce about my personal learning journey that was so heavily influenced by open source. - ## The Beginning My interest in computers and coding started rather early, so when I was 14 years old, I went to the local library, got myself a book about programming ("From Zero to Hero: Java") and started on this wonderful path that is now not only my job, but also my passion. diff --git a/articles/2020/redesigning-a-framework.md b/articles/2020/redesigning-a-framework.md index be08b3d..fbeb1d5 100644 --- a/articles/2020/redesigning-a-framework.md +++ b/articles/2020/redesigning-a-framework.md @@ -6,8 +6,6 @@ tags: [typescript, open-source] description: For the last few years, the core team of Cycle.js ([André](https://twitter.com/andrestaltz) and me) has been redesigning the architecture and the developer experience of the framework. This February we finally found a solution to our problems that still stays true to the core ideas of the framework. --- -For the last few years, the core team of Cycle.js ([André](https://twitter.com/andrestaltz) and me) has been redesigning the architecture and the developer experience of the framework. This February we finally found a solution to our problems that still stays true to the core ideas of the framework. - This blog post marks the first in a series that will cover the new design and its development. In this installment, I want to bring everyone onto the same page. _What_ where the problems I described earlier and _how_ does the new design solve them. In the later articles I will cover the new `run` function (the core of the framework) and the new HTTP driver and especially the issues I encountered while implementing those. _\*cough\*_ race conditions _\*cough\*_. ## The status quo diff --git a/src/Main.hs b/src/Main.hs index f919a8f..38b8d71 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -29,6 +29,7 @@ data Post = MkPost { title :: String , author :: String , description :: String + , published_on :: Maybe String , content :: String , url :: String , date :: String diff --git a/templates/post.html b/templates/post.html index d0f4187..a82c095 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,4 +1,10 @@
{{> templates/postHeader.html}} + {{#published_on}} +

This post was first published on {{{.}}}.

+ {{/published_on}} +

+ {{{description}}} +

{{{content}}}