Compare commits
No commits in common. "490be0776eb63baf6431c8a37a7482042ee8ab15" and "4966f9a134d078f7591a4926efd89c9d54b6482d" have entirely different histories.
490be0776e
...
4966f9a134
@ -5,6 +5,6 @@ date: 2025-10-18
|
|||||||
logosub: Congoer
|
logosub: Congoer
|
||||||
---
|
---
|
||||||
|
|
||||||
I have been to the [Scale Model Challenge](https://www.scalemodelchallenge.com/), this being my second time now.
|
I have been to the Scale Model Challenge, 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!
|
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!
|
||||||
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
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.
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
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.
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
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.
|
|
||||||
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
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,6 +7,5 @@ executable site
|
|||||||
main-is: site.hs
|
main-is: site.hs
|
||||||
build-depends: base == 4.*
|
build-depends: base == 4.*
|
||||||
, hakyll == 4.16.*
|
, hakyll == 4.16.*
|
||||||
, time == 1.12.2
|
|
||||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
|
|||||||
@ -1,9 +1,6 @@
|
|||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
import Control.Monad (filterM)
|
|
||||||
import Data.Maybe (fromMaybe)
|
|
||||||
import Data.Monoid (mappend)
|
import Data.Monoid (mappend)
|
||||||
import Data.Time
|
|
||||||
import Hakyll
|
import Hakyll
|
||||||
|
|
||||||
|
|
||||||
@ -66,9 +63,9 @@ main = hakyll $ do
|
|||||||
create ["plamo.html"] $ do
|
create ["plamo.html"] $ do
|
||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
kits <- recentFirst =<< loadAll "pages/en/plamo/**"
|
posts <- recentFirst =<< loadAll "pages/en/plamo/gundam/**"
|
||||||
let plamoCtx =
|
let plamoCtx =
|
||||||
listField "kits" postCtx (return kits) `mappend`
|
listField "posts" postCtx (return posts) `mappend`
|
||||||
constField "title" "Plamo" `mappend`
|
constField "title" "Plamo" `mappend`
|
||||||
constField "logosub" "Plamo enthousiast" `mappend`
|
constField "logosub" "Plamo enthousiast" `mappend`
|
||||||
defaultContext
|
defaultContext
|
||||||
@ -82,14 +79,7 @@ main = hakyll $ do
|
|||||||
route idRoute
|
route idRoute
|
||||||
compile $ do
|
compile $ do
|
||||||
posts <- recentFirst =<< loadAll "posts/*"
|
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 =
|
let indexCtx =
|
||||||
-- (<> is the modern version of `mappend`.)
|
-- (<> is the modern version of `mappend`.)
|
||||||
@ -110,13 +100,3 @@ postCtx :: Context String
|
|||||||
postCtx =
|
postCtx =
|
||||||
dateField "date" "%e %B %Y" `mappend`
|
dateField "date" "%e %B %Y" `mappend`
|
||||||
defaultContext
|
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">
|
<div class="row row-cols-1 row-cols-lg-2 row-cols-xl-3 g-4 p-1">
|
||||||
$for(kits)$
|
$for(posts)$
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card h-100 mb-3" style="max-width: 500px; min-width: 300px;">
|
<div class="card h-100 mb-3" style="max-width: 500px; min-width: 300px;">
|
||||||
<div class="row g-0">
|
<div class="row g-0">
|
||||||
@ -1,4 +1,3 @@
|
|||||||
<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>Plamo section</p>
|
||||||
<p>Here you can find my collection and notes on this hobby.</p>
|
|
||||||
|
|
||||||
$partial("templates/model-kits.html")$
|
$partial("templates/plamo-showcase.html")$
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user