diff --git a/portfolio/events/2025-10-18-smc.md b/portfolio/events/2025-10-18-smc.md new file mode 100644 index 0000000..5798c32 --- /dev/null +++ b/portfolio/events/2025-10-18-smc.md @@ -0,0 +1,10 @@ +--- +title: SMC 2025 - Scale Model Challenge +author: Kevin Matsubara +date: 2025-10-18 +logosub: Congoer +--- + +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! \ No newline at end of file diff --git a/portfolio/index.html b/portfolio/index.html index 4663970..ff43776 100644 --- a/portfolio/index.html +++ b/portfolio/index.html @@ -12,4 +12,9 @@ logosub: Personal weblog
…or you can find more in the archives.
\ No newline at end of file +…or you can find more posts in the archives.
+ +Here you can find more events I attended: events.
diff --git a/portfolio/site.hs b/portfolio/site.hs index 3b47059..a5ff0dd 100644 --- a/portfolio/site.hs +++ b/portfolio/site.hs @@ -32,6 +32,13 @@ main = hakyll $ do >>= loadAndApplyTemplate "templates/default.html" postCtx >>= relativizeUrls + match "events/*" $ do + route $ setExtension "html" + compile $ pandocCompiler + >>= loadAndApplyTemplate "templates/event.html" postCtx + >>= loadAndApplyTemplate "templates/default.html" postCtx + >>= relativizeUrls + match "pages/en/plamo/gundam/*" $ do route $ setExtension "html" compile $ pandocCompiler @@ -71,9 +78,13 @@ main = hakyll $ do match "index.html" $ do route idRoute compile $ do - posts <- recentFirst =<< loadAll "posts/*" + posts <- recentFirst =<< loadAll "posts/*" + events <- recentFirst =<< loadAll "events/*" + let indexCtx = - listField "posts" postCtx (return posts) `mappend` + -- (<> is the modern version of `mappend`.) + listField "posts" postCtx (return posts) <> + listField "events" postCtx (return events) <> defaultContext getResourceBody diff --git a/portfolio/templates/event.html b/portfolio/templates/event.html new file mode 100644 index 0000000..732149b --- /dev/null +++ b/portfolio/templates/event.html @@ -0,0 +1,11 @@ +