Compare commits
2 Commits
4966f9a134
...
490be0776e
| Author | SHA1 | Date | |
|---|---|---|---|
| 490be0776e | |||
| 58ffb1215e |
@ -5,6 +5,6 @@ date: 2025-10-18
|
||||
logosub: Congoer
|
||||
---
|
||||
|
||||
I have been to the Scale Model Challenge, this being my second time now.
|
||||
I have been to the [Scale Model Challenge](https://www.scalemodelchallenge.com/), this being my second time now.
|
||||
|
||||
And I participated with a Gundam, but did not win any prize with it. Still, it was fun to add my Gundam figure to the competition. Next time I will have to do a better job!
|
||||
10
portfolio/events/2026-04-17-animecon.md
Normal file
10
portfolio/events/2026-04-17-animecon.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Animecon 2026
|
||||
author: Kevin Matsubara
|
||||
date: 2026-04-17
|
||||
logosub: Congoer
|
||||
---
|
||||
|
||||
I will be at [Animecon 2026](https://animecon.nl/) for all three days in Rijswijk, the Netherlands.
|
||||
|
||||
There I will be part of the SIG Plamo group, where we will show everyone about the Plamo hobby.
|
||||
8
portfolio/events/2026-05-31-scaleworld.md
Normal file
8
portfolio/events/2026-05-31-scaleworld.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: ScaleWorld 2026
|
||||
author: Kevin Matsubara
|
||||
date: 2026-05-31
|
||||
logosub: Congoer
|
||||
---
|
||||
|
||||
I will visit [ScaleWorld 2026](https://kmk-scaleworld.be/scaleworld-2026/) for the first time in Geel, Belgium.
|
||||
13
portfolio/events/2026-10-17-smc.md
Normal file
13
portfolio/events/2026-10-17-smc.md
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
title: SMC 2026 - Scale Model Challenge
|
||||
author: Kevin Matsubara
|
||||
date: 2026-10-17
|
||||
logosub: Congoer
|
||||
---
|
||||
|
||||
I will be visiting the [Scale Model Challenge 2026](https://www.scalemodelchallenge.com/) in Veldhoven, the Netherlands. Both the 17th and 18th of October.
|
||||
|
||||
So far, this is my list of models to bring to the contest:
|
||||
|
||||
- Sopwith Camel, 1/72 by Eduard.
|
||||
- Raccoon Maschinen Krieger, 1/20 by Wave Corporation.
|
||||
10
portfolio/events/2026-10-22-spiel.md
Normal file
10
portfolio/events/2026-10-22-spiel.md
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Spiel 2026
|
||||
author: Kevin Matsubara
|
||||
date: 2026-10-22
|
||||
logosub: Congoer
|
||||
---
|
||||
|
||||
I plan to visit [Spiel](https://www.spiel-essen.de/en/) in Essen, Germany.
|
||||
|
||||
I have not yet decided which days.
|
||||
@ -7,5 +7,6 @@ executable site
|
||||
main-is: site.hs
|
||||
build-depends: base == 4.*
|
||||
, hakyll == 4.16.*
|
||||
, time == 1.12.2
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||
default-language: Haskell2010
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
--------------------------------------------------------------------------------
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
import Control.Monad (filterM)
|
||||
import Data.Maybe (fromMaybe)
|
||||
import Data.Monoid (mappend)
|
||||
import Data.Time
|
||||
import Hakyll
|
||||
|
||||
|
||||
@ -63,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
|
||||
@ -79,7 +82,14 @@ main = hakyll $ do
|
||||
route idRoute
|
||||
compile $ do
|
||||
posts <- recentFirst =<< loadAll "posts/*"
|
||||
events <- recentFirst =<< loadAll "events/*"
|
||||
|
||||
now <- unsafeCompiler getCurrentTime
|
||||
let cutoff = addUTCTime (7 * 24 * 60 * 60) now
|
||||
|
||||
events <-
|
||||
loadAll "events/*"
|
||||
>>= filterM (isUpcoming cutoff)
|
||||
>>= chronological
|
||||
|
||||
let indexCtx =
|
||||
-- (<> is the modern version of `mappend`.)
|
||||
@ -100,3 +110,13 @@ postCtx :: Context String
|
||||
postCtx =
|
||||
dateField "date" "%e %B %Y" `mappend`
|
||||
defaultContext
|
||||
|
||||
isUpcoming :: UTCTime -> Item a -> Compiler Bool
|
||||
isUpcoming cutoff item = do
|
||||
metadata <- getMetadata (itemIdentifier item)
|
||||
case lookupString "date" metadata of
|
||||
Nothing -> return False
|
||||
Just ds ->
|
||||
case parseTimeM True defaultTimeLocale "%Y-%m-%d" ds of
|
||||
Nothing -> return False
|
||||
Just date -> return (date >= cutoff)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<div class="row row-cols-1 row-cols-lg-2 row-cols-xl-3 g-4 p-1">
|
||||
$for(posts)$
|
||||
$for(kits)$
|
||||
<div class="col">
|
||||
<div class="card h-100 mb-3" style="max-width: 500px; min-width: 300px;">
|
||||
<div class="row g-0">
|
||||
@ -1,3 +1,4 @@
|
||||
<p>Plamo section</p>
|
||||
<p>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.</p>
|
||||
<p>Here you can find my collection and notes on this hobby.</p>
|
||||
|
||||
$partial("templates/plamo-showcase.html")$
|
||||
$partial("templates/model-kits.html")$
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user