about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel@dybiec.info>2023-11-02 00:53:02 +0000
committerPaweł Dybiec <pawel@dybiec.info>2023-11-02 00:55:01 +0000
commitf26447a143d1586466f4319f224d1ed2ccdd3e30 (patch)
treeee267243082e6426aa4f5fb933c591b05d8de34e
parentCleanup (diff)
Update about + minor details
-rw-r--r--README.md2
-rw-r--r--images/profile.webpbin15248 -> 2912 bytes
-rw-r--r--index.md4
-rw-r--r--site.hs3
-rw-r--r--templates/default.html13
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
--- a/images/profile.webp
+++ b/images/profile.webp
Binary files differdiff --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 @@
 <!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>