Add a 404 page

This commit is contained in:
Dimitri Lozeve 2024-02-28 22:27:38 +01:00
parent a7f5585709
commit 53c91abe4f
3 changed files with 26 additions and 12 deletions

8
404.html Normal file
View file

@ -0,0 +1,8 @@
---
title: Page not found
---
<p>
The page you were looking for does not exist. You might want to
<a href="/">go back home</a>.
</p>

View file

@ -16,17 +16,17 @@ title: Dimitri Lozeve
/> />
<p> <p>
Hi! I am an Engineering Manager Hi! I am an Engineering Manager at
at <a href="https://www.doctrine.fr/">Doctrine</a>, where we develop <a href="https://www.doctrine.fr/">Doctrine</a>, where we develop productivity
productivity tools to help lawyers manage their data. tools to help lawyers analyze and write their private documents.
</p> </p>
<p> <p>
I was previously a Research Engineer and Project Manager I was previously a Research Engineer and Project Manager at
at <a href="https://www.sysnav.fr/">Sysnav</a>, where I worked on <a href="https://www.sysnav.fr/">Sysnav</a>, where I worked on developing
developing algorithms to help physicians measure the progress of algorithms to help physicians measure the progress of neuromuscular diseases.
neuromuscular diseases. We used data from inertial sensors to We used data from inertial sensors to extract meaningful variables for
extract meaningful variables for pharmaceutical studies. pharmaceutical studies.
</p> </p>
<p> <p>
@ -41,10 +41,10 @@ title: Dimitri Lozeve
</p> </p>
<p> <p>
You can contact me by email (at firstname@lastname.com), You can contact me by email (at firstname@lastname.com), reach me via
reach me via <a rel="me" href="https://mathstodon.xyz/@dlzv">Mastodon</a>, <a rel="me" href="https://mathstodon.xyz/@dlzv">Mastodon</a>, find me on
find me on <a href="https://www.linkedin.com/in/dimitrilozeve">LinkedIn</a>, <a href="https://www.linkedin.com/in/dimitrilozeve">LinkedIn</a>, or see what
or see what I do on <a href="https://github.com/dlozeve/">GitHub</a>. I do on <a href="https://github.com/dlozeve/">GitHub</a>.
</p> </p>
<h2>Recent Posts</h2> <h2>Recent Posts</h2>

View file

@ -112,6 +112,12 @@ main = hakyll $ do
match "templates/*" $ compile templateBodyCompiler match "templates/*" $ compile templateBodyCompiler
match "404.html" $ do
route idRoute
compile $
customPandocCompiler False
>>= loadAndApplyTemplate "templates/default.html" defaultContext
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
feedConfiguration :: FeedConfiguration feedConfiguration :: FeedConfiguration
feedConfiguration = feedConfiguration =