Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b71a9b4

Browse files
committedOct 3, 2023
Tweak some things for netlify builds
1 parent 88d9715 commit b71a9b4

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed
 

‎.gitmodules

-1
This file was deleted.

‎content/en/_index.html

+3
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@
4040
{{% /blocks/feature %}}
4141

4242
{{< /blocks/section >}}
43+
44+
{{% blocks/lead color="primary" %}}
45+
<a href="https://www.netlify.com"> <img src="https://www.netlify.com/v3/img/components/netlify-dark.svg" alt="Deploys by Netlify" /> </a>{{% /blocks/lead %}}

‎netlify.toml

+13-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
[build]
2-
[build.environment]
3-
HUGO_VERSION = "0.113.0"
4-
GO_VERSION = "1.18"
2+
publish = "public
3+
command = "hugo --gc --minify"
4+
5+
[build.environment]
6+
HUGO_VERSION = "0.113.0"
7+
HUGO_ENABLEGITINFO = "true"
8+
GO_VERSION = "1.18"
9+
10+
[context.deploy-preview]
11+
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
12+
13+
[context.branch-deploy]
14+
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

0 commit comments

Comments
 (0)
Please sign in to comment.