From f26447a143d1586466f4319f224d1ed2ccdd3e30 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Thu, 2 Nov 2023 00:53:02 +0000 Subject: Update about + minor details --- README.md | 2 +- images/profile.webp | Bin 15248 -> 2912 bytes index.md | 4 +++- site.hs | 3 ++- templates/default.html | 13 +++++++------ 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d9bfd3b..0cc16db 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # website - +To build website use `LANG=C.UTF-8 nix run .#default -- rebuild` diff --git a/images/profile.webp b/images/profile.webp index 3ea6909..38ed4f6 100644 Binary files a/images/profile.webp and b/images/profile.webp differ diff --git a/index.md b/index.md index 08b6c97..f2d106d 100644 --- a/index.md +++ b/index.md @@ -2,7 +2,9 @@ title: About me --- ## > whoami -Hi! I’m Paweł. I’m 28 and I have spent most of my life in Wrocław, Poland. Since 2020 living in Dublin, Ireland. +Hi! I'm Paweł(he/him). I'm 28 and I have spent most of my life in Wrocław, Poland. Since 2020 living in Dublin, Ireland. +In free time I work with Haskell, Nix and Rust. +In my work I deal with highly distributed systems that make sure our server fleet is in a good shape. * functional programming fan * operating systems enthusiast diff --git a/site.hs b/site.hs index 7d88da9..d32fd49 100644 --- a/site.hs +++ b/site.hs @@ -7,6 +7,7 @@ import Hakyll -------------------------------------------------------------------------------- main :: IO () main = hakyll $ do + match "images/*" $ do route idRoute compile copyFileCompiler @@ -40,7 +41,7 @@ main = hakyll $ do >>= loadAndApplyTemplate "templates/default.html" postCtx >>= relativizeUrls - create ["archive.html"] $ do + create ["posts.html"] $ do route idRoute compile $ do posts <- recentFirst =<< loadAll "posts/*" diff --git a/templates/default.html b/templates/default.html index 1ea6fa1..d3f2ca0 100644 --- a/templates/default.html +++ b/templates/default.html @@ -1,19 +1,20 @@ - - - + + + dyniec - $title$ - - + +