about summary refs log tree commit diff
path: root/site.hs
diff options
context:
space:
mode:
authorPaweł Dybiec <pawel@dybiec.info>2023-10-02 19:33:04 +0100
committerPaweł Dybiec <pawel@dybiec.info>2023-10-02 19:33:04 +0100
commitd81c8754ebf6dbcc89c2339e9dbd2705f274154a (patch)
treea2533371b06a596e048507f2024775e0e5964f86 /site.hs
parentFlakeify (diff)
Add robots.txt
Diffstat (limited to 'site.hs')
-rw-r--r--site.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/site.hs b/site.hs
index 7abbee7..7d88da9 100644
--- a/site.hs
+++ b/site.hs
@@ -15,6 +15,10 @@ main = hakyll $ do
         route   idRoute
         compile copyFileCompiler
 
+    match (fromList ["robots.txt"]) $ do
+        route   idRoute
+        compile copyFileCompiler
+
     match "css/*" $ compile compressCssCompiler
     create ["style.css"] $ do
         route idRoute