diff options
author | Paweł Dybiec <pawel@dybiec.info> | 2023-10-02 19:33:04 +0100 |
---|---|---|
committer | Paweł Dybiec <pawel@dybiec.info> | 2023-10-02 19:33:04 +0100 |
commit | d81c8754ebf6dbcc89c2339e9dbd2705f274154a (patch) | |
tree | a2533371b06a596e048507f2024775e0e5964f86 | |
parent | Flakeify (diff) |
Add robots.txt
-rw-r--r-- | robots.txt | 5 | ||||
-rw-r--r-- | site.hs | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..ed8c524 --- /dev/null +++ b/robots.txt @@ -0,0 +1,5 @@ +User-agent: GPTBot +Disallow: / + +User-agent: * +Allow: / \ No newline at end of file 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 |