diff --git a/config.toml b/config.toml index 0450f9a..b211a4b 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://tailbliss.netlify.app/ +baseURL = "https://tailbliss.netlify.app/" title = "TailBliss" languageCode = "en-us" diff --git a/netlify.toml b/netlify.toml index 53dcd25..6c7689e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,18 +1,28 @@ [build] publish = "public" +command = "hugo --gc --minify" [context.production.environment] HUGO_VERSION = "0.105.0" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" +[context.split1] +command = "hugo --gc --minify --enableGitInfo" + [context.split1.environment] HUGO_VERSION = "0.105.0" HUGO_ENV = "production" +[context.deploy-preview] +command = "hugo --gc --minify --buildFuture $DEPLOY_PRIME_URL" + [context.deploy-preview.environment] HUGO_VERSION = "0.105.0" +[context.branch-deploy] +command = "hugo --gc --minify $DEPLOY_PRIME_URL" + [context.branch-deploy.environment] HUGO_VERSION = "0.105.0" @@ -22,4 +32,4 @@ HUGO_ENABLEGITINFO = "true" [[redirects]] from = "/npmjs/*" to = "/npmjs/" -status = 200 \ No newline at end of file +status = 200 diff --git a/public/404.html b/public/404.html index 212bfcc..c4b739b 100644 --- a/public/404.html +++ b/public/404.html @@ -1,14 +1,14 @@ -404 Page not found | TailBliss