From 490be0776eb63baf6431c8a37a7482042ee8ab15 Mon Sep 17 00:00:00 2001 From: Kevin Matsubara Date: Sat, 20 Dec 2025 15:17:41 +0100 Subject: [PATCH] Add intro to plamo page and rename some related files and variable. --- portfolio/site.hs | 4 ++-- portfolio/templates/{plamo-showcase.html => model-kits.html} | 2 +- portfolio/templates/plamo.html | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) rename portfolio/templates/{plamo-showcase.html => model-kits.html} (98%) diff --git a/portfolio/site.hs b/portfolio/site.hs index 92a742a..406da1c 100644 --- a/portfolio/site.hs +++ b/portfolio/site.hs @@ -66,9 +66,9 @@ main = hakyll $ do create ["plamo.html"] $ do route idRoute compile $ do - posts <- recentFirst =<< loadAll "pages/en/plamo/gundam/**" + kits <- recentFirst =<< loadAll "pages/en/plamo/**" let plamoCtx = - listField "posts" postCtx (return posts) `mappend` + listField "kits" postCtx (return kits) `mappend` constField "title" "Plamo" `mappend` constField "logosub" "Plamo enthousiast" `mappend` defaultContext diff --git a/portfolio/templates/plamo-showcase.html b/portfolio/templates/model-kits.html similarity index 98% rename from portfolio/templates/plamo-showcase.html rename to portfolio/templates/model-kits.html index 50695d1..e469d78 100644 --- a/portfolio/templates/plamo-showcase.html +++ b/portfolio/templates/model-kits.html @@ -1,5 +1,5 @@
- $for(posts)$ + $for(kits)$
diff --git a/portfolio/templates/plamo.html b/portfolio/templates/plamo.html index adbe877..0642940 100644 --- a/portfolio/templates/plamo.html +++ b/portfolio/templates/plamo.html @@ -1,3 +1,4 @@ -

Plamo section

+

The word "Plamo" is a portmonteau of the words "plastic" and "modelling". It involves building and painting models and figures from historic, science-fiction and fantasy themes.

+

Here you can find my collection and notes on this hobby.

-$partial("templates/plamo-showcase.html")$ +$partial("templates/model-kits.html")$