keep out all robots for now
This commit is contained in:
parent
400bf9f2af
commit
9d6d9c5313
@ -29,10 +29,6 @@ stripPathPrefix (splitDirectories -> prefix) =
|
|||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = hakyllWith config $ do
|
main = hakyllWith config $ do
|
||||||
match "_redirects" $ do
|
|
||||||
route idRoute
|
|
||||||
compile copyFileCompiler
|
|
||||||
|
|
||||||
frontendManifest <-
|
frontendManifest <-
|
||||||
preprocess $
|
preprocess $
|
||||||
Yaml.decodeFileThrow @_ @(Map String [FilePath]) "frontend/dist/.manifest.yaml"
|
Yaml.decodeFileThrow @_ @(Map String [FilePath]) "frontend/dist/.manifest.yaml"
|
||||||
@ -66,3 +62,7 @@ main = hakyllWith config $ do
|
|||||||
compile copyFileCompiler
|
compile copyFileCompiler
|
||||||
|
|
||||||
match "templates/*" $ compile templateBodyCompiler
|
match "templates/*" $ compile templateBodyCompiler
|
||||||
|
|
||||||
|
match "static/**" $ do
|
||||||
|
route $ stripPathPrefix "static"
|
||||||
|
compile copyFileCompiler
|
||||||
|
|||||||
2
static/robots.txt
Normal file
2
static/robots.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
||||||
Loading…
Reference in New Issue
Block a user