diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | images/profile.webp | bin | 15248 -> 2912 bytes | |||
-rw-r--r-- | index.md | 4 | ||||
-rw-r--r-- | site.hs | 3 | ||||
-rw-r--r-- | templates/default.html | 13 |
5 files changed, 13 insertions, 9 deletions
@@ -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 Binary files differindex 3ea6909..38ed4f6 100644 --- a/images/profile.webp +++ b/images/profile.webp @@ -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 @@ -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 @@ <!doctype html> <html lang="en"> <head> - <meta charset="utf-8"> - <meta http-equiv="x-ua-compatible" content="ie=edge"> - <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta charset="utf-8"/> + <meta http-equiv="x-ua-compatible" content="ie=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>dyniec - $title$</title> <link rel="stylesheet" href="/style.css" /> - <link rel="icon" type="image/png" href="images/icon.png"/> - <link rel="apple-touch-icon" type="image/png" href="images/icon.png"/> + <link rel="icon" type="image/png" href="/images/icon.png"/> + <link rel="apple-touch-icon" type="image/png" href="/images/icon.png"/> </head> <body> <aside> <div> <a href="/"> - <img src="/images/profile.webp" type="image/webp" alt="dyniec's website" title="dyniec's website"> + <img src="/images/profile.webp" type="image/webp" alt="dyniec's website" title="dyniec's website" + width="120" height="120"> </a> <nav> |