From 57ec6a3955678b21bf1c6d62550921594e853f6f Mon Sep 17 00:00:00 2001 From: Kevin Matsubara Date: Mon, 18 Aug 2025 19:01:27 +0200 Subject: [PATCH] Update Hakyll site index and move original index to new file. --- portfolio/index.html | 12 ++++-------- portfolio/index_old.html | 16 ++++++++++++++++ portfolio/templates/default.html | 9 ++++----- portfolio/templates/recent-posts.html | 7 +++++++ 4 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 portfolio/index_old.html create mode 100644 portfolio/templates/recent-posts.html diff --git a/portfolio/index.html b/portfolio/index.html index 6dd191d..3a540e4 100644 --- a/portfolio/index.html +++ b/portfolio/index.html @@ -2,15 +2,11 @@ title: Home --- -

Welcome

- -

Welcome to my blog!

+

Welcome to my blog.

-

I've reproduced a list of recent posts here for your reading pleasure:

+
-

Posts

-$partial("templates/post-list.html")$ - -

…or you can find more in the archives.

+

Recent posts

+$partial("templates/recent-posts.html")$ diff --git a/portfolio/index_old.html b/portfolio/index_old.html new file mode 100644 index 0000000..6dd191d --- /dev/null +++ b/portfolio/index_old.html @@ -0,0 +1,16 @@ +--- +title: Home +--- + +

Welcome

+ + + +

Welcome to my blog!

+ +

I've reproduced a list of recent posts here for your reading pleasure:

+ +

Posts

+$partial("templates/post-list.html")$ + +

…or you can find more in the archives.

diff --git a/portfolio/templates/default.html b/portfolio/templates/default.html index e91badc..3d87f7e 100644 --- a/portfolio/templates/default.html +++ b/portfolio/templates/default.html @@ -4,7 +4,8 @@ - My Hakyll Blog - $title$ + Kevin Matsubara - $title$ + @@ -14,9 +15,7 @@ @@ -27,7 +26,7 @@ diff --git a/portfolio/templates/recent-posts.html b/portfolio/templates/recent-posts.html new file mode 100644 index 0000000..71cf1b9 --- /dev/null +++ b/portfolio/templates/recent-posts.html @@ -0,0 +1,7 @@ +