keep out all robots for now

This commit is contained in:
Gregor Kleen 2023-05-11 16:33:38 +02:00
parent 400bf9f2af
commit 9d6d9c5313
3 changed files with 6 additions and 4 deletions

View File

@ -29,10 +29,6 @@ stripPathPrefix (splitDirectories -> prefix) =
main :: IO ()
main = hakyllWith config $ do
match "_redirects" $ do
route idRoute
compile copyFileCompiler
frontendManifest <-
preprocess $
Yaml.decodeFileThrow @_ @(Map String [FilePath]) "frontend/dist/.manifest.yaml"
@ -66,3 +62,7 @@ main = hakyllWith config $ do
compile copyFileCompiler
match "templates/*" $ compile templateBodyCompiler
match "static/**" $ do
route $ stripPathPrefix "static"
compile copyFileCompiler

2
static/robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /