From 624f73226f79bb04ad44484c7b50097ca45c9861 Mon Sep 17 00:00:00 2001 From: Kevin Matsubara Date: Sun, 4 Jan 2026 01:38:20 +0100 Subject: [PATCH] Add empty pages for paints. --- portfolio/en/paints.html | 9 +++++++++ portfolio/en/plamo.html | 6 ++++++ portfolio/jp/paints.html | 9 +++++++++ portfolio/jp/plamo.html | 6 ++++++ portfolio/nl/paints.html | 9 +++++++++ portfolio/nl/plamo.html | 6 ++++++ portfolio/site.hs | 20 ++++++++++++++++++++ 7 files changed, 65 insertions(+) create mode 100644 portfolio/en/paints.html create mode 100644 portfolio/jp/paints.html create mode 100644 portfolio/nl/paints.html diff --git a/portfolio/en/paints.html b/portfolio/en/paints.html new file mode 100644 index 0000000..ceb26dd --- /dev/null +++ b/portfolio/en/paints.html @@ -0,0 +1,9 @@ +--- +title: Paints +logosub: Figure painter +language: "en" +--- + +

List of my lacquer paints.

+ + diff --git a/portfolio/en/plamo.html b/portfolio/en/plamo.html index d7e0ce7..ca1ee8b 100644 --- a/portfolio/en/plamo.html +++ b/portfolio/en/plamo.html @@ -7,4 +7,10 @@ language: "en"

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.

+
+ +Paints + +
+ $partial("templates/model-kits.html")$ \ No newline at end of file diff --git a/portfolio/jp/paints.html b/portfolio/jp/paints.html new file mode 100644 index 0000000..27731d7 --- /dev/null +++ b/portfolio/jp/paints.html @@ -0,0 +1,9 @@ +--- +title: Paints +logosub: "フィギュアペインター" +language: "jp" +--- + +

ラッカーりょう

+ + diff --git a/portfolio/jp/plamo.html b/portfolio/jp/plamo.html index 4f5c58b..40376d7 100644 --- a/portfolio/jp/plamo.html +++ b/portfolio/jp/plamo.html @@ -7,4 +7,10 @@ language: "jp"

『プラモ』という言葉は、『プラスチック』と『モデリング』を組み合わせた造語です。
歴史やサイエンス・フィクション、ファンタジーなどのテーマの模型やフィギュアを作り、塗装することを指します。

ここでは、私のコレクションやこの趣味に関するメモをご覧いただけます。

+
+ +塗料 + +
+ $partial("templates/model-kits.html")$ \ No newline at end of file diff --git a/portfolio/nl/paints.html b/portfolio/nl/paints.html new file mode 100644 index 0000000..941db71 --- /dev/null +++ b/portfolio/nl/paints.html @@ -0,0 +1,9 @@ +--- +title: Paints +logosub: Figuur-schilder +language: "nl" +--- + +

Lijst van mijn lak-verf.

+ + diff --git a/portfolio/nl/plamo.html b/portfolio/nl/plamo.html index 3c16825..03f520b 100644 --- a/portfolio/nl/plamo.html +++ b/portfolio/nl/plamo.html @@ -7,4 +7,10 @@ language: "nl"

"Plamo" is een samenvoeging van de woorden "plastic" en "modelleren". Het is een hobby waarbij plastic modellen gebouwd en geschilderd worden. Het kunnen historische modellen zijn, maar ook science-fiction of fantasie modellen.

Hier kun je mijn collectie en notities vinden van deze hobby.

+
+ +Verf + +
+ $partial("templates/model-kits.html")$ \ No newline at end of file diff --git a/portfolio/site.hs b/portfolio/site.hs index 666ad6b..d2024ec 100644 --- a/portfolio/site.hs +++ b/portfolio/site.hs @@ -306,6 +306,26 @@ main = hakyll $ do >>= loadAndApplyTemplate "templates/default.html" softwareCtx >>= relativizeUrls + match (fromList + [ "nl/paints.html" + , "jp/paints.html" + , "en/paints.html" + ]) $ do + route idRoute + compile $ do + identifier <- getUnderlying + metadata <- getMetadata identifier + let language = lookupString "language" metadata + let lang = fromMaybe "en" language + + let paintsCtx = + langDict lang <> + defaultContext + + pandocCompiler + >>= loadAndApplyTemplate "templates/default.html" paintsCtx + >>= relativizeUrls + match (fromList [ "index.html" , "nl/index.html"